1
0
forked from ports/contrib
contrib/webkit/Pkgfile

39 lines
917 B
Plaintext
Raw Normal View History

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
# Depends on: enchant gst-plugins-base icu libsoup mesa3d libjpeg gtk
# Nice to have: geoclue
2009-11-23 03:01:12 +11:00
name=webkit
2012-06-15 01:38:24 +10:00
version=1.8.1
2009-11-23 03:01:12 +11:00
release=1
source=(http://webkitgtk.org/releases/$name-$version.tar.xz
gtkdoc-rebase-remove.patch)
2009-11-23 03:01:12 +11:00
build() {
cd $name-$version
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 \
--enable-jit \
2011-10-08 20:42:31 +11:00
--with-unicode-backend=icu \
--with-gtk=2.0
2009-11-23 03:01:12 +11:00
2012-06-15 01:38:24 +10:00
make -j 1
2009-11-23 03:01:12 +11:00
make DESTDIR=$PKG install
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/gtk-doc
2009-11-23 03:01:12 +11:00
}