summaryrefslogtreecommitdiff
path: root/homebrew/dsd
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/dsd
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/dsd')
-rw-r--r--homebrew/dsd/.beer50
-rw-r--r--homebrew/dsd/.make.sh-auto7
-rw-r--r--homebrew/dsd/_metadata/description1
-rw-r--r--homebrew/dsd/_metadata/homepage1
-rw-r--r--homebrew/dsd/_metadata/name1
-rw-r--r--homebrew/dsd/_metadata/version1
-rwxr-xr-xhomebrew/dsd/download.sh1
-rwxr-xr-xhomebrew/dsd/patches.sh1
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