removed aur/mjpg-streamer(-svn)

fixes #1063
This commit is contained in:
Kevin Mihelich 2015-01-13 03:45:53 +00:00
parent 8dc45f5d8a
commit 851759d1ff
2 changed files with 0 additions and 79 deletions

View file

@ -1,45 +0,0 @@
# This is a mjpg-streamer PKGBUILD file.
# Contributor: Tri Le <trile7@gmail.com>
pkgname=mjpg-streamer-svn
pkgver=115
pkgrel=2
pkgdesc="Stream mjpeg frames from a webcam via http"
arch=('i686' 'x86_64')
url="http://sourceforge.net/projects/mjpg-streamer"
license=('GPL')
depends=('libjpeg')
conflicts=("mjpg-streamer")
makedepends=("subversion" "imagemagick")
svnmod=mjpg-streamer
svntrunk=https://"$svnmod".svn.sourceforge.net/svnroot/"$svnmod"/"$svnmod"
build() {
cd "$srcdir"
if [ -d $svnmod/.svn ]; then
(cd $svnmod && svn up -r $pkgver)
else
svn co $svntrunk --config-dir ./ -r $pkgver $svnmod
fi
msg "SVN checkout done or server timeout"
msg "Starting make..."
rm -rf "$srcdir/$svnmod-build"
cp -r "$srcdir/$svnmod" "$srcdir/$svnmod-build"
cd "$srcdir/$svnmod-build"
find . -type f -print0 | xargs -0 sed -i s/videodev.h/videodev2.h/g
sed -i "s/PLUGINS += input_gspcav1.so/# PLUGINS += input_gspcav1.so/" Makefile
# BUILD
make clean all || return 1
mkdir -p $pkgdir/usr/share/$svnmod/www/
mkdir -p $pkgdir/usr/lib
install *.so $pkgdir/usr/lib/
install -m 644 www/* $pkgdir/usr/share/$svnmod/www/
install -m 755 www/functions.js $pkgdir/usr/share/$svnmod/www/
mkdir -p $pkgdir/usr/bin
install mjpg_streamer $pkgdir/usr/bin/
install -m 644 CHANGELOG LICENSE README start.sh $pkgdir/usr/share/$svnmod/
}

View file

@ -1,34 +0,0 @@
# Contributor: Ross Melin <rdmelin@gmail.com>
# Contributor: Tri Le <trile7@gmail.com>
pkgname=mjpg-streamer
pkgver=r63
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 imagemagick)
makedepends=(gcc)
provides=(mjpeg-streamer)
options=(!makeflags)
source=(http://downloads.sourceforge.net/project/mjpg-streamer/mjpg-streamer/Sourcecode/$pkgname-$pkgver.tar.gz)
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 clean all || return 1
mkdir -p $pkgdir/usr/share/mjpeg-streamer/www/
mkdir -p $pkgdir/usr/lib
install *.so $pkgdir/usr/lib/
install -m 644 www/* $pkgdir/usr/share/mjpeg-streamer/www/
install -m 755 www/functions.js $pkgdir/usr/share/mjpeg-streamer/www/
mkdir -p $pkgdir/usr/bin
install mjpg_streamer $pkgdir/usr/bin/
install -m 644 CHANGELOG LICENSE README start.sh $pkgdir/usr/share/mjpeg-streamer/
}
md5sums=(''1c424b5441a2bf8379cdecd7dbebc935'')