summaryrefslogtreecommitdiff
path: root/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackbuilds.org>2011-04-03 00:21:23 -0500
committerRobby Workman <rworkman@slackbuilds.org>2011-04-03 09:59:47 -0500
commit1ab290d69dcf4450efa118a038bc74cb13179790 (patch)
treec66b94f492902521f4abb039e6ac4847e0358144 /desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
parent7f49148719ee14d9dd1bf5f343b6015eacd63812 (diff)
downloadslackbuilds-1ab290d69dcf4450efa118a038bc74cb13179790.tar.gz
desktop/xfce4-screenshooter: Made libsoup optional; updated README
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild')
-rw-r--r--desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild12
1 files changed, 8 insertions, 4 deletions
diff --git a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
index 7b50a36654..f7bba3185f 100644
--- a/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
+++ b/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for xfce4-screenshooter
-# Copyright 2006,2007,2008,2009,2010 Robby Workman, Northport, Alabama, USA
+# Copyright 2006-2011 Robby Workman, Northport, Alabama, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,9 +24,11 @@
PRGNAM=xfce4-screenshooter
VERSION=1.7.9
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
+SOUPFORME=${SOUPFORME:-no}
+
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -71,8 +73,10 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Strip out the libsoup requirement, which will disable uploads to zimagez
-patch -p1 < $CWD/xfce4-screenshooter-1.7.9-no_libsoup.diff
+if [ "$SOUPFORME" = "no" ]; then
+ # Strip out the libsoup requirement, which will disable uploads to zimagez
+ patch -p1 < $CWD/xfce4-screenshooter-1.7.9-no_libsoup.diff
+fi
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \