contrib/webkit/Pkgfile

41 lines
971 B
Plaintext
Raw Normal View History

2009-11-22 17:01:12 +01:00
# Description: Small, efficient and fast rendering engine for Web Browsers.
2010-01-28 10:23:28 +01:00
# URL: http://www.webkitgtk.org/
2009-11-22 17:01:12 +01: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 gtk icu libsoup mesa3d
# Nice to have: geoclue
2009-11-22 17:01:12 +01:00
name=webkit
version=1.8.3
2009-11-22 17:01:12 +01:00
release=1
source=(http://webkitgtk.org/releases/$name-$version.tar.xz
gtkdoc-rebase-remove.patch
webkit-bison26.patch)
2009-11-22 17:01:12 +01:00
build() {
cd $name-$version
patch -p1 -i $SRC/gtkdoc-rebase-remove.patch
patch -p1 -i $SRC/webkit-bison26.patch
if [ -z "$(pkginfo -i | grep '^geoclue ')" ]; then
local config='--disable-geolocation'
fi
./configure $config \
2009-11-22 17:01:12 +01:00
--prefix=/usr \
--enable-video \
--with-font-backend=freetype \
--disable-gtk-doc \
--enable-jit \
2011-10-08 11:42:31 +02:00
--with-unicode-backend=icu \
--with-gtk=2.0
2009-11-22 17:01:12 +01:00
2012-06-14 17:38:24 +02:00
make -j 1
2009-11-22 17:01:12 +01:00
make DESTDIR=$PKG install
rm -r \
$PKG/usr/share/locale \
$PKG/usr/share/gtk-doc
2009-11-22 17:01:12 +01:00
}