diff options
Diffstat (limited to 'homebrew/dsd')
-rw-r--r-- | homebrew/dsd/.beer | 50 | ||||
-rw-r--r-- | homebrew/dsd/.make.sh-auto | 7 | ||||
-rw-r--r-- | homebrew/dsd/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/dsd/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/dsd/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/dsd/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/dsd/download.sh | 1 | ||||
-rwxr-xr-x | homebrew/dsd/patches.sh | 1 |
8 files changed, 63 insertions, 0 deletions
diff --git a/homebrew/dsd/.beer b/homebrew/dsd/.beer new file mode 100644 index 000000000..e68f8da29 --- /dev/null +++ b/homebrew/dsd/.beer @@ -0,0 +1,50 @@ +{ + "name": "Dsd", + "description": "Decoder for several digital speech formats", + "url": "https://github.com/szechyjs/dsd/archive/v1.6.0.tar.gz", + "mirror": null, + "homepage": "https://wiki.radioreference.com/index.php/Digital_Speech_Decoder_%28software_package%29", + "depends": [ + { + "depend": "cmake", + "build-depend": true + }, + { + "depend": "itpp", + "build-depend": false + }, + { + "depend": "libsndfile", + "build-depend": false + }, + { + "depend": "portaudio", + "build-depend": false + } + ], + "resource": [ + { + "name": "mbelib-1.2.5", + "url": "https://github.com/szechyjs/mbelib/archive/v1.2.5.tar.gz" + } + ], + "conflicts": [], + "patches": [ + { + "url": "https://github.com/szechyjs/dsd/commit/e40c32d8addf3ab94dae42d8c0fcf9ef27e453c2.diff?full_index=1", + "strip": "1" + } + ], + "install": [ + "resource(\"mbelib-1.2.5\").stage do", + "inreplace \"CMakeLists.txt\",", + "\"install(TARGETS mbe-static mbe-shared DESTINATION lib)\",", + "\"install(TARGETS mbe-static DESTINATION lib)\"", + "args = std_cmake_args", + "args << \"-DCMAKE_INSTALL_PREFIX=#{buildpath}/vendor/mbelib\"", + "system \"cmake\", \".\", *args", + "system \"make\", \"install\"" + ], + "version": "1.6.0", + "file": "dsd.rb" +}
\ No newline at end of file diff --git a/homebrew/dsd/.make.sh-auto b/homebrew/dsd/.make.sh-auto new file mode 100644 index 000000000..1ba80a3d4 --- /dev/null +++ b/homebrew/dsd/.make.sh-auto @@ -0,0 +1,7 @@ +pkg:setup +resource("mbelib-1.2.5").stage do +inreplace "CMakeLists.txt", "install(TARGETS mbe-static mbe-shared DESTINATION lib)", "install(TARGETS mbe-static DESTINATION lib)" +args = std_cmake_args +args << "-DCMAKE_INSTALL_PREFIX=#{buildpath}/vendor/mbelib" +cmake . *args +make DESTDIR=${PKG_DEST} install diff --git a/homebrew/dsd/_metadata/description b/homebrew/dsd/_metadata/description new file mode 100644 index 000000000..16357d4a6 --- /dev/null +++ b/homebrew/dsd/_metadata/description @@ -0,0 +1 @@ +Decoder for several digital speech formats diff --git a/homebrew/dsd/_metadata/homepage b/homebrew/dsd/_metadata/homepage new file mode 100644 index 000000000..6bbf150e1 --- /dev/null +++ b/homebrew/dsd/_metadata/homepage @@ -0,0 +1 @@ +https://wiki.radioreference.com/index.php/Digital_Speech_Decoder_%28software_package%29 diff --git a/homebrew/dsd/_metadata/name b/homebrew/dsd/_metadata/name new file mode 100644 index 000000000..b4411f828 --- /dev/null +++ b/homebrew/dsd/_metadata/name @@ -0,0 +1 @@ +Dsd diff --git a/homebrew/dsd/_metadata/version b/homebrew/dsd/_metadata/version new file mode 100644 index 000000000..dc1e644a1 --- /dev/null +++ b/homebrew/dsd/_metadata/version @@ -0,0 +1 @@ +1.6.0 diff --git a/homebrew/dsd/download.sh b/homebrew/dsd/download.sh new file mode 100755 index 000000000..b8e293737 --- /dev/null +++ b/homebrew/dsd/download.sh @@ -0,0 +1 @@ +wget https://github.com/szechyjs/dsd/archive/v1.6.0.tar.gz
\ No newline at end of file diff --git a/homebrew/dsd/patches.sh b/homebrew/dsd/patches.sh new file mode 100755 index 000000000..431b48242 --- /dev/null +++ b/homebrew/dsd/patches.sh @@ -0,0 +1 @@ +wget https://github.com/szechyjs/dsd/commit/e40c32d8addf3ab94dae42d8c0fcf9ef27e453c2.diff?full_index=1 |