summaryrefslogtreecommitdiff
path: root/libraries/webkitgtk/webkitgtk.SlackBuild
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2012-08-24 17:52:10 -0500
committerRobby Workman <rworkman@slackbuilds.org>2012-08-25 20:52:46 -0500
commitad4566bbc941a0a42353577d83b0182fdbf7511c (patch)
tree8b6f14f5c8e7c943f0b298888d873cedb03d00f3 /libraries/webkitgtk/webkitgtk.SlackBuild
parent65654e89d49fef18b42dfc60666005a34afbe18c (diff)
downloadslackbuilds-ad4566bbc941a0a42353577d83b0182fdbf7511c.tar.gz
libraries/webkitgtk: Bump to 1.8.3.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'libraries/webkitgtk/webkitgtk.SlackBuild')
-rw-r--r--libraries/webkitgtk/webkitgtk.SlackBuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild
index 0a14dc17ef..375ad86d35 100644
--- a/libraries/webkitgtk/webkitgtk.SlackBuild
+++ b/libraries/webkitgtk/webkitgtk.SlackBuild
@@ -2,7 +2,7 @@
#
# Slackware build script for WebKitGTK+
#
-# Copyright 2010 Erik W. Hanson, Minneapolis, MN, USA
+# Copyright 2010-2012 Erik W. Hanson, Minneapolis, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -24,7 +24,7 @@
PRGNAM=webkitgtk
SRCNAM=webkit
-VERSION=1.3.4
+VERSION=${VERSION:-1.8.3}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -61,11 +61,14 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.?z*
cd $SRCNAM-$VERSION
chown -R root:root .
chmod -R u+w,go+r-w,a-s .
+# Check if geoclue is there
+if pkg-config --exists geoclue ; then GEOCLUE="yes" ; else GEOCLUE="no" ; fi
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@@ -73,6 +76,8 @@ CXXFLAGS="$SLKCFLAGS" \
--disable-static \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--with-font-backend=pango \
+ --with-gtk=2.0 \
+ --enable-geolocation=$GEOCLUE \
--build=$ARCH-slackware-linux
make