summaryrefslogtreecommitdiff
path: root/pcr/sltv/PKGBUILD
blob: 74ebb6c26b9d7c3ca983ba2c7c7134bdd4f5a786 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Maintainer (Arch): farid abdelnour <farid at archlinux-br.org>
# Contributor (Arch): SpepS <dreamspepser at yahoo dot it>
# Contributor (Arch): Wille Marcel <wille at wille.blog.br>
 
pkgname=sltv
pkgver=0.91
pkgrel=1
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' 'python2-configobj' 'gstreamer0.10-python' 'gstreamer-hplugins' 'gstreamer0.10-bad' 'gstreamer0.10-good' 'gstreamer0.10-ffmpeg' 'python2' 'gstreamer0.10' 'gstreamer0.10-base' )
install="$pkgname.install"
source=("http://sltv.holoscopio.com/$pkgname-$pkgver.tar.gz")
md5sums=(b5f9b2d7102ca0a4068ebe1783699764)
 
build() {
  cd "$srcdir/$pkgname-$pkgver"
 
  # Python2 fix
  sed -i "s#python#python2#" src/sltv.in
 
  ./configure --prefix=/usr
  make
}
 
package() {
 
  cd "$srcdir/$pkgname-$pkgver"
 
  make DESTDIR="$pkgdir/" install
}