Want more features on Pastebin? Sign Up, it's FREE!
Guest

lib32-gstreamer-bad workaround

By: a guest on Apr 23rd, 2012  |  syntax: None  |  size: 1.61 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. # Maintainer: josephgbr <rafael.f.f1@gmail.com>
  2.  
  3. _pkgbase=gstreamer0.10-bad
  4. pkgname=lib32-${_pkgbase}
  5. pkgver=0.10.23
  6. pkgrel=1
  7. arch=('x86_64')
  8. license=('LGPL' 'GPL')
  9. pkgdesc="GStreamer Multimedia Framework Bad Plugin libraries (gst-plugins-bad) (32 bit)"
  10. depends=('lib32-gstreamer0.10-base' "${_pkgbase}")
  11. makedepends=('gcc-multilib' 'lib32-libvdpau' 'lib32-libass' 'lib32-libcdaudio' 'lib32-curl' 'lib32-libdc1394' 'lib32-libdvdnav' 'lib32-libmms' 'lib32-liblrdf' 'lib32-libmpcdec' 'lib32-libmodplug' 'lib32-musicbrainz' 'lib32-neon' 'lib32-libofa' 'lib32-librsvg' 'lib32-schroedinger' 'lib32-soundtouch' 'lib32-rtmpdump' 'lib32-bzip2' 'lib32-libdca' 'lib32-faac' 'lib32-faad2' 'lib32-libsndfile') #'xvidcore' 'mjpegtools' 'jasper' 'libvpx' 'gsm' 'libgme'
  12.  
  13. url="http://gstreamer.freedesktop.org/"
  14. options=(!libtool !emptydirs)
  15. source=(${url}/src/gst-plugins-bad/gst-plugins-bad-${pkgver}.tar.xz)
  16. md5sums=('e4822fa2cc933768e2998311a1565979')
  17.  
  18. build() {
  19.   export CC='gcc -m32'
  20.   export CXX='g++ -m32'
  21.   export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
  22.  
  23.   cd "${srcdir}/gst-plugins-bad-${pkgver}"
  24.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
  25.     --disable-static --enable-experimental \
  26.     --with-package-name="GStreamer Bad Plugins (Archlinux)" \
  27.     --with-package-origin="http://www.archlinux.org/" \
  28.     --libdir=/usr/lib32 \
  29.     --disable-kate \
  30.     --disable-openal \
  31.     --disable-sdl \
  32.     --disable-opencv \
  33.     --disable-teletextdec
  34.  
  35.   make
  36.   sed -e 's/gst sys ext/gst/' -i Makefile
  37. }
  38.  
  39. package() {
  40.   cd "${srcdir}/gst-plugins-bad-${pkgver}"
  41.   make DESTDIR="${pkgdir}" install
  42.   rm -rf "${pkgdir}/usr"/{include,share}
  43. }
clone this paste RAW Paste Data