Guest User

gstreamer0.10-rtsp

a guest
Oct 19th, 2010
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.22 KB | None | 0 0
  1. # Contributor: azleifel <azleifel at googlemail.com>
  2.  
  3. pkgname=gstreamer0.10-rtsp
  4. _source_pkgname=gst-rtsp
  5. pkgver=0.10.7
  6. pkgrel=2
  7. pkgdesc="An RTSP server based on GStreamer with Python and Vala bindings"
  8. arch=('i686' 'x86_64')
  9. url="http://people.freedesktop.org/~wtay/"
  10. license=('GPL')
  11. depends=('gstreamer0.10-base')
  12. makedepends=('pkg-config' 'gstreamer0.10-python' 'vala')
  13. optdepends=('gstreamer0.10-python: To utilise the Python bindings'
  14.             'vala: To utilise the Vala bindings')
  15. options=(!libtool)
  16. source=(http://people.freedesktop.org/~wtay/${_source_pkgname}-${pkgver}.tar.bz2)
  17. md5sums=('3c2e0bf09bb66e302b6c64cb9e8f1eb6')
  18.  
  19. build() {
  20.   cd ${srcdir}/${_source_pkgname}-${pkgver}
  21.  
  22.   #
  23.   # BUILD
  24.   #
  25.   for i in docgen.py h2def.py mergedefs.py mkskel.py scmexpr.py; do
  26.      sed -i -e 's/env python/env python2/' bindings/python/codegen/$i
  27.   done
  28.   PYTHON=/usr/bin/python2 ./configure --prefix=/usr --disable-valgrind --disable-debug --enable-introspection=no
  29.   make
  30.   make DESTDIR=${pkgdir} install
  31.  
  32.   # Install documents
  33.   install -D -m644 NEWS ${pkgdir}/usr/share/doc/${pkgname}/NEWS
  34.   install -D -m644 README ${pkgdir}/usr/share/doc/${pkgname}/README
  35.   cp -rpf docs/* ${pkgdir}/usr/share/doc/${pkgname}
  36. }
Add Comment
Please, Sign In to add comment