summaryrefslogtreecommitdiff
path: root/webkit/Pkgfile
blob: 49314852235fb87e27cd0ff0296e1b577dde5412 (plain)
    1 # Description: Small, efficient and fast rendering engine for Web Browsers.
    2 # URL: http://www.webkitgtk.org/
    3 # Maintainer: Danny Rawlins, monster dot romster at gmail dot com
    4 # Packager: Brett Goulder, predatorfreak at dcaf-security dot org
    5 # Depends on: enchant gst-plugins-base gtk3 icu libsoup glu ruby gperf
    6 # Nice to have: geoclue
    7 
    8 name=webkit
    9 version=1.10.2
   10 release=1
   11 source=(http://webkitgtk.org/releases/webkitgtk-$version.tar.xz
   12 	gtkdoc-rebase-remove.patch)
   13 
   14 build() {
   15 	cd webkitgtk-$version
   16 	mkdir build-gtk2 build-gtk3
   17 
   18 	patch -p1 -i $SRC/gtkdoc-rebase-remove.patch
   19 
   20 	if [ -z "$(pkginfo -i | grep '^geoclue ')" ]; then
   21 		local config='--disable-geolocation'
   22 	fi
   23 
   24 	cd build-gtk2
   25 
   26 	../configure $config \
   27 		--prefix=/usr \
   28 		--enable-video \
   29 		--with-font-backend=freetype \
   30 		--disable-gtk-doc \
   31 		--disable-silent-rules \
   32 		--enable-jit \
   33 		--with-unicode-backend=icu \
   34 		--libexecdir=/usr/lib/webkitgtk2 \
   35 		--with-gtk=2.0 \
   36 		--disable-webkit2
   37 
   38 	make
   39 	make DESTDIR=$PKG install
   40 
   41 	cd ../build-gtk3
   42 
   43 	../configure $config \
   44 		--prefix=/usr \
   45 		--enable-video \
   46 		--with-font-backend=freetype \
   47 		--disable-gtk-doc \
   48 		--disable-silent-rules \
   49 		--enable-jit \
   50 		--with-unicode-backend=icu \
   51 		--libexecdir=/usr/lib/webkitgtk3
   52 
   53 	make
   54 	make DESTDIR=$PKG install
   55 
   56 	rm -r $PKG/usr/share/locale
   57 }

Generated by cgit