libraries/libunicapgtk: Updated for version 20110826.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Philip Lacroix 2015-03-08 00:02:12 +07:00 committed by Willy Sudiarto Raharjo
parent 99f005bbfe
commit 9ca2501384
3 changed files with 23 additions and 13 deletions

View file

@ -23,7 +23,9 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=libunicapgtk
VERSION=${VERSION:-0.9.8}
SRCNAM=unicap
VERSION=${VERSION:-20110826}
SRCVERSION=${SRCVERSION:-d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -59,9 +61,17 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvzf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
rm -rf $SRCNAM-$SRCVERSION
# 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
tar xvzf $CWD/$SRCNAM-$SRCVERSION.tar.gz
fi
cd $SRCNAM-$SRCVERSION/$PRGNAM
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@ -72,6 +82,9 @@ find -L . \
PRGSHR=$PKG/usr/share
PRGDOC=$PKG/usr/doc/$PRGNAM-$VERSION
autoreconf --force --install
intltoolize
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@ -89,9 +102,6 @@ mkdir -p $PRGDOC
cp -a ABOUT-NLS AUTHORS COPYING ChangeLog INSTALL README $PRGDOC/
cat $CWD/$PRGNAM.SlackBuild > $PRGDOC/$PRGNAM.SlackBuild
# Remove empty doc-gtk documentation.
rm -r $PRGSHR/gtk-doc
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View file

@ -1,8 +1,8 @@
PRGNAM="libunicapgtk"
VERSION="0.9.8"
HOMEPAGE="http://unicap-imaging.org/"
DOWNLOAD="http://unicap-imaging.org/downloads/libunicapgtk-0.9.8.tar.gz"
MD5SUM="e68aac64ebf1c8149f9b8009ab855dd0"
VERSION="20110826"
HOMEPAGE="https://github.com/unicap"
DOWNLOAD="https://github.com/unicap/unicap/archive/d3b3e72ba5347fa00d9bfb589f5ad5066a8b64d9.tar.gz"
MD5SUM="a9818dd7548a511c979e16f3e0cee135"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="libucil"

View file

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