diff options
author | Patrick J Volkerding <volkerdi@slackware.com> | 2020-02-02 21:16:47 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2020-02-03 08:59:49 +0100 |
commit | 33922460637dc8e8d724f5fa0ffddc184d7b2eea (patch) | |
tree | 5ec1858d3e25c3a1774530cadeb5ad2fc7da922f /source/xap/xsane/xsane.SlackBuild | |
parent | 0b67de0df533e1bab9e1f52ce62c45327f2fc5ae (diff) | |
download | current-33922460637dc8e8d724f5fa0ffddc184d7b2eea.tar.gz current-33922460637dc8e8d724f5fa0ffddc184d7b2eea.tar.xz |
Sun Feb 2 21:16:47 UTC 202020200202211647
a/inotify-tools-3.20.2.2-x86_64-1.txz: Upgraded.
l/imagemagick-7.0.9_21-x86_64-1.txz: Upgraded.
l/libmtp-1.1.17-x86_64-1.txz: Upgraded.
l/libtasn1-4.16.0-x86_64-1.txz: Upgraded.
n/gnutls-3.6.12-x86_64-1.txz: Upgraded.
n/s-nail-14.9.17-x86_64-1.txz: Upgraded.
x/xterm-353-x86_64-1.txz: Upgraded.
xap/xsane-0.999-x86_64-3.txz: Rebuilt.
Added plugin symlink for GIMP. Thanks to Markus Wiesner.
Diffstat (limited to '')
-rwxr-xr-x | source/xap/xsane/xsane.SlackBuild | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/source/xap/xsane/xsane.SlackBuild b/source/xap/xsane/xsane.SlackBuild index b8130201e..22264ca1c 100755 --- a/source/xap/xsane/xsane.SlackBuild +++ b/source/xap/xsane/xsane.SlackBuild @@ -1,6 +1,6 @@ #!/bin/bash -# Copyright 2008, 2009, 2011, 2015, 2018 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2008, 2009, 2011, 2015, 2018, 2020 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,7 +24,7 @@ cd $(dirname $0) ; CWD=$(pwd) PKGNAM=xsane VERSION=0.999 -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} # Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then @@ -51,12 +51,16 @@ PKG=$TMP/package-xsane if [ "$ARCH" = "i586" ]; then SLKCFLAGS="-O2 -march=i586 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "s390" ]; then SLKCFLAGS="-O2" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" + LIBDIRSUFFIX="" fi rm -rf $PKG @@ -114,6 +118,9 @@ cp -a \ rm -f $PKG/usr/doc/xsane-$VERSION/xsane.spec* ( cd $PKG/usr/doc/xsane-$VERSION ; ln -s /usr/share/sane/xsane/doc html ) +mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins +( cd $PKG/usr/lib${LIBDIRSUFFIX}/gimp/2.0/plug-ins ; ln -s /usr/bin/xsane xsane ) + # Compress and link manpages, if any: if [ -d $PKG/usr/man ]; then ( cd $PKG/usr/man |