system/mjpg-streamer: Updated for subersion revision 163.

Switched to the new version supporting v4l2.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2012-09-19 21:11:38 +02:00 committed by Robby Workman
parent 48f77cf574
commit f9d1223dee
2 changed files with 10 additions and 7 deletions

View file

@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=mjpg-streamer
VERSION=${VERSION:-svn20111016}
VERSION=${VERSION:-r163}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
@ -73,6 +73,9 @@ find . -name Makefile -exec \
CXXFLAGS = $SLKCFLAGS
}" '{}' \;
# This header is OLD
sed -i "s|linux/videodev|linux/videodev2|" uvc-streamer/*
# Manual installation section
cd uvc-streamer
make
@ -81,11 +84,11 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer
cp -a README CHANGELOG LICENSE \
$PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer
cd ../mjpg-streamer
cd ../mjpg-streamer-experimental
make
install -m 755 -D mjpg_streamer $PKG/usr/bin/mjpg_streamer
mkdir -p $PKG/usr/lib$LIBDIRSUFFIX
install -m 644 *.so $PKG/usr/lib$LIBDIRSUFFIX/
install -m 644 *.so $PKG/usr/lib$LIBDIRSUFFIX
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer
cp -a README CHANGELOG LICENSE TODO start.sh \
$PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer

View file

@ -1,8 +1,8 @@
PRGNAM="mjpg-streamer"
VERSION="svn20111016"
VERSION="r163"
HOMEPAGE="https://sourceforge.net/projects/mjpg-streamer/"
DOWNLOAD="http://source.dawoodfall.net/mjpg-streamer-svn20111016.tar.gz"
MD5SUM="1e251c2b8a76fe524d5901054ea5529b"
DOWNLOAD="http://ponce.cc/slackware/sources/repo/mjpg-streamer-r163.tar.xz"
MD5SUM="bba8b2a5480d04bae0e8df158b8730fd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""