aboutsummaryrefslogtreecommitdiff
path: root/audio/volumeicon/volumeicon.SlackBuild
diff options
context:
space:
mode:
authorDaniel Cash <dacashman@gmail.com>2011-08-21 22:05:33 -0300
committerNiels Horn <niels.horn@slackbuilds.org>2011-08-21 22:05:33 -0300
commit27f6419c387b460c83791b38d4374a5cecce5a8d (patch)
tree5ac3f66d6c49cdae50d3b1cd649b75067708ce49 /audio/volumeicon/volumeicon.SlackBuild
parent10e6a88e06d66c664f66b8973602462e90c16993 (diff)
audio/volumeicon: Updated for version 0.4.3.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
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