diff options
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/oggfwd/PKGBUILD | 21 | ||||
-rw-r--r-- | pcr/pngcrush/PKGBUILD | 26 | ||||
-rw-r--r-- | pcr/sltv/PKGBUILD | 5 | ||||
-rw-r--r-- | pcr/sltv/PKGBUILD.new | 32 |
4 files changed, 81 insertions, 3 deletions
diff --git a/pcr/oggfwd/PKGBUILD b/pcr/oggfwd/PKGBUILD new file mode 100644 index 000000000..5dd9e4680 --- /dev/null +++ b/pcr/oggfwd/PKGBUILD @@ -0,0 +1,21 @@ +# Contributor: farid abdelnour < farid at atelier-labs.org> + +pkgname=oggfwd +pkgver=0.2 +pkgrel=2 +pkgdesc="pipes an ogg stream to an icecast server" +arch=('i686' 'x86_64') +url="http://v2v.cc/~j/oggfwd/" +license=('GPL') +source=(http://www.v2v.cc/~j/ffmpeg2theora/oggfwd/oggfwd.tar.gz) +md5sums=('8402d26a5a8ff318ef6ea01ec146c8cc') +depends=(libshout) + +build () { + cd $srcdir/$pkgname + make clean || return 1 + make oggfwd || return 1 + install -d $pkgdir/usr/bin || return 1 + install -m755 oggfwd $pkgdir/usr/bin/oggfwd || return 1 +} + diff --git a/pcr/pngcrush/PKGBUILD b/pcr/pngcrush/PKGBUILD new file mode 100644 index 000000000..a4ac8b5cb --- /dev/null +++ b/pcr/pngcrush/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net> + +pkgname=pngcrush +pkgver=1.7.58 +pkgrel=1 +pkgdesc="A tool for optimizing the compression of PNG files" +arch=('i686' 'x86_64' 'mips64el') +url="http://pmt.sourceforge.net/" +license=('custom') +depends=('libpng' 'zlib') +source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver-nolib.tar.xz) + +build() { + cd "$srcdir"/$pkgname-$pkgver-nolib + sed -n '10,17s/^\s*//p' cexcept.h > LICENSE.cexcept.txt + sed -rn '97,142s/ \* ?//p' pngcrush.c > LICENSE.pngcrush.txt + make +} + +package() { + cd "$srcdir"/$pkgname-$pkgver-nolib + install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname + install -Dm644 LICENSE.cexcept.txt "$pkgdir"/usr/share/licenses/$pkgname/cexcept.txt + install -Dm644 LICENSE.pngcrush.txt "$pkgdir"/usr/share/licenses/$pkgname/pngcrush.txt +} +md5sums=('aa09aa8a65999ba522e5735ed0ad6a1a') 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 +} |