aboutsummaryrefslogtreecommitdiff
path: root/desktop/yad/yad.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-10-11 09:04:07 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-10-18 07:23:24 +0700
commitb37f84c41e3bcecaa742448b8c8ffd0f4d302411 (patch)
treefdd36b1f415d9f1c9dac5213b6dcc484f268cfd9 /desktop/yad/yad.SlackBuild
parent44c814f948adab71eb33f9ae3ffe43206b82673e (diff)
desktop/yad: Updated for version 0.31.2.
Thanks to gregory guy for the hints! Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'desktop/yad/yad.SlackBuild')
-rw-r--r--desktop/yad/yad.SlackBuild11
1 files changed, 10 insertions, 1 deletions
diff --git a/desktop/yad/yad.SlackBuild b/desktop/yad/yad.SlackBuild
index 38c4e440e639..0295c660be70 100644
--- a/desktop/yad/yad.SlackBuild
+++ b/desktop/yad/yad.SlackBuild
@@ -24,7 +24,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=yad
-VERSION=${VERSION:-0.28.1}
+VERSION=${VERSION:-0.31.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -55,6 +55,8 @@ else
LIBDIRSUFFIX=""
fi
+if pkg-config --exists webkit-1.0 ; then HTML="--enable-html" ; else HTML="" ; fi
+
set -e
rm -rf $PKG
@@ -70,6 +72,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Fix location of rgb.txt
+sed -i "s|/etc/X11/rgb\.txt|/usr/share/X11/rgb.txt|" configure.ac
+autoreconf -fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -79,6 +85,9 @@ CXXFLAGS="$SLKCFLAGS" \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
+ --with-rgb=/usr/share/X11/rgb.txt \
+ --enable-icon-browser \
+ $HTML \
--build=$ARCH-slackware-linux
make