diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2020-12-09 21:21:14 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2021-04-17 23:58:00 -0500 |
commit | 6e7fd92b5485f680a1728298f36aa852f693b0ef (patch) | |
tree | 1dc90188f058a584670ff7e3eae16259ceb75a4a /graphics | |
parent | 1354984757870004176a1117b57011d2166eb5a6 (diff) | |
download | slackbuilds-6e7fd92b5485f680a1728298f36aa852f693b0ef.tar.gz |
graphics/screengrab: Updated for version 2.1.0.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/screengrab/screengrab.SlackBuild | 19 | ||||
-rw-r--r-- | graphics/screengrab/screengrab.info | 10 |
2 files changed, 12 insertions, 17 deletions
diff --git a/graphics/screengrab/screengrab.SlackBuild b/graphics/screengrab/screengrab.SlackBuild index 33aedaac88..cf6c465bd4 100644 --- a/graphics/screengrab/screengrab.SlackBuild +++ b/graphics/screengrab/screengrab.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for screengrab -# Copyright 2013-2015 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy +# Copyright 2013-2020 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -22,13 +22,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=screengrab -VERSION=${VERSION:-1.2.1} +VERSION=${VERSION:-2.1.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -39,9 +39,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -IS64BITS=0 -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" @@ -49,7 +48,6 @@ elif [ "$ARCH" = "i686" ]; then elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" LIBDIRSUFFIX="64" - IS64BITS=1 else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -61,7 +59,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.?z cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -73,11 +71,8 @@ find -L . \ mkdir -p build cd build cmake \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib$LIBDIRSUFFIX \ - -DIS64BITS=$IS64BITS \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG @@ -86,7 +81,7 @@ cd .. 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 -# move the docs in slackware standard location +# move the docs in Slackware standard location mkdir $PKG/usr/doc mv $PKG/usr/share/doc/$PRGNAM $PKG/usr/doc/$PRGNAM-$VERSION rmdir $PKG/usr/share/doc diff --git a/graphics/screengrab/screengrab.info b/graphics/screengrab/screengrab.info index e65afe4eac..03f727edae 100644 --- a/graphics/screengrab/screengrab.info +++ b/graphics/screengrab/screengrab.info @@ -1,10 +1,10 @@ PRGNAM="screengrab" -VERSION="1.2.1" -HOMEPAGE="http://screengrab.doomer.org" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/screengrab-1.2.1.tar.gz" -MD5SUM="b233b108558c509419bd754ba1c2c318" +VERSION="2.1.0" +HOMEPAGE="https://github.com/lxqt/screengrab" +DOWNLOAD="https://github.com/lxqt/screengrab/releases/download/2.1.0/screengrab-2.1.0.tar.xz" +MD5SUM="fdde74326b8155f1e926f329c00ff86e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="libqtxdg" MAINTAINER="Matteo Bernardini" EMAIL="ponce@slackbuilds.org" |