summaryrefslogtreecommitdiffstats
path: root/abs/extra/community/gstreamer0.10/PKGBUILD
blob: 52934e2680a2aa1b6508ccc0e918cfa5e0380eee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 18833 2008-11-09 14:51:01Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=gstreamer0.10
pkgver=0.10.21
pkgrel=2
pkgdesc="GStreamer Multimedia Framework"
arch=(i686 x86_64)
license=('LGPL')
url="http://gstreamer.freedesktop.org/"
depends=('libxml2>=2.6.32' 'glib2>=2.18.1')
makedepends=('perlxml' 'pkgconfig' 'gtk-doc')
options=('!libtool')
source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.bz2
	bgo555631.patch)
md5sums=('7bad90af3fd81a1535363cf85359125c'
         '71eb301845184638e6556dacd1ca7d55')

build() {
  cd "${srcdir}/gstreamer-${pkgver}"
  patch -Np0 -i "${srcdir}/bgo555631.patch" || return 1
  ./configure --prefix=/usr \
	--sysconfdir=/etc --localstatedir=/var \
	--disable-docs-build || return 1
  make || return 1
  make DESTDIR="${pkgdir}" install || return 1
  cd "${pkgdir}/usr/bin"

  #Remove unversioned gst-* binaries to get rid of conflicts
  for bins in `ls *-0.10`; do
    rm -f ${bins/-0.10/}
  done
}