This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

gstreamer0.10-good-plugins-slim

By: a guest on Oct 19th, 2011  |  syntax: Bash  |  size: 2.88 KB  |  views: 38  |  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. # $Id$
  2. # Contributor: Jan de Groot <jgc@archlinux.org>
  3. # Maintainer: Mladen Pejaković <pejakm@gmail.com>
  4.  
  5. pkgbase=gstreamer0.10-good-slim
  6. pkgname=('gstreamer0.10-good-slim' 'gstreamer0.10-good-plugins-slim')
  7. pkgver=0.10.30
  8. pkgrel=1
  9. arch=('i686' 'x86_64')
  10. license=('LGPL')
  11. makedepends=('intltool' 'pkgconfig' 'gstreamer0.10-base>=0.10.34' 'libshout' 'libdv' 'flac' 'wavpack' 'taglib' 'v4l-utils' 'bzip2' 'libpulse' 'jack' 'udev')
  12. url="http://gstreamer.freedesktop.org/"
  13. options=(!libtool !emptydirs)
  14. source=(${url}/src/gst-plugins-good/gst-plugins-good-${pkgver}.tar.bz2)
  15. sha256sums=('b12cba90b27d8423cd0a808939098d19db3996cfb9bf528507c6321782e095f6')
  16.  
  17. build() {
  18.   cd "${srcdir}/gst-plugins-good-${pkgver}"
  19.   sed -i '/AC_PATH_XTRA/d' configure.ac
  20.   autoreconf
  21.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  22.     --disable-static --enable-experimental \
  23.     --disable-schemas-install \
  24.     --disable-hal \
  25.     --disable-esd \
  26.     --disable-aalib --disable-libcaca --disable-gconf --disable-dv1394 \
  27.     --disable-oss --disable-osx_audio --disable-osx_video \
  28.     --disable-directsound --disable-gdk_pixbuf \
  29.     --with-package-name="GStreamer Good Plugins Slim (Archlinux)" \
  30.     --with-package-origin="http://www.archlinux.org/"
  31.  
  32.   make
  33.   sed -e 's/gst sys ext/gst/' -i Makefile
  34. }
  35.  
  36. package_gstreamer0.10-good-slim() {
  37.   depends=('gstreamer0.10-base>=0.10.34' 'bzip2')
  38.   pkgdesc="GStreamer Multimedia Framework Good plugin libraries with reduced and no GNOME dependecies"
  39.   provides=("gstreamer0.10-good=${pkgver}")
  40.   replaces=('gstreamer0.10-good')
  41.   conflicts=('gstreamer0.10-good')
  42.  
  43.   cd "${srcdir}/gst-plugins-good-${pkgver}"
  44.   make DESTDIR="${pkgdir}" install
  45.   rm -rf "${pkgdir}/etc/gconf"
  46. }
  47.  
  48. package_gstreamer0.10-good-plugins-slim() {
  49.   depends=("gstreamer0.10-good-slim=${pkgver}" 'libshout' 'libdv' 'flac' 'wavpack' 'taglib' 'v4l-utils' 'libpng' 'libjpeg' 'jack' 'libpulse' 'udev')
  50.   pkgdesc="GStreamer Multimedia Framework Good Plugins (gst-plugins-good) with reduced and no GNOME dependecies"
  51.   groups=('gstreamer0.10-plugins')
  52.   provides=("gstreamer0.10-good-plugins=${pkgver}")
  53.   replaces=('gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-annodex' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-pulse' 'gstreamer0-10-good-plugins')
  54.   conflicts=('gstreamer0.10-wavpack' 'gstreamer0.10-shout2' 'gstreamer0.10-taglib' 'gstreamer0.10-libpng' 'gstreamer0.10-jpeg' 'gstreamer0.10-cairo' 'gstreamer0.10-flac' 'gstreamer0.10-speex' 'gstreamer0.10-annodex' 'gstreamer0.10-cdio' 'gstreamer0.10-dv' 'gstreamer0.10-bad-plugins<0.10.7' 'gstreamer0.10-pulse' 'gstreamer0-10-good-plugins')
  55.  
  56.   cd "${srcdir}/gst-plugins-good-${pkgver}"
  57.   make -C sys DESTDIR="${pkgdir}" install
  58.   make -C ext DESTDIR="${pkgdir}" install
  59.  
  60. }
  61.  
  62.  
clone this paste RAW Paste Data