summaryrefslogtreecommitdiff
path: root/homebrew/gpac
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gpac')
-rw-r--r--homebrew/gpac/.beer56
-rw-r--r--homebrew/gpac/.make.sh-auto5
-rw-r--r--homebrew/gpac/_metadata/description1
-rw-r--r--homebrew/gpac/_metadata/homepage1
-rw-r--r--homebrew/gpac/_metadata/name1
-rw-r--r--homebrew/gpac/_metadata/version1
-rwxr-xr-xhomebrew/gpac/download.sh1
-rwxr-xr-xhomebrew/gpac/patches.sh4
8 files changed, 70 insertions, 0 deletions
diff --git a/homebrew/gpac/.beer b/homebrew/gpac/.beer
new file mode 100644
index 000000000..f74ac2abb
--- /dev/null
+++ b/homebrew/gpac/.beer
@@ -0,0 +1,56 @@
+{
+ "name": "Gpac",
+ "description": "Multimedia framework for research and academic purposes",
+ "url": "https://github.com/gpac/gpac/archive/v0.7.1.tar.gz",
+ "mirror": null,
+ "homepage": "https://gpac.wp.mines-telecom.fr/",
+ "depends": [
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "openssl",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "bento4",
+ "reason": "both install `mp42ts` binaries"
+ }
+ ],
+ "patches": [
+ {
+ "url": "https://github.com/gpac/gpac/commit/90dc7f853d31b0a4e9441cba97feccf36d8b69a4.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/gpac/gpac/commit/bceb03fd2be95097a7b409ea59914f332fb6bc86.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/gpac/gpac/commit/b12b86e995db235e9a7e0c4fcd0fd54eb37bcee4.patch?full_index=1",
+ "strip": "1"
+ },
+ {
+ "url": "https://github.com/gpac/gpac/commit/855aafe47677de558a7dd5f772b8094b54bfe61a.patch?full_index=1",
+ "strip": "1"
+ }
+ ],
+ "install": [
+ "args = %W[",
+ "--disable-wx",
+ "--disable-pulseaudio",
+ "--prefix=#{prefix}",
+ "--mandir=#{man}",
+ "--disable-x11",
+ "]",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "0.7.1",
+ "file": "gpac.rb"
+} \ No newline at end of file
diff --git a/homebrew/gpac/.make.sh-auto b/homebrew/gpac/.make.sh-auto
new file mode 100644
index 000000000..fc49586d9
--- /dev/null
+++ b/homebrew/gpac/.make.sh-auto
@@ -0,0 +1,5 @@
+pkg:setup
+args = %W[--disable-wx --disable-pulseaudio --prefix=#{prefix} --mandir=#{man} --disable-x11 ]
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/gpac/_metadata/description b/homebrew/gpac/_metadata/description
new file mode 100644
index 000000000..258043369
--- /dev/null
+++ b/homebrew/gpac/_metadata/description
@@ -0,0 +1 @@
+Multimedia framework for research and academic purposes
diff --git a/homebrew/gpac/_metadata/homepage b/homebrew/gpac/_metadata/homepage
new file mode 100644
index 000000000..148eda2c0
--- /dev/null
+++ b/homebrew/gpac/_metadata/homepage
@@ -0,0 +1 @@
+https://gpac.wp.mines-telecom.fr/
diff --git a/homebrew/gpac/_metadata/name b/homebrew/gpac/_metadata/name
new file mode 100644
index 000000000..9f29cca9c
--- /dev/null
+++ b/homebrew/gpac/_metadata/name
@@ -0,0 +1 @@
+Gpac
diff --git a/homebrew/gpac/_metadata/version b/homebrew/gpac/_metadata/version
new file mode 100644
index 000000000..39e898a4f
--- /dev/null
+++ b/homebrew/gpac/_metadata/version
@@ -0,0 +1 @@
+0.7.1
diff --git a/homebrew/gpac/download.sh b/homebrew/gpac/download.sh
new file mode 100755
index 000000000..527f5e74b
--- /dev/null
+++ b/homebrew/gpac/download.sh
@@ -0,0 +1 @@
+wget https://github.com/gpac/gpac/archive/v0.7.1.tar.gz \ No newline at end of file
diff --git a/homebrew/gpac/patches.sh b/homebrew/gpac/patches.sh
new file mode 100755
index 000000000..8d69059b9
--- /dev/null
+++ b/homebrew/gpac/patches.sh
@@ -0,0 +1,4 @@
+wget https://github.com/gpac/gpac/commit/90dc7f853d31b0a4e9441cba97feccf36d8b69a4.patch?full_index=1
+wget https://github.com/gpac/gpac/commit/bceb03fd2be95097a7b409ea59914f332fb6bc86.patch?full_index=1
+wget https://github.com/gpac/gpac/commit/b12b86e995db235e9a7e0c4fcd0fd54eb37bcee4.patch?full_index=1
+wget https://github.com/gpac/gpac/commit/855aafe47677de558a7dd5f772b8094b54bfe61a.patch?full_index=1