summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-26 19:28:53 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-04-26 19:28:53 -0300
commit684056a62b6abdcd9fec4668f399375e1b80e2b8 (patch)
treee0756ae4ecab33e1e8f810df4659e1d92beb9725
parent2b7d2c206699d90694a28a971a8fd801fdecf233 (diff)
downloadabslibre-684056a62b6abdcd9fec4668f399375e1b80e2b8.tar.gz
abslibre-684056a62b6abdcd9fec4668f399375e1b80e2b8.tar.bz2
abslibre-684056a62b6abdcd9fec4668f399375e1b80e2b8.zip
sltv: add package to repo
-rw-r--r--pcr/sltv/PKGBUILD33
-rw-r--r--pcr/sltv/sltv.install7
2 files changed, 40 insertions, 0 deletions
diff --git a/pcr/sltv/PKGBUILD b/pcr/sltv/PKGBUILD
new file mode 100644
index 000000000..afb4990e5
--- /dev/null
+++ b/pcr/sltv/PKGBUILD
@@ -0,0 +1,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
+}
diff --git a/pcr/sltv/sltv.install b/pcr/sltv/sltv.install
new file mode 100644
index 000000000..16b4ff953
--- /dev/null
+++ b/pcr/sltv/sltv.install
@@ -0,0 +1,7 @@
+post_install() {
+ update-desktop-database -q
+}
+
+post_remove() {
+ update-desktop-database -q
+}