aboutsummaryrefslogtreecommitdiff
path: root/desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild
diff options
context:
space:
mode:
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 7b50a36654260..f7bba3185fcb6 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" \