summaryrefslogtreecommitdiff
path: root/homebrew/gstvalidate
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/gstvalidate
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/gstvalidate')
-rw-r--r--homebrew/gstvalidate/.beer70
-rw-r--r--homebrew/gstvalidate/.make.sh-auto13
-rw-r--r--homebrew/gstvalidate/_metadata/description1
-rw-r--r--homebrew/gstvalidate/_metadata/homepage1
-rw-r--r--homebrew/gstvalidate/_metadata/name1
-rw-r--r--homebrew/gstvalidate/_metadata/version1
-rwxr-xr-xhomebrew/gstvalidate/download.sh1
7 files changed, 88 insertions, 0 deletions
diff --git a/homebrew/gstvalidate/.beer b/homebrew/gstvalidate/.beer
new file mode 100644
index 000000000..e7abe4259
--- /dev/null
+++ b/homebrew/gstvalidate/.beer
@@ -0,0 +1,70 @@
+{
+ "name": "GstValidate",
+ "description": "Tools to validate GstElements from GStreamer",
+ "url": "https://gstreamer.freedesktop.org/src/gst-validate/gst-validate-1.14.4.tar.xz",
+ "mirror": null,
+ "homepage": "https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-validate/html/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "gobject-introspection",
+ "build-depend": true
+ },
+ {
+ "depend": "pkg-config",
+ "build-depend": true
+ },
+ {
+ "depend": "gettext",
+ "build-depend": false
+ },
+ {
+ "depend": "gst-plugins-base",
+ "build-depend": false
+ },
+ {
+ "depend": "gstreamer",
+ "build-depend": false
+ },
+ {
+ "depend": "json-glib",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [],
+ "install": [
+ "args = %W[",
+ "--prefix=#{prefix}",
+ "--disable-debug",
+ "--disable-dependency-tracking",
+ "--disable-silent-rules",
+ "]",
+ "if build.head?",
+ "ENV[\"NOCONFIGURE\"] = \"yes\"",
+ "cd \"validate\" do",
+ "system \"./autogen.sh\"",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\"",
+ "end",
+ "else",
+ "system \"./configure\", *args",
+ "system \"make\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "1.14.4",
+ "file": "gst-validate.rb"
+} \ No newline at end of file
diff --git a/homebrew/gstvalidate/.make.sh-auto b/homebrew/gstvalidate/.make.sh-auto
new file mode 100644
index 000000000..3de4d9e99
--- /dev/null
+++ b/homebrew/gstvalidate/.make.sh-auto
@@ -0,0 +1,13 @@
+pkg:setup
+args = %W[--prefix=#{prefix} --disable-debug --disable-dependency-tracking --disable-silent-rules ]
+ENV["NOCONFIGURE"] = "yes"
+cd "validate"
+./autogen.sh
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
+end
+else
+pkg:configure *args
+make
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/gstvalidate/_metadata/description b/homebrew/gstvalidate/_metadata/description
new file mode 100644
index 000000000..53db7e51f
--- /dev/null
+++ b/homebrew/gstvalidate/_metadata/description
@@ -0,0 +1 @@
+Tools to validate GstElements from GStreamer
diff --git a/homebrew/gstvalidate/_metadata/homepage b/homebrew/gstvalidate/_metadata/homepage
new file mode 100644
index 000000000..96c1f26e2
--- /dev/null
+++ b/homebrew/gstvalidate/_metadata/homepage
@@ -0,0 +1 @@
+https://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-validate/html/
diff --git a/homebrew/gstvalidate/_metadata/name b/homebrew/gstvalidate/_metadata/name
new file mode 100644
index 000000000..0872eb347
--- /dev/null
+++ b/homebrew/gstvalidate/_metadata/name
@@ -0,0 +1 @@
+GstValidate
diff --git a/homebrew/gstvalidate/_metadata/version b/homebrew/gstvalidate/_metadata/version
new file mode 100644
index 000000000..4e00d0ac0
--- /dev/null
+++ b/homebrew/gstvalidate/_metadata/version
@@ -0,0 +1 @@
+1.14.4
diff --git a/homebrew/gstvalidate/download.sh b/homebrew/gstvalidate/download.sh
new file mode 100755
index 000000000..bf994aa38
--- /dev/null
+++ b/homebrew/gstvalidate/download.sh
@@ -0,0 +1 @@
+wget https://gstreamer.freedesktop.org/src/gst-validate/gst-validate-1.14.4.tar.xz \ No newline at end of file