PKGBUILDs/extra/gst-plugins-bad/PKGBUILD

57 lines
1.8 KiB
Bash
Raw Normal View History

2014-09-19 18:55:32 +00:00
# $Id$
# Maintainer: Jan de Groot <jgc@archlinux.org>
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
# - drop valgrind makedepend
2015-12-15 05:01:25 +00:00
# - disable GL and GLX on v5/6/7
2014-09-19 18:55:32 +00:00
pkgname=gst-plugins-bad
2016-01-21 17:45:01 +00:00
pkgver=1.6.3
pkgrel=1
2014-09-19 18:55:32 +00:00
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
arch=('i686' 'x86_64')
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
2015-12-15 01:40:51 +00:00
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')
2014-09-19 18:55:32 +00:00
makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2' 'python' 'wildmidi' 'librsvg'
2015-12-15 01:40:51 +00:00
'gobject-introspection' 'gtk-doc' 'gtk3' 'clutter' 'opencv' 'libtiger' 'ladspa' 'openal' 'libusb'
'qt5-declarative' 'qt5-x11extras' 'qt5-wayland')
2014-09-19 18:55:32 +00:00
options=(!emptydirs)
2015-10-09 00:04:10 +00:00
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
2016-01-21 17:45:01 +00:00
sha256sums=('971b29101d6a9c5e3fe94d99d977a227f58f0b2d29b6ca2c7f292052542b3a61')
2015-06-23 02:02:11 +00:00
prepare() {
cd $pkgname-$pkgver
autoreconf -vi
}
2014-09-19 18:55:32 +00:00
build() {
cd $pkgname-$pkgver
2015-12-15 05:01:25 +00:00
[[ $CARCH != "aarch64" ]] && CONFIG="--disable-gl --disable-glx --enable-gles2"
2014-09-19 18:55:32 +00:00
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--disable-static --enable-experimental --enable-gtk-doc \
--with-package-name="GStreamer Bad Plugins (Arch Linux)" \
--with-package-origin="http://www.archlinux.org/" \
2015-12-15 05:01:25 +00:00
--with-gtk=3.0 $CONFIG
2014-09-19 18:55:32 +00:00
# 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
}