summaryrefslogtreecommitdiff
path: root/homebrew/gstreamer
diff options
context:
space:
mode:
Diffstat (limited to 'homebrew/gstreamer')
-rw-r--r--homebrew/gstreamer/.beer65
-rw-r--r--homebrew/gstreamer/.make.sh-auto10
-rw-r--r--homebrew/gstreamer/_metadata/description1
-rw-r--r--homebrew/gstreamer/_metadata/homepage1
-rw-r--r--homebrew/gstreamer/_metadata/name1
-rw-r--r--homebrew/gstreamer/_metadata/version1
-rwxr-xr-xhomebrew/gstreamer/download.sh1
7 files changed, 80 insertions, 0 deletions
diff --git a/homebrew/gstreamer/.beer b/homebrew/gstreamer/.beer
new file mode 100644
index 000000000..11e661811
--- /dev/null
+++ b/homebrew/gstreamer/.beer
@@ -0,0 +1,65 @@
+{
+ "name": "Gstreamer",
+ "description": "Development framework for multimedia applications",
+ "url": "https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.0.tar.xz",
+ "mirror": null,
+ "homepage": "https://gstreamer.freedesktop.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "bison",
+ "build-depend": true
+ },
+ {
+ "depend": "gobject-introspection",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "glib",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-gtk-doc",
+ "--enable-introspection=yes",
+ "]",
+ "if build.head?",
+ "ENV[\"NOCONFIGURE\"] = \"yes\"",
+ "system \"./autogen.sh\"",
+ "args << \"--with-ptp-helper-permissions=none\"",
+ "end",
+ "inreplace \"configure\", 'PLUGINDIR=\"$full_var\"',",
+ "\"PLUGINDIR=\\\"#{HOMEBREW_PREFIX}/lib/gstreamer-1.0\\\"\"",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.16.0",
+ "file": "gstreamer.rb"
+} \ No newline at end of file
diff --git a/homebrew/gstreamer/.make.sh-auto b/homebrew/gstreamer/.make.sh-auto
new file mode 100644
index 000000000..854639441
--- /dev/null
+++ b/homebrew/gstreamer/.make.sh-auto
@@ -0,0 +1,10 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --disable-debug --disable-dependency-tracking --disable-gtk-doc --enable-introspection=yes ]
+ENV["NOCONFIGURE"] = "yes"
+./autogen.sh
+args << "--with-ptp-helper-permissions=none"
+end
+inreplace "configure", 'PLUGINDIR="$full_var"', "PLUGINDIR=\"#{HOMEBREW_PREFIX}/lib/gstreamer-1.0\""
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/gstreamer/_metadata/description b/homebrew/gstreamer/_metadata/description
new file mode 100644
index 000000000..8736f51ee
--- /dev/null
+++ b/homebrew/gstreamer/_metadata/description
@@ -0,0 +1 @@
+Development framework for multimedia applications
diff --git a/homebrew/gstreamer/_metadata/homepage b/homebrew/gstreamer/_metadata/homepage
new file mode 100644
index 000000000..4d2269817
--- /dev/null
+++ b/homebrew/gstreamer/_metadata/homepage
@@ -0,0 +1 @@
+https://gstreamer.freedesktop.org/
diff --git a/homebrew/gstreamer/_metadata/name b/homebrew/gstreamer/_metadata/name
new file mode 100644
index 000000000..701c02c92
--- /dev/null
+++ b/homebrew/gstreamer/_metadata/name
@@ -0,0 +1 @@
+Gstreamer
diff --git a/homebrew/gstreamer/_metadata/version b/homebrew/gstreamer/_metadata/version
new file mode 100644
index 000000000..15b989e39
--- /dev/null
+++ b/homebrew/gstreamer/_metadata/version
@@ -0,0 +1 @@
+1.16.0
diff --git a/homebrew/gstreamer/download.sh b/homebrew/gstreamer/download.sh
new file mode 100755
index 000000000..b3ab33ea1
--- /dev/null
+++ b/homebrew/gstreamer/download.sh
@@ -0,0 +1 @@
+wget https://gstreamer.freedesktop.org/src/gstreamer/gstreamer-1.16.0.tar.xz \ No newline at end of file