aboutsummaryrefslogtreecommitdiffstats
path: root/community/gst-plugins-good
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-05-16 16:08:29 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-05-16 16:26:48 +0000
commit3115cc7982e319dc2e97f0b0fc1ec1607b90d998 (patch)
treec8bc27091f5c1d525da3a5f22d9f990a7975c8a3 /community/gst-plugins-good
parent7151ceb8929179657c74ab10712965d39f417c44 (diff)
downloadaports-3115cc7982e319dc2e97f0b0fc1ec1607b90d998.tar.bz2
aports-3115cc7982e319dc2e97f0b0fc1ec1607b90d998.tar.xz
move main/gst-plugins-{good,bad,ugly}* to community
gst-plugins needs qt
Diffstat (limited to 'community/gst-plugins-good')
-rw-r--r--community/gst-plugins-good/APKBUILD118
1 files changed, 118 insertions, 0 deletions
diff --git a/community/gst-plugins-good/APKBUILD b/community/gst-plugins-good/APKBUILD
new file mode 100644
index 0000000000..e7423e34f1
--- /dev/null
+++ b/community/gst-plugins-good/APKBUILD
@@ -0,0 +1,118 @@
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=gst-plugins-good
+pkgver=1.14.0
+pkgrel=0
+pkgdesc="GStreamer Multimedia Framework Good Plugins"
+url="https://gstreamer.freedesktop.org/"
+arch="all"
+license="GPL-2.0-or-later LGPL-2.0-or-later"
+subpackages="$pkgname-lang $pkgname-doc $pkgname-qt $pkgname-gtk"
+replaces="gst-plugins-good1"
+makedepends="
+ gstreamer-dev
+ gst-plugins-base-dev
+ flac-dev
+ gdk-pixbuf-dev
+ glib-dev
+ jack-dev
+ libavc1394-dev
+ libdv-dev
+ libgudev-dev
+ libice-dev
+ libiec61883-dev
+ libjpeg-turbo-dev
+ libogg-dev
+ libpng-dev
+ libshout-dev
+ libsm-dev
+ libsoup-dev
+ libvpx-dev
+ libxdamage-dev
+ libxext-dev
+ libxv-dev
+ linux-headers
+ orc-dev
+ taglib-dev
+ v4l-utils-dev
+ wavpack-dev
+ zlib-dev
+ mpg123-dev
+ lame-dev
+ gtk+3.0-dev
+ qt5-qtdeclarative-dev
+ qt5-x11extras-dev
+ libcaca-dev
+ cairo-dev
+ orc-compiler
+ "
+ldpath="/usr/lib/gstreamer-1.0"
+source="https://gstreamer.freedesktop.org/src/gst-plugins-good/gst-plugins-good-$pkgver.tar.xz"
+options="!check" # elements/souphttpsrc fails
+
+# secfixes:
+# 1.10.4-r0:
+# - CVE-2017-5840
+# - CVE-2017-5841
+# - CVE-2017-5845
+# - CVE-2016-9634
+# - CVE-2016-9635
+# - CVE-2016-9636
+# - CVE-2016-9808
+# - CVE-2016-10198
+# - CVE-2016-10199
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --enable-experimental \
+ --disable-fatal-warnings \
+ --with-package-name="GStreamer Good Plugins (Alpine Linux)" \
+ --with-package-origin="http://alpinelinux.org/"
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
+ make DESTDIR="$pkgdir" install
+}
+
+_mv() {
+ mkdir -p "$subpkgdir"/"$ldpath"
+ mv "$1" "$subpkgdir"/"$ldpath"
+}
+
+qt() {
+ pkgdesc="Gstreamer Qt plugin."
+ for i in $(find "$pkgdir" -type f ); do
+ if ldd $i 2>/dev/null | grep -q "libQt"; then
+ _mv "$i" || return 1
+ fi
+ done
+}
+
+gtk() {
+ pkgdesc="Gstreamer gtk-3 plugin."
+ for i in $(find "$pkgdir" -type f ); do
+ if ldd $i 2>/dev/null | grep -q "libgtk-3"; then
+ _mv "$i" || return 1
+ fi
+ done
+}
+
+doc() {
+ default_doc
+ replaces="${pkgname}1-doc"
+}
+sha512sums="f8d64978234bcc32fadb203c96b4013943d2cde345eaddcfd28e115e758f6c6ae15ae5ca1f94c4e59e447a7fe0171f10ed2a2c9ca4b6bb6eca2cbf69f8477811 gst-plugins-good-1.14.0.tar.xz"