aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDavid Holm2014-12-03 21:55:08 +0100
committerJack Nagel2014-12-07 01:08:51 -0500
commitbd95d0282b5a1b41b438a89033a049cb5d6ffe5a (patch)
tree3298d2b9d6e11e1b128f0175ff1ca614309c18c4 /Library
parent654822675f91595926dc94d36b9cb84318f8dab1 (diff)
downloadhomebrew-bd95d0282b5a1b41b438a89033a049cb5d6ffe5a.tar.bz2
New formula: dsd 1.6
Closes #34652. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/dsd.rb31
1 files changed, 31 insertions, 0 deletions
diff --git a/Library/Formula/dsd.rb b/Library/Formula/dsd.rb
new file mode 100644
index 000000000..e0279637a
--- /dev/null
+++ b/Library/Formula/dsd.rb
@@ -0,0 +1,31 @@
+require "formula"
+
+class Dsd < Formula
+ homepage "http://wiki.radioreference.com/index.php/Digital_Speech_Decoder_%28software_package%29"
+ head "https://github.com/szechyjs/dsd.git"
+ url "https://github.com/szechyjs/dsd/archive/v1.6.0.tar.gz"
+ sha1 "0161a0b1090ae30b5413e24b29b54d2392a3b0ff"
+
+ patch do
+ # Fixes build on MacOS X.
+ url "https://github.com/szechyjs/dsd/commit/e40c32d8addf3ab94dae42d8c0fcf9ef27e453c2.diff"
+ sha1 "3c122d4e841cfbcb0653a810ce62dc038a5a54bf"
+ end
+
+ depends_on "cmake" => :build
+ depends_on "libsndfile"
+ depends_on "mbelib"
+ depends_on "itpp"
+ depends_on "portaudio"
+
+ def install
+ mkdir "build" do
+ system "cmake", "..", *std_cmake_args
+ system "make", "install"
+ end
+ end
+
+ test do
+ system "dsd", "-h"
+ end
+end