diff options
Diffstat (limited to 'libraries/webkitgtk/webkitgtk.SlackBuild')
-rw-r--r-- | libraries/webkitgtk/webkitgtk.SlackBuild | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/libraries/webkitgtk/webkitgtk.SlackBuild b/libraries/webkitgtk/webkitgtk.SlackBuild index 0a14dc17ef985..375ad86d356ad 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 |