From 1c5a34d87b656c2d7bc0d58c5a6f83bce6023112 Mon Sep 17 00:00:00 2001 From: Márcio Alexandre Silva Delgado Date: Fri, 26 Apr 2013 20:11:46 -0300 Subject: sltv or landell: updating pkg --- pcr/sltv/PKGBUILD | 5 ++--- pcr/sltv/PKGBUILD.new | 32 ++++++++++++++++++++++++++++++++ 2 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 pcr/sltv/PKGBUILD.new (limited to 'pcr/sltv') 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 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 +# Contributor: SpepS +# Contributor: Wille Marcel + +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 +} -- cgit v1.2.3-54-g00ecf