Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

gstreamer0.10-rtsp

By: a guest on Oct 19th, 2010  |  syntax: Bash  |  size: 1.22 KB  |  views: 99  |  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. # 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. }