aboutsummaryrefslogtreecommitdiff
path: root/audio/volumeicon/volumeicon.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'audio/volumeicon/volumeicon.SlackBuild')
-rw-r--r--audio/volumeicon/volumeicon.SlackBuild14
1 files changed, 13 insertions, 1 deletions
diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild
index 64ff2aeb5d7e..b2458eb8e180 100644
--- a/audio/volumeicon/volumeicon.SlackBuild
+++ b/audio/volumeicon/volumeicon.SlackBuild
@@ -5,7 +5,7 @@
# Written by Daniel Cash
PRGNAM=volumeicon
-VERSION=${VERSION:-0.4.1}
+VERSION=${VERSION:-0.4.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -40,6 +40,11 @@ fi
# disable ALSA support.
OSS=${OSS:-"NO"}
+
+# Pass NOTIFY=yes to enable notifications. This adds a dependency
+# for libnotify >= 0.5.0.
+NOTIFY=${NOTIFY:-"NO"}
+
set -e
if [ "${OSS:-yes}" = "yes" ]; then
@@ -48,6 +53,12 @@ else
oss_params=""
fi
+if [ "${NOTIFY:-yes}" = "yes" ]; then
+ notify_params="--enable-notify"
+else
+ notify_params=""
+fi
+
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
@@ -71,6 +82,7 @@ CXXFLAGS="$SLKCFLAGS" \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
$oss_params \
+ $notify_params \
--build=$ARCH-slackware-linux
make