diff options
author | Philip Lacroix <slackph at posteo dot de> | 2017-02-14 15:27:02 +0000 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-02-17 21:52:06 +0000 |
commit | 93797bb27fee99725e8016cbd410b6be4e731a27 (patch) | |
tree | 0e1fb4ebf6dc364941be57b9f171844958f18b8a /libraries | |
parent | d16f01ca60a32e963eda8c07b78fe2f5bd70ad83 (diff) |
libraries/libucil: Updated for version 20160609.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libucil/README | 2 | ||||
-rw-r--r-- | libraries/libucil/libucil.SlackBuild | 29 | ||||
-rw-r--r-- | libraries/libucil/libucil.info | 6 |
3 files changed, 16 insertions, 21 deletions
diff --git a/libraries/libucil/README b/libraries/libucil/README index 7b3e09a060713..f5cc2c29c9786 100644 --- a/libraries/libucil/README +++ b/libraries/libucil/README @@ -1,4 +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. The ucil library provides easy to use functions to render text and graphic -overlays onto video images. +overlays onto video images. diff --git a/libraries/libucil/libucil.SlackBuild b/libraries/libucil/libucil.SlackBuild index 6f7c76212f79d..d52d6de5db424 100644 --- a/libraries/libucil/libucil.SlackBuild +++ b/libraries/libucil/libucil.SlackBuild @@ -2,7 +2,7 @@ # Slackware build script for libucil -# Copyright 2015 Philip Lacroix <slackph at posteo dot de> +# Copyright 2015-2017 Philip Lacroix <slackph at posteo dot de> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,15 +23,17 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=libucil -SRCNAM=unicap -VERSION=${VERSION:-20150328} -SRCVERSION=${SRCVERSION:-2c600aef122e1b82d7ff08c176663db181f8d002} +VERSION=${VERSION:-20160609} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +#Source name and ID (GitHub). +SRCNAM=unicap +SRCVER=${SRCVER:-66f0e778cc6d8586d48e8e40ae34b47261972453} + if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -42,8 +44,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -61,17 +63,10 @@ set -e rm -rf $PKG 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. -if [ -e $CWD/$SRCVERSION.tar.gz ]; then - tar xvzf $CWD/$SRCVERSION.tar.gz -else - tar xvzf $CWD/$SRCNAM-$SRCVERSION.tar.gz -fi +rm -rf $SRCNAM-$SRCVER +tar xvzf $CWD/$SRCNAM-$SRCVER.tar.gz -cd $SRCNAM-$SRCVERSION/$PRGNAM +cd $SRCNAM-$SRCVER/$PRGNAM chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ diff --git a/libraries/libucil/libucil.info b/libraries/libucil/libucil.info index b18bce82d62eb..2d18ad81e9fbf 100644 --- a/libraries/libucil/libucil.info +++ b/libraries/libucil/libucil.info @@ -1,8 +1,8 @@ PRGNAM="libucil" -VERSION="20150328" +VERSION="20160609" HOMEPAGE="https://github.com/unicap" -DOWNLOAD="https://github.com/unicap/unicap/archive/2c600aef122e1b82d7ff08c176663db181f8d002.tar.gz" -MD5SUM="84ef19aaf131d44af9bde5a83781e1bd" +DOWNLOAD="https://github.com/unicap/unicap/archive/66f0e778cc6d8586d48e8e40ae34b47261972453/unicap-66f0e778cc6d8586d48e8e40ae34b47261972453.tar.gz" +MD5SUM="3bca32aaad9b8bf575fc59c9296758a4" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="libunicap" |