# Maintainer: Natanael Copa pkgname=gst-plugins-bad pkgver=1.14.2 pkgrel=1 pkgdesc="GStreamer bad plugins" url="https://gstreamer.freedesktop.org" arch="all" license="GPL-2.0-or-later LGPL-2.0-or-later" replaces="gst-plugins-bad1" options="!check" # most fail because: XDG_RUNTIME_DIR not set in the env. makedepends=" alsa-lib-dev bluez-dev bzip2-dev curl-dev faac-dev faad2-dev flite-dev glib-dev glu-dev gsm-dev gst-plugins-base-dev gstreamer-dev libdc1394-dev libexif-dev libmms-dev libmodplug-dev libressl-dev>=2.7.0 librsvg-dev libvdpau-dev libx11-dev mesa-dev neon-dev orc-dev directfb-dev spandsp-dev libwebp-dev x265-dev libass-dev libsrtp-dev orc-compiler opus-dev " subpackages="$pkgname-lang $pkgname-dev $pkgname-doc" source="https://gstreamer.freedesktop.org/src/gst-plugins-bad/gst-plugins-bad-$pkgver.tar.xz libressl270-dtsl_method.patch" ldpath="/usr/lib/gstreamer-1.0" 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 Bad Plugins (Alpine Linux)" \ --with-package-origin="http://alpinelinux.org/" make } check() { cd "$builddir" make check } package() { cd "$builddir" make DESTDIR="$pkgdir" install } doc() { default_doc replaces="${pkgname}1-doc" } sha512sums="7282c8941f1eabf7141362bb8e61097b3b26ef39410ae767712c34d7e40779fc22f6ea97a950009fdb6d62175f9a153d435ead8f663cf66cc6af5aac7f2a73db gst-plugins-bad-1.14.2.tar.xz 82106a8fa7ac01c63c3298c33a3b6177a4115f380d475634ea8ba4c67654f96275ab4b35eb4ea712a997165fefa7e9b65fd6b14ed3cea478c200d7e8d61423c4 libressl270-dtsl_method.patch"