summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--audio/volumeicon/README25
-rw-r--r--audio/volumeicon/volumeicon.SlackBuild14
-rw-r--r--audio/volumeicon/volumeicon.info8
3 files changed, 33 insertions, 14 deletions
diff --git a/audio/volumeicon/README b/audio/volumeicon/README
index a2db2865fe..fa39390ce0 100644
--- a/audio/volumeicon/README
+++ b/audio/volumeicon/README
@@ -1,16 +1,23 @@
-Volume Icon aims to be a lightweight volume control that sits in your systray.
+Volume Icon aims to be a lightweight volume control that sits in your
+systray.
Features :
-Change volume by scrolling on the systray icon
-Ability to choose which channel to control
-Configurable stepsize (percentage of volume increase/decrease per scrollwheel step)
-Several icon themes (with gtk theme as default)
-Configurable external mixer
-Volume Slider
+* Change volume by scrolling on the systray icon
+* Ability to choose which channel to control
+* Configurable stepsize (percentage of volume increase/decrease per
+ scrollwheel step)
+* Several icon themes (with gtk theme as default)
+* Configurable external mixer
+* Volume Slider
+* Hotkey support
+* Optional notification support
To enable OSS support, you will need to run the script like this:
OSS=yes ./volumeicon.SlackBuild
+To enable notifications, you will need to run the script like this:
+NOTIFY=yes ./volumeicon.SlackBuild
+
By default Volume Icon will be built with ALSA as its backend.
-Note that it is not possible to build with both ALSA and OSS support at the moment,
-so using this flag will disable ALSA support.
+Note that it is not possible to build with both ALSA and OSS support at
+the moment, so using this flag will disable ALSA support.
diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild
index 64ff2aeb5d..b2458eb8e1 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
diff --git a/audio/volumeicon/volumeicon.info b/audio/volumeicon/volumeicon.info
index b44d53676d..25656413e5 100644
--- a/audio/volumeicon/volumeicon.info
+++ b/audio/volumeicon/volumeicon.info
@@ -1,10 +1,10 @@
PRGNAM="volumeicon"
-VERSION="0.4.1"
+VERSION="0.4.3"
HOMEPAGE="http://softwarebakery.com/maato/volumeicon.html"
-DOWNLOAD="http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.4.1.tar.gz"
-MD5SUM="a63e83b8a5d41dca38d077934bce9fcf"
+DOWNLOAD="http://softwarebakery.com/maato/files/volumeicon/volumeicon-0.4.3.tar.gz"
+MD5SUM="6d90e13a385f8e77f5ca568fdfaaaa35"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Daniel Cash"
EMAIL="dacashman@gmail.com"
-APPROVED="dsomero"
+APPROVED="Niels Horn"