diff options
author | Philip Lacroix <philnx at posteo dot de> | 2015-03-08 00:02:12 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2015-03-08 00:02:12 +0700 |
commit | 9ca2501384f54a60a2a7bf64290e40b5ab36890f (patch) | |
tree | 6e40cbcac71eb364b96fdde5086c34d24d584c72 /libraries | |
parent | 99f005bbfeac97ecd96586dcec8c622837208995 (diff) | |
download | slackbuilds-9ca2501384f54a60a2a7bf64290e40b5ab36890f.tar.gz |
libraries/libunicapgtk: Updated for version 20110826.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libunicapgtk/libunicapgtk.SlackBuild | 24 | ||||
-rw-r--r-- | libraries/libunicapgtk/libunicapgtk.info | 8 | ||||
-rw-r--r-- | libraries/libunicapgtk/slack-desc | 4 |
3 files changed, 23 insertions, 13 deletions
diff --git a/libraries/libunicapgtk/libunicapgtk.SlackBuild b/libraries/libunicapgtk/libunicapgtk.SlackBuild index 1dc3f822dc..819c3bf195 100644 --- a/libraries/libunicapgtk/libunicapgtk.SlackBuild +++ b/libraries/libunicapgtk/libunicapgtk.SlackBuild @@ -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 diff --git a/libraries/libunicapgtk/libunicapgtk.info b/libraries/libunicapgtk/libunicapgtk.info index 2d87cff76d..7b8c81eb76 100644 --- a/libraries/libunicapgtk/libunicapgtk.info +++ b/libraries/libunicapgtk/libunicapgtk.info @@ -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" diff --git a/libraries/libunicapgtk/slack-desc b/libraries/libunicapgtk/slack-desc index b2dd980a8f..a21c622d02 100644 --- a/libraries/libunicapgtk/slack-desc +++ b/libraries/libunicapgtk/slack-desc @@ -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: |