diff options
Diffstat (limited to 'audio/volumeicon/volumeicon.SlackBuild')
-rw-r--r-- | audio/volumeicon/volumeicon.SlackBuild | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/audio/volumeicon/volumeicon.SlackBuild b/audio/volumeicon/volumeicon.SlackBuild index 667088d7ca..01b1b4ff20 100644 --- a/audio/volumeicon/volumeicon.SlackBuild +++ b/audio/volumeicon/volumeicon.SlackBuild @@ -1,7 +1,6 @@ #!/bin/sh # Slackware build script for volumeicon - # Written by Daniel Cash (Original Author) # Copyright 2014 Aaditya Bagga <aaditya_gnulinux@zoho.com> @@ -26,7 +25,7 @@ PRGNAM=volumeicon VERSION=${VERSION:-0.5.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} CWD=$(pwd) @@ -74,6 +73,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +# Check for GTK2 +if [ "$GTK2" == "yes" ]; then + # Patch courtesy https://aur.archlinux.org/packages/volumeicon-gtk2/ + patch -Np2 -b -z .orig -i $CWD/gtk2.patch + autoreconf -fi +fi CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ |