contrib/webkit-gtk2/Pkgfile
2017-11-22 16:24:16 +11:00

39 lines
916 B
Plaintext

# Description: Small, efficient and fast rendering engine for Web Browsers.
# URL: http://www.webkitgtk.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Brett Goulder, predatorfreak at dcaf-security dot org
# Depends on: enchant glu gperf gst-plugins-base gtk harfbuzz-icu libsecret libsoup libwebp ruby xorg-libxt
name=webkit-gtk2
version=2.4.11
release=2
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
webkitgtk-2.4.9-abs.patch
icu59.patch)
build() {
cd webkitgtk-$version
patch -p1 -i $SRC/webkitgtk-2.4.9-abs.patch
patch -p1 -i $SRC/icu59.patch
install -d build
cd build
../configure \
--prefix=/usr \
--disable-geolocation \
--disable-gtk-doc-html \
--disable-silent-rules \
--enable-video \
--enable-jit \
--libexecdir=/usr/lib/webkitgtk2 \
--with-gtk=2.0 \
--disable-webkit2
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/locale
}