Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

[LIB32-GSTREAMER0.10] By SpepS

By: a guest on Dec 7th, 2010  |  syntax: None  |  size: 1.13 KB  |  views: 215  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Chaniyth <chaniyth at yahoo dot com>
  2. # Contributor: SpepS <dreamspepser at yahoo dot it>
  3.  
  4. _pkgbasename=gstreamer0.10
  5. pkgname=lib32-$_pkgbasename
  6. pkgver=0.10.31
  7. pkgrel=1
  8. pkgdesc="GStreamer Multimedia Framework"
  9. arch=('i686' 'x86_64')
  10. license=('LGPL')
  11. url="http://gstreamer.freedesktop.org/"
  12. depends=("$_pkgbasename" 'lib32-libxml2>=2.7.7' 'lib32-glib2>=2.24.1')
  13. makedepends=('intltool' 'pkgconfig' 'gcc-multilib' 'gtk-doc' 'gobject-introspection')
  14. options=('!libtool')
  15. source=("$url/src/gstreamer/gstreamer-$pkgver.tar.bz2")
  16. sha256sums=('7f737e6d047c1ebeb4e1e0725fc377c5d9f12ee89186de7960be3cbba709ab84')
  17.  
  18. build() {
  19.  
  20.   export CC='gcc -m32'
  21.   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  22.  
  23.   cd "$srcdir/gstreamer-$pkgver"
  24.  
  25.   ./configure --prefix=/usr --sysconfdir=/etc \
  26.     --localstatedir=/var --libdir=/usr/lib32 --libexecdir=/usr/lib32 \
  27.     --with-package-name="GStreamer (Archlinux)" \
  28.     --with-package-origin="http://www.archlinux.org/"
  29.  
  30.   make
  31. }
  32.  
  33. package() {
  34.  
  35.   cd "$srcdir/gstreamer-$pkgver"
  36.  
  37.   make DESTDIR="$pkgdir/" install
  38.  
  39.   #Remove unneded files
  40.   rm -rf "$pkgdir"/usr/{bin,include,share}
  41. }