summaryrefslogtreecommitdiff
path: root/homebrew/jack
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/jack
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/jack')
-rw-r--r--homebrew/jack/.beer41
-rw-r--r--homebrew/jack/.make.sh-auto7
-rw-r--r--homebrew/jack/_metadata/description1
-rw-r--r--homebrew/jack/_metadata/homepage1
-rw-r--r--homebrew/jack/_metadata/name1
-rw-r--r--homebrew/jack/_metadata/version1
-rwxr-xr-xhomebrew/jack/download.sh1
7 files changed, 53 insertions, 0 deletions
diff --git a/homebrew/jack/.beer b/homebrew/jack/.beer
new file mode 100644
index 000000000..10574d83b
--- /dev/null
+++ b/homebrew/jack/.beer
@@ -0,0 +1,41 @@
+{
+ "name": "Jack",
+ "description": "Audio Connection Kit",
+ "url": "http://jackaudio.org/downloads/jack-audio-connection-kit-0.125.0.tar.gz",
+ "mirror": null,
+ "homepage": "http://jackaudio.org",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "berkeley-db",
+ "build-depend": false
+ },
+ {
+ "depend": "libsamplerate",
+ "build-depend": false
+ },
+ {
+ "depend": "libsndfile",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "sdk = MacOS.sdk_path_if_needed ? MacOS.sdk_path : \"\"",
+ "inreplace Dir[\"drivers/coreaudio/Makefile.{am,in}\"],",
+ "\"/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h\",",
+ "\"#{sdk}/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h\"",
+ "inreplace \"configure\", \"-mmacosx-version-min=10.4\",",
+ "\"-mmacosx-version-min=#{MacOS.version}\"",
+ "ENV[\"LINKFLAGS\"] = ENV.ldflags",
+ "system \"./configure\", \"--prefix=#{prefix}\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.125.0",
+ "file": "jack.rb"
+} \ No newline at end of file
diff --git a/homebrew/jack/.make.sh-auto b/homebrew/jack/.make.sh-auto
new file mode 100644
index 000000000..f9fdf3ebb
--- /dev/null
+++ b/homebrew/jack/.make.sh-auto
@@ -0,0 +1,7 @@
+pkg:setup
+sdk = MacOS.sdk_path_if_needed ? MacOS.sdk_path : ""
+inreplace Dir["drivers/coreaudio/Makefile.{am,in}"], "/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h", "#{sdk}/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h"
+inreplace "configure", "-mmacosx-version-min=10.4", "-mmacosx-version-min=#{MacOS.version}"
+ENV["LINKFLAGS"] = ENV.ldflags
+pkg:configure
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/jack/_metadata/description b/homebrew/jack/_metadata/description
new file mode 100644
index 000000000..1eedf35d6
--- /dev/null
+++ b/homebrew/jack/_metadata/description
@@ -0,0 +1 @@
+Audio Connection Kit
diff --git a/homebrew/jack/_metadata/homepage b/homebrew/jack/_metadata/homepage
new file mode 100644
index 000000000..94268bfd7
--- /dev/null
+++ b/homebrew/jack/_metadata/homepage
@@ -0,0 +1 @@
+http://jackaudio.org
diff --git a/homebrew/jack/_metadata/name b/homebrew/jack/_metadata/name
new file mode 100644
index 000000000..e4993b6c7
--- /dev/null
+++ b/homebrew/jack/_metadata/name
@@ -0,0 +1 @@
+Jack
diff --git a/homebrew/jack/_metadata/version b/homebrew/jack/_metadata/version
new file mode 100644
index 000000000..b1fa68e5d
--- /dev/null
+++ b/homebrew/jack/_metadata/version
@@ -0,0 +1 @@
+0.125.0
diff --git a/homebrew/jack/download.sh b/homebrew/jack/download.sh
new file mode 100755
index 000000000..8b572de7c
--- /dev/null
+++ b/homebrew/jack/download.sh
@@ -0,0 +1 @@
+wget http://jackaudio.org/downloads/jack-audio-connection-kit-0.125.0.tar.gz \ No newline at end of file