summaryrefslogtreecommitdiffstats
path: root/desktop/yad/yad.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/yad/yad.SlackBuild')
-rw-r--r--desktop/yad/yad.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/yad/yad.SlackBuild b/desktop/yad/yad.SlackBuild
index ba31081fd7..fe65838b73 100644
--- a/desktop/yad/yad.SlackBuild
+++ b/desktop/yad/yad.SlackBuild
@@ -3,7 +3,7 @@
# Slackware build script for yad
# Copyright 2010-2014 Charles <SlackBuilds@catcons.co.uk>
-# Copyright 2015-2016 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
+# Copyright 2015-2017 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yad
-VERSION=${VERSION:-0.38.0}
+VERSION=${VERSION:-0.38.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,7 @@ else
LIBDIRSUFFIX=""
fi
+GTK=${GTK:-2}
if pkg-config --exists webkit-1.0 ; then HTML="--enable-html" ; else HTML="" ; fi
set -e
@@ -83,7 +84,7 @@ CXXFLAGS="$SLKCFLAGS" \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--with-rgb=/usr/share/X11/rgb.txt \
--enable-icon-browser \
- --with-gtk=gtk2 \
+ --with-gtk=gtk$GTK \
$HTML \
--build=$ARCH-slackware-linux