2013-05-28 01:01:18 +00:00
|
|
|
# $Id: PKGBUILD 184389 2013-05-06 19:37:43Z foutrelis $
|
|
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - disable soundtouch extension on v5, currently broken
|
|
|
|
|
|
|
|
pkgbase=gstreamer0.10-bad
|
|
|
|
pkgname=('gstreamer0.10-bad' 'gstreamer0.10-bad-plugins')
|
|
|
|
pkgver=0.10.23
|
2014-03-13 00:56:44 +00:00
|
|
|
pkgrel=8
|
2013-05-28 01:01:18 +00:00
|
|
|
arch=('i686' 'x86_64')
|
|
|
|
license=('LGPL' 'GPL')
|
2013-12-12 21:22:46 +00:00
|
|
|
makedepends=('pkgconfig' 'gstreamer0.10-base>=0.10.36' 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'faac' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'soundtouch' 'libvdpau' 'schroedinger' 'libass' 'libvpx' 'gsm' 'libgme' 'rtmpdump' 'libsndfile' 'librsvg' 'wildmidi' 'opus' 'git' 'spandsp' 'celt')
|
2013-05-28 01:01:18 +00:00
|
|
|
url="http://gstreamer.freedesktop.org/"
|
|
|
|
options=(!libtool !emptydirs)
|
2013-12-12 21:22:46 +00:00
|
|
|
source=("git://anongit.freedesktop.org/gstreamer-sdk/gst-plugins-bad#commit=57569a4854a0f2d14ef19a8264a4ae9a7a1d1125"
|
|
|
|
disable-assrender-test.patch
|
|
|
|
disable-camerabin-test.patch)
|
|
|
|
sha256sums=('SKIP'
|
|
|
|
'e66642affa6c0e69837d37615010e67e59ef3d672663303d46c1e2591e2ddfc6'
|
|
|
|
'01e780ddf1f8161a6115dded9dc5bf4bdd4d09a9eee00fa423b1330e90e76c68')
|
2013-05-28 01:01:18 +00:00
|
|
|
|
2013-12-12 21:22:46 +00:00
|
|
|
prepare() {
|
|
|
|
cd gst-plugins-bad
|
|
|
|
sed -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' -i configure.ac
|
|
|
|
patch -Np1 -i ../disable-assrender-test.patch
|
|
|
|
patch -Np1 -i ../disable-camerabin-test.patch
|
|
|
|
}
|
2013-05-28 01:01:18 +00:00
|
|
|
|
2013-12-12 21:22:46 +00:00
|
|
|
build() {
|
|
|
|
cd gst-plugins-bad
|
|
|
|
NOCONFIGURE=1 ./autogen.sh
|
2013-05-28 01:01:18 +00:00
|
|
|
[[ $CARCH == 'arm' ]] && CONFIG="--disable-soundtouch"
|
|
|
|
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
2013-12-12 21:22:46 +00:00
|
|
|
--disable-static --enable-experimental --disable-gtk-doc \
|
2013-05-28 01:01:18 +00:00
|
|
|
--with-package-name="GStreamer Bad Plugins (Archlinux)" \
|
|
|
|
--with-package-origin="http://www.archlinux.org/" $CONFIG
|
|
|
|
|
|
|
|
make
|
|
|
|
sed -e 's/gst sys ext/gst/' -i Makefile
|
|
|
|
}
|
|
|
|
|
2013-12-12 21:22:46 +00:00
|
|
|
check() {
|
|
|
|
cd gst-plugins-bad
|
|
|
|
make check
|
|
|
|
}
|
2013-05-28 01:01:18 +00:00
|
|
|
|
|
|
|
package_gstreamer0.10-bad() {
|
|
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad)"
|
|
|
|
depends=('gstreamer0.10-base>=0.10.34')
|
|
|
|
|
2013-12-12 21:22:46 +00:00
|
|
|
cd gst-plugins-bad
|
2013-05-28 01:01:18 +00:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|
|
|
|
|
|
|
|
package_gstreamer0.10-bad-plugins() {
|
|
|
|
pkgdesc="GStreamer Multimedia Framework Bad Plugins (gst-plugins-bad)"
|
2013-12-12 21:22:46 +00:00
|
|
|
depends=("gstreamer0.10-bad=${pkgver}" 'xvidcore' 'libdca' 'bzip2' 'libdc1394' 'neon' 'faac' 'musicbrainz' 'faad2' 'libmms' 'libcdaudio' 'libmpcdec' 'mjpegtools' 'libdvdnav' 'libmodplug' 'jasper' 'liblrdf' 'libofa' 'libvdpau' 'soundtouch' 'libass' 'schroedinger' 'libvpx' 'gsm' 'rtmpdump' 'libgme' 'libsndfile' 'librsvg' 'wildmidi' 'opus' 'celt' 'spandsp')
|
2013-05-28 01:01:18 +00:00
|
|
|
groups=('gstreamer0.10-plugins')
|
|
|
|
install=gstreamer0.10-bad-plugins.install
|
|
|
|
|
2013-12-12 21:22:46 +00:00
|
|
|
cd gst-plugins-bad
|
2013-05-28 01:01:18 +00:00
|
|
|
make -C gst-libs DESTDIR="${pkgdir}" install
|
|
|
|
make -C ext DESTDIR="${pkgdir}" install
|
|
|
|
make -C sys DESTDIR="${pkgdir}" install
|
|
|
|
make -C gst-libs DESTDIR="${pkgdir}" uninstall
|
|
|
|
}
|