2009-11-23 03:01:12 +11:00
|
|
|
# Description: Small, efficient and fast rendering engine for Web Browsers.
|
2010-01-28 20:23:28 +11:00
|
|
|
# URL: http://www.webkitgtk.org/
|
2009-11-23 03:01:12 +11:00
|
|
|
# Maintainer: Danny Rawlins, monster dot romster at gmail dot com
|
|
|
|
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
|
2012-11-05 14:50:43 +11:00
|
|
|
# Depends on: enchant gst-plugins-base gtk3 icu libsoup glu ruby gperf
|
2012-06-20 18:14:39 +10:00
|
|
|
# Nice to have: geoclue
|
2009-11-23 03:01:12 +11:00
|
|
|
|
|
|
|
name=webkit
|
2012-11-05 14:50:43 +11:00
|
|
|
version=1.10.1
|
2012-11-05 20:42:51 +11:00
|
|
|
release=2
|
2012-11-05 14:50:43 +11:00
|
|
|
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
|
|
|
|
gtkdoc-rebase-remove.patch)
|
2009-11-23 03:01:12 +11:00
|
|
|
|
|
|
|
build() {
|
2012-11-05 14:50:43 +11:00
|
|
|
cd webkitgtk-$version
|
2012-11-05 20:42:51 +11:00
|
|
|
mkdir build-gtk2 build-gtk3
|
2009-11-23 03:01:12 +11:00
|
|
|
|
2012-06-20 18:14:39 +10:00
|
|
|
patch -p1 -i $SRC/gtkdoc-rebase-remove.patch
|
|
|
|
|
|
|
|
if [ -z "$(pkginfo -i | grep '^geoclue ')" ]; then
|
|
|
|
local config='--disable-geolocation'
|
|
|
|
fi
|
|
|
|
|
2012-11-05 20:42:51 +11:00
|
|
|
cd build-gtk2
|
|
|
|
|
|
|
|
../configure $config \
|
|
|
|
--prefix=/usr \
|
|
|
|
--enable-video \
|
|
|
|
--with-font-backend=freetype \
|
|
|
|
--disable-gtk-doc \
|
|
|
|
--disable-silent-rules \
|
|
|
|
--enable-jit \
|
|
|
|
--with-unicode-backend=icu \
|
|
|
|
--libexecdir=/usr/lib/webkitgtk2 \
|
|
|
|
--with-gtk=2.0 \
|
|
|
|
--disable-webkit2
|
|
|
|
|
2012-11-07 22:26:11 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-11-05 20:42:51 +11:00
|
|
|
|
|
|
|
cd ../build-gtk3
|
|
|
|
|
|
|
|
../configure $config \
|
2009-11-23 03:01:12 +11:00
|
|
|
--prefix=/usr \
|
|
|
|
--enable-video \
|
|
|
|
--with-font-backend=freetype \
|
|
|
|
--disable-gtk-doc \
|
2012-11-05 14:50:43 +11:00
|
|
|
--disable-silent-rules \
|
2009-11-23 03:01:12 +11:00
|
|
|
--enable-jit \
|
2012-11-05 20:42:51 +11:00
|
|
|
--with-unicode-backend=icu \
|
|
|
|
--libexecdir=/usr/lib/webkitgtk3
|
2009-11-23 03:01:12 +11:00
|
|
|
|
2012-11-07 22:26:11 +11:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
2012-06-20 18:14:39 +10:00
|
|
|
|
2012-11-05 20:42:51 +11:00
|
|
|
rm -r $PKG/usr/share/locale
|
2009-11-23 03:01:12 +11:00
|
|
|
}
|