1 # Maintainer: archtux <antonio.arias99999@gmail.com>
3 pkgname=gstreamer0.10-rtmp
6 pkgdesc="GStreamer plug-in for rtmp streams"
8 url="http://rpmfind.net//linux/RPM/mandriva/devel/cooker/x86_64/media/contrib/release/gstreamer0.10-rtmp-0.10.20-3mdv2011.0.x86_64.html"
10 depends=('gstreamer0.10-base-git' 'rtmpdump')
12 if [ "${CARCH}" = 'x86_64' ]; then
13 source=(ftp://fr2.rpmfind.net/linux/Mandriva/devel/cooker/x86_64/media/contrib/release/$pkgname-$pkgver-${pkgrel}mdv2011.0.x86_64.rpm)
14 md5sums=('3999af856385948bdb51a8fabd2431b1')
15 elif [ "${CARCH}" = 'i686' ]; then
16 source=(ftp://fr2.rpmfind.net/linux/Mandriva/devel/cooker/i586/media/contrib/release/$pkgname-$pkgver-${pkgrel}mdv2011.0.i586.rpm)
17 md5sums=('93f813babbd8aac93f32647d4090f4d2')
23 mkdir -p $pkgdir/usr/lib/gstreamer-0.10
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