updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / lib32-gstreamer0.10 / PKGBUILD
blob5c43b7009fdd4784f66e70d3fb4cac404380334c
1 # Maintainer : josephgbr <rafael.f.f1 at gmail.com>
3 _pkgbasename=gstreamer0.10
4 pkgname=lib32-$_pkgbasename
5 pkgver=0.10.35
6 pkgrel=1
7 pkgdesc="GStreamer Multimedia Framework (32 bit)"
8 arch=('x86_64')
9 license=('LGPL')
10 url="http://gstreamer.freedesktop.org/"
11 depends=('lib32-libxml2' 'lib32-glib2' 'gstreamer0.10')
12 makedepends=('intltool' 'gcc-multilib')
13 options=('!libtool')
14 source=(${url}/src/gstreamer/gstreamer-${pkgver}.tar.bz2)
15 sha256sums=('817bfea2cd46e2487b97e2ed9218f0299b32a3de1e5e80b4c7868d17e9089786')
17 build() {
18   export CC='gcc -m32'
19   export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
21   cd "${srcdir}/gstreamer-${pkgver}"
22   
23   ./configure \
24         --prefix=/usr \
25         --sysconfdir=/etc \
26         --localstatedir=/var \
27         --libdir=/usr/lib32 \
28         --libexecdir=/usr/lib32 \
29         --enable-introspection=no \
30         --disable-{gtk-doc,static} \
31         --with-package-name="GStreamer (Archlinux)" \
32         --with-package-origin="http://www.archlinux.org/"
33   make
36 package() {
37   cd "${srcdir}/gstreamer-${pkgver}"
38   make DESTDIR="${pkgdir}" install
39   rm -rf "${pkgdir}/usr"/{bin,include,share}