diff options
Diffstat (limited to 'system/mjpg-streamer')
-rw-r--r-- | system/mjpg-streamer/README | 28 | ||||
-rw-r--r-- | system/mjpg-streamer/mjpg-streamer.SlackBuild | 125 | ||||
-rw-r--r-- | system/mjpg-streamer/mjpg-streamer.info | 10 | ||||
-rw-r--r-- | system/mjpg-streamer/slack-desc | 19 |
4 files changed, 0 insertions, 182 deletions
diff --git a/system/mjpg-streamer/README b/system/mjpg-streamer/README deleted file mode 100644 index 5438596857..0000000000 --- a/system/mjpg-streamer/README +++ /dev/null @@ -1,28 +0,0 @@ -MJPG-streamer is a very lightweight and resource friendly video -streamer. It also comes with uvc_stream, which is a very basic -streamer, and uvc_viewer, a simple gtk viewing application. - -MJPG-streamer takes JPGs from Linux-UVC compatible webcams, -filesystem or other input plugins and streams them as M-JPEG via HTTP -to webbrowsers, VLC and other software. It is the successor of -uvc-streamer, a Linux-UVC streaming application with Pan/Tilt - -Homepage: https://sourceforge.net/projects/mjpg-streamer/ - -Note: - -The included uvc_viewer is a 32bit binary and therefore will not -work on other archs. You may use mplayer to watch the stream -using a similar command to: - -mplayer -fps 30 -demuxer lavf -cache 256 \ -"http://192.168.1.2:8080/?action=stream&ignored.mjpg" - -You may find that mplayer is lighter on resources anyway. Also -the viewer leaves a properties.ini file in the CWD. - -There is an included start.sh script which contains many -examples for using the mjpg_streamer application. (The www directory -mentioned should be replaced by /var/mjpg-www.) - -You can find it and more in /usr/doc/mjpg-streamer-$version diff --git a/system/mjpg-streamer/mjpg-streamer.SlackBuild b/system/mjpg-streamer/mjpg-streamer.SlackBuild deleted file mode 100644 index 91b069ab37..0000000000 --- a/system/mjpg-streamer/mjpg-streamer.SlackBuild +++ /dev/null @@ -1,125 +0,0 @@ -#!/bin/sh - -# Slackware build script for mjpg-streamer - -# Copyright 2011 David Woodfall <dave@slackbuilds.org> -# All rights reserved. -# -# Redistribution and use of this script, with or without modification, is -# permitted provided that the following conditions are met: -# -# 1. Redistributions of this script must retain the above copyright -# notice, this list of conditions and the following disclaimer. -# -# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED -# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO -# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, -# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, -# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; -# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, -# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR -# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF -# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - -PRGNAM=mjpg-streamer -VERSION=${VERSION:-r163} -BUILD=${BUILD:-2} -TAG=${TAG:-_SBo} - -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi - -CWD=$(pwd) -TMP=${TMP:-/tmp/SBo} -PKG=$TMP/package-$PRGNAM -OUTPUT=${OUTPUT:-/tmp} - -if [ "$ARCH" = "i586" ]; then - SLKCFLAGS="-O2 -march=i586 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "i686" ]; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" -elif [ "$ARCH" = "x86_64" ]; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" -else - SLKCFLAGS="-O2" - LIBDIRSUFFIX="" -fi - -set -e - -rm -rf $PKG -mkdir -p $TMP $PKG $OUTPUT -cd $TMP -rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* -cd $PRGNAM-$VERSION -chown -R root:root . -find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; - -# Add our flags to the Makefiles -find . -name Makefile -exec \ - sed -i "s/^CFLAGS += -O2/CFLAGS += $SLKCFLAGS/ - s/^CFLAGS += -O1/CFLAGS += $SLKCFLAGS/ - 0,/^CFLAGS +=/ {/^CFLAGS +=.*/a\ - CXXFLAGS = $SLKCFLAGS - }" '{}' \; - -# This header is OLD -sed -i "s|linux/videodev|linux/videodev2|" uvc-streamer/* - -# Manual installation section -cd uvc-streamer -make -install -m 755 -D uvc_stream $PKG/usr/bin/uvc_stream - -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/uvc-streamer -cp -a README CHANGELOG LICENSE \ - $PKG/usr/doc/$PRGNAM-$VERSION/uvc-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 -mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer -cp -a README CHANGELOG LICENSE TODO start.sh \ - $PKG/usr/doc/$PRGNAM-$VERSION/mjpg-streamer -mkdir -p $PKG/var/mjpg-www -cp -r www/* $PKG/var/mjpg-www - -cd ../udp_client -qmake -make -install -m 755 -D udp_client $PKG/usr/bin/udp_client - -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF | \ - cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null - -# This is already stripped. -cd ../mjpeg-client/bin/linux_i386_upx -install -m 755 -D viewer $PKG/usr/bin/uvc_viewer - -cd ../../../ - -cp -a doc/* \ - $PKG/usr/doc/$PRGNAM-$VERSION -cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild - -mkdir -p $PKG/install -cat $CWD/slack-desc > $PKG/install/slack-desc - -cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} diff --git a/system/mjpg-streamer/mjpg-streamer.info b/system/mjpg-streamer/mjpg-streamer.info deleted file mode 100644 index 72d30a7fcd..0000000000 --- a/system/mjpg-streamer/mjpg-streamer.info +++ /dev/null @@ -1,10 +0,0 @@ -PRGNAM="mjpg-streamer" -VERSION="r163" -HOMEPAGE="https://github.com/jacksonliam/mjpg-streamer" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/mjpg-streamer-r163.tar.xz" -MD5SUM="bba8b2a5480d04bae0e8df158b8730fd" -DOWNLOAD_x86_64="" -MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Dave Woodfall" -EMAIL="dave@slackbuilds.org" diff --git a/system/mjpg-streamer/slack-desc b/system/mjpg-streamer/slack-desc deleted file mode 100644 index f8854ebff0..0000000000 --- a/system/mjpg-streamer/slack-desc +++ /dev/null @@ -1,19 +0,0 @@ -# HOW TO EDIT THIS FILE: -# The "handy ruler" below makes it easier to edit a package description. -# Line up the first '|' above the ':' following the base package name, and -# the '|' on the right side marks the last column you can put a character in. -# You must make exactly 11 lines for the formatting to be correct. It's also -# customary to leave one space after the ':' except on otherwise blank lines. - - |-----handy-ruler------------------------------------------------------| -mjpg-streamer: mjpg-streamer (lightweight video streamer) -mjpg-streamer: -mjpg-streamer: MJPG-streamer takes JPGs from Linux-UVC compatible webcams, -mjpg-streamer: filesystem or other input plugins and streams them as M-JPEG via HTTP -mjpg-streamer: to webbrowsers, VLC and other software. It is the successor of -mjpg-streamer: uvc-streamer, a Linux-UVC streaming application with Pan/Tilt -mjpg-streamer: -mjpg-streamer: Homepage: https://github.com/jacksonliam/mjpg-streamer -mjpg-streamer: -mjpg-streamer: -mjpg-streamer: |