# Maintainer: farid abdelnour <farid at archlinux-br.org>
# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=sltv
pkgver=0.9
pkgrel=2
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)."
arch=('any')
url="http://sltv.holoscopio.com"
license=('GPL')
depends=('pygtk' 'python-configobj' 'gstreamer0.10-python' 'gstreamer-hplugins'
'gstreamer0.10-bad' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg')
install="$pkgname.install"
source=("http://sltv.holoscopio.com/$pkgname-$pkgver.tar.gz")
md5sums=(cddaf1171544602334ce7e3b90c017f6)
build() {
cd "$srcdir/$pkgname-$pkgver"
# Python2 fix
sed -i "s_python_&2_" src/sltv.in
./configure --prefix=/usr
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}