diff options
author | TBK <tbk@jjtc.dk> | 2017-12-01 21:54:09 +0100 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-12-14 09:09:02 +0000 |
commit | 475ecae21c2ca7340bfd158dc9774ca1d2f18f89 (patch) | |
tree | 1accffccf927e6bd1bf9b9186dd435a00013416c /main/gst-plugins-bad | |
parent | 900c44a7ad5f2c11a0cd5b02b2586f9b88bc62f1 (diff) | |
download | aports-475ecae21c2ca7340bfd158dc9774ca1d2f18f89.tar.bz2 aports-475ecae21c2ca7340bfd158dc9774ca1d2f18f89.tar.xz |
main/gst-plugins-bad: rebuild against x265 2.6; modernize
Diffstat (limited to 'main/gst-plugins-bad')
-rw-r--r-- | main/gst-plugins-bad/APKBUILD | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/main/gst-plugins-bad/APKBUILD b/main/gst-plugins-bad/APKBUILD index ff07967eb7..30100c7fbf 100644 --- a/main/gst-plugins-bad/APKBUILD +++ b/main/gst-plugins-bad/APKBUILD @@ -1,14 +1,14 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gst-plugins-bad pkgver=1.12.3 -pkgrel=2 +pkgrel=3 pkgdesc="GStreamer bad plugins" url="https://gstreamer.freedesktop.org/" arch="all" license="LGPL GPL" depends="" replaces="gst-plugins-bad1" -subpackages="$pkgname-lang $pkgname-dev $pkgname-doc" +options="!check" # most fail because: XDG_RUNTIME_DIR not set in the env. makedepends=" alsa-lib-dev bluez-dev @@ -18,6 +18,7 @@ makedepends=" faad2-dev flite-dev glib-dev + glu-dev gsm-dev gst-plugins-base-dev gstreamer-dev @@ -40,6 +41,8 @@ makedepends=" x265-dev xvidcore-dev " +checkdepends="orc-compiler" +subpackages="$pkgname-lang $pkgname-dev $pkgname-doc" source="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz" ldpath="/usr/lib/gstreamer-.0" builddir="$srcdir"/gst-plugins-bad-$pkgver @@ -56,18 +59,23 @@ build() { --enable-experimental \ --disable-fatal-warnings \ --with-package-name="GStreamer Bad Plugins (Alpine Linux)" \ - --with-package-origin="http://alpinelinux.org/" \ - || return 1 - make || return 1 + --with-package-origin="http://alpinelinux.org/" + make +} + +check() { + cd "$builddir" + make check } package() { cd "$builddir" - make DESTDIR="$pkgdir" install || return 1 + make DESTDIR="$pkgdir" install } doc() { default_doc replaces="${pkgname}1-doc" } + sha512sums="6df47381de3a2f4286d047c1e7de2c76dd4312c9806636e2012717282cde0f3e5b2d0ffa910c564c8e122b19363e842b663cce1eda7ae95a05d63d1dbbd52661 gst-plugins-bad-1.12.3.tar.xz" |