summaryrefslogtreecommitdiff
path: root/pcr/sltv/PKGBUILD
blob: afb4990e5a007db357fbb31b26a5426dc0adb100 (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
33
# Maintainer: farid abdelnour <farid at archlinux-br.org>
# Contributor: SpepS <dreamspepser at yahoo dot it>
# Contributor: Wille Marcel <wille at wille.blog.br>
 
pkgname=sltv
pkgver=0.92
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_&2_" src/sltv.in
 
  ./configure --prefix=/usr
  make
}
 
package() {
 
  cd "$srcdir/$pkgname-$pkgver"
 
  make DESTDIR="$pkgdir/" install
}