contrib/webkit/Pkgfile

49 lines
1.0 KiB
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-base1 gtk3 icu libsoup glu ruby gperf libwebp libsecret
# Nice to have: geoclue
2009-11-22 17:01:12 +01:00
name=webkit
version=2.0.0
2012-12-20 10:18:35 +01:00
release=1
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
2009-11-22 17:01:12 +01:00
build() {
2012-11-05 04:50:43 +01:00
cd webkitgtk-$version
2012-11-05 10:42:51 +01:00
mkdir build-gtk2 build-gtk3
2009-11-22 17:01:12 +01:00
if [ -z "$(pkginfo -i | grep '^geoclue ')" ]; then
local config='--disable-geolocation '
fi
local config+="\
--prefix=/usr \
--mandir=/usr/man \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit"
2012-11-05 10:42:51 +01:00
cd build-gtk2
../configure $config \
--libexecdir=/usr/lib/webkitgtk2 \
--with-gtk=2.0 \
--disable-webkit2
make
make DESTDIR=$PKG install
2012-11-05 10:42:51 +01:00
cd ../build-gtk3
../configure $config \
--libexecdir=/usr/lib/webkitgtk3
2009-11-22 17:01:12 +01:00
make
make DESTDIR=$PKG install
2012-11-05 10:42:51 +01:00
rm -r $PKG/usr/share/locale
2009-11-22 17:01:12 +01:00
}