summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
Diffstat (limited to 'desktop')
-rw-r--r--desktop/xfce4-screenshooter/README7
-rw-r--r--desktop/xfce4-screenshooter/slack-desc2
-rw-r--r--desktop/xfce4-screenshooter/xfce4-screenshooter.SlackBuild12
3 files changed, 13 insertions, 8 deletions
diff --git a/desktop/xfce4-screenshooter/README b/desktop/xfce4-screenshooter/README
index cda10c5806..21fcb3d790 100644
--- a/desktop/xfce4-screenshooter/README
+++ b/desktop/xfce4-screenshooter/README
@@ -1,4 +1,5 @@
-screenshooter plugin for Xfce
-
-The screenshooter plugin adds a panel button that allows you to
+xfce4-screenshooter-plugin adds a panel button that allows you to
take screenshots. It's similar to the gnome-screenshot function.
+
+libsoup is an optional dependency. To enable its use, pass
+SOUPFORME=yes to the script.
diff --git a/desktop/xfce4-screenshooter/slack-desc b/desktop/xfce4-screenshooter/slack-desc
index c8a17aa7fd..47805ca25c 100644
--- a/desktop/xfce4-screenshooter/slack-desc
+++ b/desktop/xfce4-screenshooter/slack-desc
@@ -7,7 +7,7 @@
|-----handy-ruler-----------------------------------------|
xfce4-screenshooter: xfce4-screenshooter (screenshooter plugin for Xfce)
-xfce4-screenshooter:
+xfce4-screenshooter:
xfce4-screenshooter: The screenshooter plugin adds a panel button
xfce4-screenshooter: that allows you to take screenshots. It's
xfce4-screenshooter: similar to the gnome-screenshot function.
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" \