Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

[SLTV] by SpepS

By: a guest on Oct 29th, 2010  |  syntax: None  |  size: 0.91 KB  |  hits: 68  |  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: farid abdelnour <farid at archlinux-br.org>
  2. # Contributor: SpepS <dreamspepser at yahoo dot it>
  3.  
  4. pkgname=sltv
  5. pkgver=0.9
  6. pkgrel=2
  7. pkgdesc="An audio and video streamer that receives streams from several sources (V4L2, Firewire, ALSA, Pulseaudio, files...) and sends a stream using Icecast or to files (Vorbis+Theora)."
  8. arch=('any')
  9. url="http://sltv.holoscopio.com"
  10. license=('GPL')
  11. depends=('pygtk' 'python-configobj' 'gstreamer0.10-python' 'gstreamer-hplugins'
  12.          'gstreamer0.10-bad' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg')
  13. install="$pkgname.install"
  14. source=("http://sltv.holoscopio.com/$pkgname-$pkgver.tar.gz")
  15. md5sums=(cddaf1171544602334ce7e3b90c017f6)
  16.  
  17. build() {
  18.  
  19.   cd "$srcdir/$pkgname-$pkgver"
  20.  
  21.   # Python2 fix
  22.   sed -i "s_python_&2_" src/sltv.in
  23.  
  24.   ./configure --prefix=/usr
  25.   make
  26. }
  27.  
  28. package() {
  29.  
  30.   cd "$srcdir/$pkgname-$pkgver"
  31.  
  32.   make DESTDIR="$pkgdir/" install
  33. }