summaryrefslogtreecommitdiff
path: root/libraries
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
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')
-rw-r--r--libraries/webkitgtk/README2
-rw-r--r--libraries/webkitgtk/webkitgtk.SlackBuild11
-rw-r--r--libraries/webkitgtk/webkitgtk.info6
3 files changed, 13 insertions, 6 deletions
diff --git a/libraries/webkitgtk/README b/libraries/webkitgtk/README
index 37de735d80..9472d468e7 100644
--- a/libraries/webkitgtk/README
+++ b/libraries/webkitgtk/README
@@ -1,2 +1,4 @@
WebKitGTK+ is the port of the portable web rendering
engine WebKit to the GTK+ platform.
+
+geoclue (to enable support for geolocation) is an optional dep.
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
diff --git a/libraries/webkitgtk/webkitgtk.info b/libraries/webkitgtk/webkitgtk.info
index 5092a17f08..3b4012939c 100644
--- a/libraries/webkitgtk/webkitgtk.info
+++ b/libraries/webkitgtk/webkitgtk.info
@@ -1,8 +1,8 @@
PRGNAM="webkitgtk"
-VERSION="1.3.4"
+VERSION="1.8.3"
HOMEPAGE="http://webkitgtk.org/"
-DOWNLOAD="http://webkitgtk.org/webkit-1.3.4.tar.gz"
-MD5SUM="a46046e438c148ffbce6a438f86733bc"
+DOWNLOAD="http://www.webkitgtk.org/releases/webkit-1.8.3.tar.xz"
+MD5SUM="dcbf9d5e2e6391f857c29a57528b32a6"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""