summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Philip Lacroix <philnx at posteo dot de>2015-04-19 23:55:48 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2015-04-19 23:55:48 +0700
commite1c14b78004a00d088e9dda4d7511b039174ea0e (patch)
tree1dd12d1798dbff90ed726c3b3d1d3a61cbf7a880
parent4cf210384686ecf6bcd212a8860f38f51ba736bb (diff)
downloadslackbuilds-e1c14b780.tar.gz
slackbuilds-e1c14b780.tar.xz
libraries/libunicapgtk: Updated for version 20150328.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--libraries/libunicapgtk/README1
-rw-r--r--libraries/libunicapgtk/libunicapgtk.SlackBuild20
-rw-r--r--libraries/libunicapgtk/libunicapgtk.info6
-rw-r--r--libraries/libunicapgtk/slack-desc4
4 files changed, 16 insertions, 15 deletions
diff --git a/libraries/libunicapgtk/README b/libraries/libunicapgtk/README
index b149205e70..d11942449a 100644
--- a/libraries/libunicapgtk/README
+++ b/libraries/libunicapgtk/README
@@ -1,5 +1,4 @@
unicap provides a uniform interface to video capture devices. It allows
applications to use any supported video capture device via a single API.
-
Building applications with a graphical user interface is made especially
easy with the unicapgtk widget set.
diff --git a/libraries/libunicapgtk/libunicapgtk.SlackBuild b/libraries/libunicapgtk/libunicapgtk.SlackBuild
index 819c3bf195..0ccb8a7e0a 100644
--- a/libraries/libunicapgtk/libunicapgtk.SlackBuild
+++ b/libraries/libunicapgtk/libunicapgtk.SlackBuild
@@ -24,8 +24,8 @@
PRGNAM=libunicapgtk
SRCNAM=unicap
-VERSION=${VERSION:-20110826}
-SRCVERSION=${SRCVERSION:-d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9}
+VERSION=${VERSION:-20150328}
+SRCVERSION=${SRCVERSION:-2c600aef122e1b82d7ff08c176663db181f8d002}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,8 +63,8 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVERSION
-# The upstream tarball will be named differently, depending on the
-# file being downloaded manually (web browser) or with wget.
+# The upstream tarball will be named differently, depending on
+# the file being downloaded manually (web browser) or with wget.
if [ -e $CWD/$SRCVERSION.tar.gz ]; then
tar xvzf $CWD/$SRCVERSION.tar.gz
else
@@ -79,9 +79,7 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-PRGSHR=$PKG/usr/share
-PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
-
+# Prepare files needed for configuration and building.
autoreconf --force --install
intltoolize
@@ -95,9 +93,13 @@ CFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
-find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
- | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
+find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" \
+ | 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
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
diff --git a/libraries/libunicapgtk/libunicapgtk.info b/libraries/libunicapgtk/libunicapgtk.info
index 7b8c81eb76..7a3a295c5b 100644
--- a/libraries/libunicapgtk/libunicapgtk.info
+++ b/libraries/libunicapgtk/libunicapgtk.info
@@ -1,8 +1,8 @@
PRGNAM="libunicapgtk"
-VERSION="20110826"
+VERSION="20150328"
HOMEPAGE="https://github.com/unicap"
-DOWNLOAD="https://github.com/unicap/unicap/archive/d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9.tar.gz"
-MD5SUM="a9818dd7548a511c979e16f3e0cee135"
+DOWNLOAD="https://github.com/unicap/unicap/archive/2c600aef122e1b82d7ff08c176663db181f8d002.tar.gz"
+MD5SUM="84ef19aaf131d44af9bde5a83781e1bd"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libucil"
diff --git a/libraries/libunicapgtk/slack-desc b/libraries/libunicapgtk/slack-desc
index a21c622d02..87d7386b9a 100644
--- a/libraries/libunicapgtk/slack-desc
+++ b/libraries/libunicapgtk/slack-desc
@@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
-libunicapgtk: libunicapgtk (GTK widget set)
+libunicapgtk: libunicapgtk (GTK widget set for unicap)
libunicapgtk:
libunicapgtk: unicap provides a uniform interface to video capture devices.
libunicapgtk: It allows applications to use any supported video capture device
libunicapgtk: via a single API.
-libunicapgtk:
libunicapgtk: Building applications with a graphical user interface is made
libunicapgtk: especially easy with the unicapgtk widget set.
libunicapgtk:
libunicapgtk: Homepage: https://github.com/unicap
libunicapgtk:
+libunicapgtk: