![Danny Rawlins](/assets/img/avatar_default.png)
Note new dependencies gst-plugins-base1 yes not a typo 1 on the end for the new 1.x branch of gstreamer libwebp and libsecret new dependencies along with gstreamer1 and gst-plugins-base1, libsoup requires a update before building webkit aswell.
49 lines
1.0 KiB
Plaintext
49 lines
1.0 KiB
Plaintext
# Description: Small, efficient and fast rendering engine for Web Browsers.
|
|
# URL: http://www.webkitgtk.org/
|
|
# 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
|
|
|
|
name=webkit
|
|
version=2.0.0
|
|
release=1
|
|
source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz)
|
|
|
|
build() {
|
|
cd webkitgtk-$version
|
|
mkdir build-gtk2 build-gtk3
|
|
|
|
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"
|
|
|
|
cd build-gtk2
|
|
|
|
../configure $config \
|
|
--libexecdir=/usr/lib/webkitgtk2 \
|
|
--with-gtk=2.0 \
|
|
--disable-webkit2
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
cd ../build-gtk3
|
|
|
|
../configure $config \
|
|
--libexecdir=/usr/lib/webkitgtk3
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share/locale
|
|
}
|