### this file is sourced not run
PKGVER=2.4.9 # there is version 2.10.7, but we need this version for midori
PKGBUILD=1
PKGARCH=x86_64

# source: post BLFS 7.8 2016-01-30
TARBALL=webkitgtk-$PKGVER.tar.xz
MD5SUM=312fd29eb7f5970660c6a64b8bf8420e
SRC_URL=http://webkitgtk.org/releases/$TARBALL
BUNDLE=

SLACKREQ='gst2-plugins-base gtk2 libicu libsecret libsoup libwebp sqlite3
libenchant libxml2 harfbuzz-icu libxslt' # ruby build-time
SLACKDESC="webkitgtk: webkitgtk $PKGVER (Webkit HTML rendering engine for GTK)  
webkitgtk:  
webkitgtk: The WebKitGTK+ is the port of the portable web rendering engine 
webkitgtk: WebKit to the GTK+ 3 and/or GTK+ 2 platforms.  
webkitgtk: 
webkitgtk: 
webkitgtk: 
webkitgtk: 
webkitgtk: 
webkitgtk: 
webkitgtk:  
"

### default pkg_download
### default pkg_prepare
### default pkg_package
### build
pkg_build() {
	cd /tmp/webkit* &&
	sed -i '/generate-gtkdoc --rebase/s:^:# :' GNUmakefile.in &&
	
	mkdir build &&
	cp -a Documentation build &&
	cd build && 
	
	../configure $CONFFLAGS --with-gtk=2.0 --disable-webkit2 \
	    --disable-schemas-compile --enable-spellcheck --disable-geolocation
	make $MAKEFLAGS &&
	make install &&	
	pkg_build_slackdesc
}


