summaryrefslogtreecommitdiff
path: root/homebrew/madplay
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/madplay
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/madplay')
-rw-r--r--homebrew/madplay/.beer38
-rw-r--r--homebrew/madplay/.make.sh-auto4
-rw-r--r--homebrew/madplay/_metadata/description1
-rw-r--r--homebrew/madplay/_metadata/homepage1
-rw-r--r--homebrew/madplay/_metadata/name1
-rw-r--r--homebrew/madplay/_metadata/version1
-rwxr-xr-xhomebrew/madplay/download.sh1
-rwxr-xr-xhomebrew/madplay/patches.sh1
8 files changed, 48 insertions, 0 deletions
diff --git a/homebrew/madplay/.beer b/homebrew/madplay/.beer
new file mode 100644
index 000000000..b1b9bbda7
--- /dev/null
+++ b/homebrew/madplay/.beer
@@ -0,0 +1,38 @@
+{
+ "name": "Madplay",
+ "description": "MPEG Audio Decoder",
+ "url": "https://downloads.sourceforge.net/project/mad/madplay/0.15.2b/madplay-0.15.2b.tar.gz",
+ "mirror": null,
+ "homepage": "https://www.underbit.com/products/mad/",
+ "depends": [
+ {
+ "depend": "libid3tag",
+ "build-depend": false
+ },
+ {
+ "depend": "mad",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://raw.githubusercontent.com/Homebrew/formula-patches/f6c5992c/madplay/patch-audio_carbon.c",
+ "strip": "0"
+ }
+ ],
+ "install": [
+ "args = %W[",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--build=x86_64",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.15.2",
+ "file": "madplay.rb"
+} \ No newline at end of file
diff --git a/homebrew/madplay/.make.sh-auto b/homebrew/madplay/.make.sh-auto
new file mode 100644
index 000000000..b8819a962
--- /dev/null
+++ b/homebrew/madplay/.make.sh-auto
@@ -0,0 +1,4 @@
+pkg:setup
+args = %W[--disable-debug --disable-dependency-tracking --prefix=#{prefix} --mandir=#{man} --build=x86_64 ]
+pkg:configure *args
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/madplay/_metadata/description b/homebrew/madplay/_metadata/description
new file mode 100644
index 000000000..e7a9000fb
--- /dev/null
+++ b/homebrew/madplay/_metadata/description
@@ -0,0 +1 @@
+MPEG Audio Decoder
diff --git a/homebrew/madplay/_metadata/homepage b/homebrew/madplay/_metadata/homepage
new file mode 100644
index 000000000..170546a04
--- /dev/null
+++ b/homebrew/madplay/_metadata/homepage
@@ -0,0 +1 @@
+https://www.underbit.com/products/mad/
diff --git a/homebrew/madplay/_metadata/name b/homebrew/madplay/_metadata/name
new file mode 100644
index 000000000..299812097
--- /dev/null
+++ b/homebrew/madplay/_metadata/name
@@ -0,0 +1 @@
+Madplay
diff --git a/homebrew/madplay/_metadata/version b/homebrew/madplay/_metadata/version
new file mode 100644
index 000000000..4312e0d0c
--- /dev/null
+++ b/homebrew/madplay/_metadata/version
@@ -0,0 +1 @@
+0.15.2
diff --git a/homebrew/madplay/download.sh b/homebrew/madplay/download.sh
new file mode 100755
index 000000000..7e619de56
--- /dev/null
+++ b/homebrew/madplay/download.sh
@@ -0,0 +1 @@
+wget https://downloads.sourceforge.net/project/mad/madplay/0.15.2b/madplay-0.15.2b.tar.gz \ No newline at end of file
diff --git a/homebrew/madplay/patches.sh b/homebrew/madplay/patches.sh
new file mode 100755
index 000000000..0368b54e9
--- /dev/null
+++ b/homebrew/madplay/patches.sh
@@ -0,0 +1 @@
+wget https://raw.githubusercontent.com/Homebrew/formula-patches/f6c5992c/madplay/patch-audio_carbon.c