aboutsummaryrefslogtreecommitdiffstats
path: root/main/gst-plugins-ugly
diff options
context:
space:
mode:
Diffstat (limited to 'main/gst-plugins-ugly')
-rw-r--r--main/gst-plugins-ugly/APKBUILD67
1 files changed, 67 insertions, 0 deletions
diff --git a/main/gst-plugins-ugly/APKBUILD b/main/gst-plugins-ugly/APKBUILD
new file mode 100644
index 0000000000..c8a3745336
--- /dev/null
+++ b/main/gst-plugins-ugly/APKBUILD
@@ -0,0 +1,67 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-ugly
+pkgver=1.12.0
+pkgrel=1
+pkgdesc="GStreamer Multimedia Framework Ugly Plugins (gst-plugins-ugly)"
+url="http://gstreamer.freedesktop.org/"
+arch="all"
+license="LGPL"
+depends=
+makedepends="
+ a52dec-dev
+ glib-dev
+ gst-plugins-base-dev
+ gstreamer-dev
+ lame-dev
+ libcdio-dev
+ libdvdread-dev
+ libid3tag-dev
+ libmpeg2-dev
+ liboil-dev
+ mpg123-dev
+ orc-dev
+ x264-dev
+ "
+source="http://gstreamer.freedesktop.org/src/gst-plugins-ugly/gst-plugins-ugly-$pkgver.tar.xz"
+subpackages="$pkgname-lang"
+ldpath="/usr/lib/gstreamer-.0"
+builddir="$srcdir"/gst-plugins-ugly-$pkgver
+
+# secfixes:
+# 1.10.4-r0:
+# - CVE-2017-5846
+# - CVE-2017-5847
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-experimental \
+ --enable-a52dec \
+ --enable-cdio \
+ --enable-dvdread \
+ --enable-lame \
+ --enable-mpeg2dec \
+ --enable-mpg123 \
+ --disable-fatal-warnings \
+ --with-package-name="GStreamer Ugly Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/" \
+ || return 1
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install || return 1
+}
+sha512sums="761f66fd7b21ff6dd45b4221257af4d38c4ccebbd18376bdd105946523b7f3cb9d5c1c4701a42e06aa4b9cdf098bbf9a7241d5e9ce0cd9a8f1d027d566040bef gst-plugins-ugly-1.12.0.tar.xz"