From 33922460637dc8e8d724f5fa0ffddc184d7b2eea Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Sun, 2 Feb 2020 21:16:47 +0000 Subject: Sun Feb 2 21:16:47 UTC 2020 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. --- source/xap/xsane/xsane.SlackBuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'source/xap/xsane') diff --git a/source/xap/xsane/xsane.SlackBuild b/source/xap/xsane/xsane.SlackBuild index b8130201..22264ca1 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 -- cgit v1.2.3