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

gstreamer0.10-rtmp AUR by alez

By: a guest on Nov 9th, 2010  |  syntax: None  |  size: 1.18 KB  |  views: 71  |  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: archtux <antonio.arias99999@gmail.com>
  2.  
  3. pkgname=gstreamer0.10-rtmp
  4. pkgver=0.10.20
  5. pkgrel=3
  6. pkgdesc="GStreamer plug-in for rtmp streams"
  7. arch=('i686' 'x86_64')
  8. url="http://mirrors.kernel.org/mandrake/Mandrakelinux/devel/cooker/i586/media/contrib/release/gstreamer0.10-rtmp-0.10.20-3mdv2011.0.i586.rpm"
  9. license=('GPL2')
  10. depends=('gstreamer0.10-base-git' 'rtmpdump')
  11.  
  12. if [ "${CARCH}" = 'x86_64' ]; then
  13.   source=(http://mirrors.kernel.org/mandrake/Mandrakelinux/devel/cooker/x86_64/media/contrib/release/gstreamer0.10-rtmp-0.10.20-3mdv2011.0.x86_64.rpm)
  14.   md5sums=('3999af856385948bdb51a8fabd2431b1')
  15. elif  [ "${CARCH}" = 'i686' ]; then
  16.   source=(http://mirrors.kernel.org/mandrake/Mandrakelinux/devel/cooker/i586/media/contrib/release/gstreamer0.10-rtmp-0.10.20-3mdv2011.0.i586.rpm)
  17.   md5sums=('93f813babbd8aac93f32647d4090f4d2')
  18. fi
  19.  
  20. build() {
  21.    cd $srcdir
  22.  
  23.    mkdir -p $pkgdir/usr/lib/gstreamer-0.10
  24.    bsdtar xf $pkgname*
  25.  
  26. if [ "${CARCH}" = 'x86_64' ]; then
  27.    mv $srcdir/usr/lib64/gstreamer-0.10/libgstrtmp.so $pkgdir/usr/lib/gstreamer-0.10
  28. elif  [ "${CARCH}" = 'i686' ]; then
  29.    mv $srcdir/usr/lib/gstreamer-0.10/libgstrtmp.so $pkgdir/usr/lib/gstreamer-0.10
  30. fi
  31. }
clone this paste RAW Paste Data