summaryrefslogtreecommitdiffstats
path: root/audio/volwheel
diff options
context:
space:
mode:
author Binh Nguyen <binhnguyen@fastmail.fm>2010-08-14 15:02:48 -0400
committer dsomero <xgizzmo@slackbuilds.org>2010-08-14 15:02:48 -0400
commitf04431a9afbe272f4e2388236bed72de15e7009a (patch)
tree1ae7fc7018428d6d1efbe7cf86dd0e91518e6b61 /audio/volwheel
parentc17aa0d390dddfce6a576418fdbe07ebb7162e53 (diff)
downloadslackbuilds-f04431a9afbe272f4e2388236bed72de15e7009a.tar.gz
slackbuilds-f04431a9afbe272f4e2388236bed72de15e7009a.tar.xz
audio/volwheel: Added (Tray icon to set volume with mousewheel)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'audio/volwheel')
-rw-r--r--audio/volwheel/README6
-rw-r--r--audio/volwheel/slack-desc19
-rw-r--r--audio/volwheel/volwheel.SlackBuild60
-rw-r--r--audio/volwheel/volwheel.info10
4 files changed, 95 insertions, 0 deletions
diff --git a/audio/volwheel/README b/audio/volwheel/README
new file mode 100644
index 0000000000..063999628c
--- /dev/null
+++ b/audio/volwheel/README
@@ -0,0 +1,6 @@
+VolWheel is a little application which lets you control the sound volume easily
+through a tray icon you can scroll on. It is written in Perl/Gtk2 and works
+both for ALSA and OSS. You can configure it quickly through its configuration
+interface.
+
+This requires perl-trayicon.
diff --git a/audio/volwheel/slack-desc b/audio/volwheel/slack-desc
new file mode 100644
index 0000000000..091c0ea72f
--- /dev/null
+++ b/audio/volwheel/slack-desc
@@ -0,0 +1,19 @@
+# HOW TO EDIT THIS FILE:
+# The "handy ruler" below makes it easier to edit a package description. Line
+# up the first '|' above the ':' following the base package name, and the '|'
+# on the right side marks the last column you can put a character in. You must
+# make exactly 11 lines for the formatting to be correct. It's also
+# customary to leave one space after the ':'.
+
+ |-----handy-ruler------------------------------------------------------|
+volwheel: VolWheel (Tray icon to set volume with mousewheel)
+volwheel:
+volwheel: VolWheel is a little application which lets you control the sound
+volwheel: volume easily through a tray icon you can scroll on. It is written in
+volwheel: Perl/Gtk2 and works both for ALSA and OSS. You can configure it
+volwheel: quickly through its configuration interface.
+volwheel:
+volwheel: Homepage: http://oliwer.net/b/volwheel.html
+volwheel:
+volwheel:
+volwheel:
diff --git a/audio/volwheel/volwheel.SlackBuild b/audio/volwheel/volwheel.SlackBuild
new file mode 100644
index 0000000000..99c78ad699
--- /dev/null
+++ b/audio/volwheel/volwheel.SlackBuild
@@ -0,0 +1,60 @@
+#!/bin/sh
+
+# Copyright 2010 Binh Nguyen <binhnguyen@fastmail.fm>
+# All rights reserved.
+#
+# Redistribution and use of this script, with or without modification, is
+# permitted provided that the following conditions are met:
+#
+# 1. Redistributions of this script must retain the above copyright
+# notice, this list of conditions and the following disclaimer.
+#
+# THIS SOFTWARE IS PROVIDED BY THE AUTHOR ''AS IS'' AND ANY EXPRESS OR IMPLIED
+# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
+# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
+# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;
+# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
+# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
+# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+PRGNAM=volwheel
+VERSION=${VERSION:-0.2.7}
+BUILD=${BUILD:-1}
+TAG=${TAG:-_SBo}
+
+ARCH=noarch
+
+CWD=$(pwd)
+TMP=${TMP:-/tmp/SBo}
+PKG=$TMP/package-$PRGNAM
+OUTPUT=${OUTPUT:-/tmp}
+
+set -eu
+
+rm -rf $PKG
+mkdir -p $TMP $PKG $OUTPUT
+cd $TMP
+rm -rf $PRGNAM-$VERSION-fixed
+tar xvf $CWD/$PRGNAM-$VERSION-fixed.tar.gz
+cd $PRGNAM-$VERSION-fixed
+chown -R root:root .
+find . \
+ \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
+ -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
+ -exec chmod 644 {} \;
+
+./install.pl --prefix=/usr --destdir=$PKG
+
+mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a COPYING ChangeLog README TODO $PKG/usr/doc/$PRGNAM-$VERSION
+cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
+
+mkdir -p $PKG/install
+cat $CWD/slack-desc > $PKG/install/slack-desc
+
+cd $PKG
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
diff --git a/audio/volwheel/volwheel.info b/audio/volwheel/volwheel.info
new file mode 100644
index 0000000000..79e74c1305
--- /dev/null
+++ b/audio/volwheel/volwheel.info
@@ -0,0 +1,10 @@
+PRGNAM="volwheel"
+VERSION="0.2.7"
+HOMEPAGE="http://oliwer.net/b/volwheel.html"
+DOWNLOAD="http://olwtools.googlecode.com/files/volwheel-0.2.7-fixed.tar.gz"
+MD5SUM="2a9742d38efacc1e4aefa3e0b9afa5e0"
+DOWNLOAD_x86_64=""
+MD5SUM_x86_64=""
+MAINTAINER="Binh Nguyen"
+EMAIL="binhnguyen@fastmail.fm"
+APPROVED="dsomero"