libraries/libunicapgtk: Updated for version 20150328.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2015-04-19 23:55:48 +07:00 committed by Willy Sudiarto Raharjo
parent 4cf2103846
commit e1c14b7800
4 changed files with 16 additions and 15 deletions

View File

@ -1,5 +1,4 @@
unicap provides a uniform interface to video capture devices. It allows unicap provides a uniform interface to video capture devices. It allows
applications to use any supported video capture device via a single API. applications to use any supported video capture device via a single API.
Building applications with a graphical user interface is made especially Building applications with a graphical user interface is made especially
easy with the unicapgtk widget set. easy with the unicapgtk widget set.

View File

@ -24,8 +24,8 @@
PRGNAM=libunicapgtk PRGNAM=libunicapgtk
SRCNAM=unicap SRCNAM=unicap
VERSION=${VERSION:-20110826} VERSION=${VERSION:-20150328}
SRCVERSION=${SRCVERSION:-d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9} SRCVERSION=${SRCVERSION:-2c600aef122e1b82d7ff08c176663db181f8d002}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -63,8 +63,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $SRCNAM-$SRCVERSION rm -rf $SRCNAM-$SRCVERSION
# The upstream tarball will be named differently, depending on the # The upstream tarball will be named differently, depending on
# file being downloaded manually (web browser) or with wget. # the file being downloaded manually (web browser) or with wget.
if [ -e $CWD/$SRCVERSION.tar.gz ]; then if [ -e $CWD/$SRCVERSION.tar.gz ]; then
tar xvzf $CWD/$SRCVERSION.tar.gz tar xvzf $CWD/$SRCVERSION.tar.gz
else else
@ -79,9 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
PRGSHR=$PKG/usr/share # Prepare files needed for configuration and building.
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
autoreconf --force --install autoreconf --force --install
intltoolize intltoolize
@ -95,9 +93,13 @@ CFLAGS="$SLKCFLAGS" \
make make
make install DESTDIR=$PKG make install DESTDIR=$PKG
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
PRGSHR=$PKG/usr/share
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
# Install documentation.
mkdir -p $PRGDOC mkdir -p $PRGDOC
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/ cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild

View File

@ -1,8 +1,8 @@
PRGNAM="libunicapgtk" PRGNAM="libunicapgtk"
VERSION="20110826" VERSION="20150328"
HOMEPAGE="https://github.com/unicap" HOMEPAGE="https://github.com/unicap"
DOWNLOAD="https://github.com/unicap/unicap/archive/d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9.tar.gz" DOWNLOAD="https://github.com/unicap/unicap/archive/2c600aef122e1b82d7ff08c176663db181f8d002.tar.gz"
MD5SUM="a9818dd7548a511c979e16f3e0cee135" MD5SUM="84ef19aaf131d44af9bde5a83781e1bd"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="libucil" REQUIRES="libucil"

View File

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines. # customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------| |-----handy-ruler------------------------------------------------------|
libunicapgtk: libunicapgtk (GTK widget set) libunicapgtk: libunicapgtk (GTK widget set for unicap)
libunicapgtk: libunicapgtk:
libunicapgtk: unicap provides a uniform interface to video capture devices. libunicapgtk: unicap provides a uniform interface to video capture devices.
libunicapgtk: It allows applications to use any supported video capture device libunicapgtk: It allows applications to use any supported video capture device
libunicapgtk: via a single API. libunicapgtk: via a single API.
libunicapgtk:
libunicapgtk: Building applications with a graphical user interface is made libunicapgtk: Building applications with a graphical user interface is made
libunicapgtk: especially easy with the unicapgtk widget set. libunicapgtk: especially easy with the unicapgtk widget set.
libunicapgtk: libunicapgtk:
libunicapgtk: Homepage: https://github.com/unicap libunicapgtk: Homepage: https://github.com/unicap
libunicapgtk: libunicapgtk:
libunicapgtk: