updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / gstreamer0.10-good-plugins-slim / PKGBUILD
blob053e1d55712a2a96e7f31d5c3809e067b8b364bd
1 # Maintainer: birdflesh <antkoul at gmail dot com>
2 # Contributor: Ananda Samaddar <ananda@samaddar.co.uk>
3 # Contributor: Alessandro Nakamuta <alessandro dot ufms at gmail dot com>
4 # Contributor: Pauline Martin <321eniluap@gmail.com>
6 pkgname=gstreamer0.10-good-plugins-slim
7 pkgver=0.10.30
8 pkgrel=2
9 pkgdesc="GStreamer Multimedia Framework Good Plugins (gst-plugins-good) with reduced and no GNOME dependecies"
10 arch=('i686' 'x86_64')
11 url="http://gstreamer.freedesktop.org/"
12 license=('LGPL')
13 groups=('gstreamer0.10-plugins')
14 makedepends=('gstreamer0.10-base>=0.10.34')
15 depends=('cairo' 'gdk-pixbuf2' "gstreamer0.10-good=${pkgver}" 'jack' 'libavc1394' 'libdv' 'libiec61883' 'libpulse' 'libshout' 'libxdamage' 'taglib' 'udev' 'v4l-utils' 'wavpack')
16 provides=("gstreamer0.10-good-plugins=${pkgver}")
17 conflicts=('gstreamer0-10-good-plugins')
18 options=(!libtool !emptydirs)
19 source=(${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.gz)
20 md5sums=('3332c35b11635b5ed3cd11371ebd11d2')
22 build() {
23   cd "${srcdir}/gst-plugins-good-${pkgver}"
24   sed -i '/AC_PATH_XTRA/d' configure.ac
25   autoreconf
26   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
27     --disable-static --enable-experimental \
28     --disable-schemas-install \
29     --disable-hal \
30     --disable-esd \
31     --disable-oss \
32     --disable-aalib \
33     --disable-gconf \
34     --disable-libcaca \
35     --with-package-name="GStreamer Good Plugins Slim (Archlinux)" \
36     --with-package-origin="http://www.archlinux.org/"
38   make
39   sed -e 's/gst sys ext/gst/' -i Makefile
42 package() {
43   cd "${srcdir}/gst-plugins-good-${pkgver}"
44   make -C sys DESTDIR="${pkgdir}" install
45   make -C ext DESTDIR="${pkgdir}" install