graphics/zbar: Updated for version 0.23.90.

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2022-01-03 14:34:00 +01:00 committed by Willy Sudiarto Raharjo
parent bf286dc798
commit 1768756368
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 10 additions and 6 deletions

View file

@ -9,3 +9,5 @@ as well as GUI widgets for Qt, GTK, and PyGTK.
If you want to enable reading from video stream, pass VIDEO=yes to the If you want to enable reading from video stream, pass VIDEO=yes to the
build script when executing it. build script when executing it.
jdk is an optional dependency.

View file

@ -26,7 +26,7 @@
cd $(dirname $0) ; CWD=$(pwd) cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=zbar PRGNAM=zbar
VERSION=${VERSION:-0.10} VERSION=${VERSION:-0.23.90}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz} PKGTYPE=${PKGTYPE:-tgz}
@ -75,7 +75,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
cd $TMP cd $TMP
rm -rf $PRGNAM-$VERSION rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.bz2 tar xvf $CWD/$PRGNAM-$VERSION.tar.?z*
cd $PRGNAM-$VERSION cd $PRGNAM-$VERSION
chown -R root:root . chown -R root:root .
find -L . \ find -L . \
@ -84,6 +84,8 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \; -exec chmod 644 {} \;
autoreconf -fi
CFLAGS="$SLKCFLAGS" \ CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
@ -108,7 +110,7 @@ for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; r
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \ cp -a \
COPYING ChangeLog NEWS HACKING README INSTALL LICENSE TODO \ ABOUT-NLS COPYING *.md \
$PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild

View file

@ -1,8 +1,8 @@
PRGNAM="zbar" PRGNAM="zbar"
VERSION="0.10" VERSION="0.23.90"
HOMEPAGE="https://sourceforge.net/projects/zbar/" HOMEPAGE="https://sourceforge.net/projects/zbar/"
DOWNLOAD="https://downloads.sourceforge.net/zbar/zbar-0.10.tar.bz2" DOWNLOAD="https://github.com/mchehab/zbar/archive/0.23.90/zbar-0.23.90.tar.gz"
MD5SUM="0fd61eb590ac1bab62a77913c8b086a5" MD5SUM="cb1667e20c1d7acf1b9911414adaeb84"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
REQUIRES="" REQUIRES=""