2015-06-10 20:25:28 +08:00
|
|
|
#contributions from Arch; https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/gst-plugins-bad
|
2012-12-07 11:58:12 +08:00
|
|
|
|
|
|
|
pkgname=gst-plugins-bad
|
2015-06-10 20:25:28 +08:00
|
|
|
pkgver=1.4.5
|
2015-09-12 22:58:26 +08:00
|
|
|
pkgrel=3
|
2012-12-07 11:58:12 +08:00
|
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugins"
|
|
|
|
arch=('x86_64')
|
|
|
|
license=('LGPL')
|
|
|
|
url="http://gstreamer.freedesktop.org/"
|
|
|
|
depends=('mjpegtools' 'gst-plugins-base' 'curl' 'chromaprint' 'libmms' 'faad2'
|
|
|
|
'mpg123' 'faac' 'celt' 'libdca' 'soundtouch' 'spandsp' 'libdvdnav'
|
2015-07-10 04:46:34 +08:00
|
|
|
'libmodplug' 'libgme' 'opus' 'wayland' 'neon' 'libofa' 'fluidsynth'
|
|
|
|
'openjpeg' 'libwebp' 'libsrtp' 'gnutls' 'wildmidi' 'glu' 'sbc'
|
|
|
|
'rtmpdump' 'libgudev')
|
|
|
|
makedepends=('schroedinger' 'libexif' 'libdvdread' 'libvdpau' 'libmpeg2' 'librsvg' 'openexr'
|
2013-11-13 22:17:30 +08:00
|
|
|
'x264' 'bluez' 'opencore-amr' 'libshairport' 'libcdaudio' 'libdc1394' 'libwebp' 'lv2' 'librsvg' 'timidity++'
|
2015-02-14 22:52:19 +08:00
|
|
|
'rtmpdump' 'xvidcore' 'gobject-introspection' 'python2' 'python3')
|
2014-07-23 02:35:48 +08:00
|
|
|
options=('!emptydirs')
|
2012-12-07 11:58:12 +08:00
|
|
|
source=(${url}/src/$pkgname/$pkgname-$pkgver.tar.xz)
|
2015-06-10 20:25:28 +08:00
|
|
|
md5sums=('e0bb39412cf4a48fe0397bcf3a7cd451')
|
2012-12-07 11:58:12 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
autoreconf
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--localstatedir=/var \
|
|
|
|
--disable-static \
|
|
|
|
--enable-experimental \
|
2015-07-10 04:46:34 +08:00
|
|
|
--with-package-name="GStreamer Bad Plugins (Chakra GNU/Linux)" \
|
2014-07-23 02:35:48 +08:00
|
|
|
--with-package-origin="http://www.chakraos.org/"
|
2015-06-10 20:25:28 +08:00
|
|
|
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
|
|
|
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
2012-12-07 11:58:12 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
check() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
2013-11-13 22:17:30 +08:00
|
|
|
make -k check || :
|
2012-12-07 11:58:12 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
|
|
|
|
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|