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
|
2009-11-23 03:01:12 +11:00
|
|
|
release=1
|
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
|
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
|
|
|
|
|
|
|
|
./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 14:50:43 +11:00
|
|
|
--with-unicode-backend=icu
|
2009-11-23 03:01:12 +11:00
|
|
|
|
2012-11-05 14:50:43 +11:00
|
|
|
make -j1
|
|
|
|
make -j1 DESTDIR=$PKG install
|
2012-06-20 18:14:39 +10:00
|
|
|
|
|
|
|
rm -r \
|
|
|
|
$PKG/usr/share/locale \
|
|
|
|
$PKG/usr/share/gtk-doc
|
2009-11-23 03:01:12 +11:00
|
|
|
}
|