From bea22a6975341faf2fb8d3db55129de714a71607 Mon Sep 17 00:00:00 2001 From: Kevin Mihelich Date: Mon, 17 Sep 2012 23:39:37 +0000 Subject: [PATCH] aur/mjpg-streamer to r63-4 --- aur/mjpg-streamer/PKGBUILD | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/aur/mjpg-streamer/PKGBUILD b/aur/mjpg-streamer/PKGBUILD index 788de46de..25652e153 100644 --- a/aur/mjpg-streamer/PKGBUILD +++ b/aur/mjpg-streamer/PKGBUILD @@ -3,25 +3,24 @@ pkgname=mjpg-streamer pkgver=r63 -pkgrel=2 -plugrel=1 +pkgrel=4 pkgdesc="Stream mjpeg frames from a webcam via http" arch=('i686' 'x86_64') url="http://sourceforge.net/projects/mjpg-streamer" license=('GPL') groups=(multimedia) -depends=(libjpeg) -makedepends=(gcc imagemagick) +depends=(libjpeg imagemagick) +makedepends=(gcc) provides=(mjpeg-streamer) +options=(!makeflags) source=(http://downloads.sourceforge.net/project/mjpg-streamer/mjpg-streamer/Sourcecode/$pkgname-$pkgver.tar.gz) -md5sums=('1c424b5441a2bf8379cdecd7dbebc935') build() { cd "$srcdir/$pkgname-$pkgver" find . -type f -print0 | xargs -0 sed -i s/videodev.h/videodev2.h/g sed -i "s/make -C plugins\/input_gspcav1/# make -C plugins\/input_gspcav1/" Makefile sed -i "s/cp plugins\/input_gspcav1\/input_gspcav1.so/# cp plugins\/input_gspcav1\/input_gspcav1.so/" Makefile - make -j1 clean all || return 1 + make clean all || return 1 mkdir -p $pkgdir/usr/share/mjpeg-streamer/www/ mkdir -p $pkgdir/usr/lib install *.so $pkgdir/usr/lib/ @@ -31,3 +30,5 @@ build() { install mjpg_streamer $pkgdir/usr/bin/ install -m 644 CHANGELOG LICENSE README start.sh $pkgdir/usr/share/mjpeg-streamer/ } + +md5sums=(''1c424b5441a2bf8379cdecd7dbebc935'')