summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/sltv/PKGBUILD5
-rw-r--r--pcr/sltv/PKGBUILD.new32
2 files changed, 34 insertions, 3 deletions
diff --git a/pcr/sltv/PKGBUILD b/pcr/sltv/PKGBUILD
index afb4990e5..0669c5110 100644
--- a/pcr/sltv/PKGBUILD
+++ b/pcr/sltv/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Wille Marcel <wille at wille.blog.br>
pkgname=sltv
-pkgver=0.92
+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')
@@ -15,11 +15,10 @@ 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
+ sed -i "s#python#python2#" src/sltv.in
./configure --prefix=/usr
make
diff --git a/pcr/sltv/PKGBUILD.new b/pcr/sltv/PKGBUILD.new
new file mode 100644
index 000000000..9a3f6b6a8
--- /dev/null
+++ b/pcr/sltv/PKGBUILD.new
@@ -0,0 +1,32 @@
+# 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=(a1dc9a09b29b817e74f87d673aff2310)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # Python2 fix
+ sed -i "s#python#python2#" src/landell.in
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir/" install
+}