core/gst-plugins-bad/PKGBUILD
Chaoting Liu a4f72190f2 gstreamer1.0 group: update to 1.10.3
- add gpg signature checking
- edit homepage url to https://chakralinux.org
- sanity check log provided
2017-02-03 07:42:20 +00:00

54 lines
1.7 KiB
Bash

#contributions from Arch; https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gst-plugins-bad
pkgname=gst-plugins-bad
pkgver=1.10.3
pkgrel=1
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
arch=('x86_64')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('mjpegtools' 'gst-plugins-base-libs' 'curl' 'chromaprint' 'libmms' 'faad2' 'mpg123' 'faac' 'celt' 'libdca'
'soundtouch' 'spandsp' 'libdvdnav' 'libmodplug' 'libgme' 'opus' 'wayland' 'neon' 'libofa' 'fluidsynth'
'openjpeg' 'libwebp' 'libsrtp' 'gnutls' 'wildmidi' 'glu' 'sbc' 'rtmpdump' 'libgudev' 'graphene')
makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2' 'python' 'valgrind' 'wildmidi' 'librsvg'
'gobject-introspection' 'opencv' 'libtiger' 'ladspa' 'openal' 'libusb'
'bluez' 'vulkan-headers' 'vulkan-icd-loader')
options=(!emptydirs)
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz{,.asc})
sha256sums=('24099351fb6984c9e7560de06e072ff2e33d0b2db38b8fcc7afefb536e5094e7'
'SKIP')
validpgpkeys=('7F4BC7CC3CA06F97336BBFEB0668CC1486C2D7B5')
prepare() {
cd $pkgname-$pkgver
autoreconf -vi
}
build() {
cd $pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--enable-experimental \
--with-package-name="GStreamer Bad Plugins (Chakra GNU/Linux)" \
--with-package-origin="https://chakralinux.org/"
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
check() {
cd $pkgname-$pkgver
# don't have a camera for the camerabin test
make -k check || :
}
package() {
cd $pkgname-$pkgver
make DESTDIR="${pkgdir}" install
}