summaryrefslogtreecommitdiffstats
path: root/extra/webkit/Pkgfile
blob: e598b8beead13ef344a27d057555d303ce42a258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Description: Moteur de rendu Web libre pour les navigateurs web
# URL: http://webkitgtk.org/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: curl, dbus, gperf, gst-plugins-base, icu, enchant, libsoup, gobject-introspection, xorg-libxt
# Run on: atk,cairo,gstreamer,gst-plugins-base,gtk,icu,libpng,pango,enchant,libsoup

name=webkit
version=1.2.7
release=1
source=(http://webkitgtk.org/$name-$version.tar.gz 
	webkit-1.2.6-introspection.patch
	webkit-1.2.7-libpng-1.5.patch)

build() {
	cd $name-$version

	patch -Np0 -i ../webkit-1.2.6-introspection.patch
	patch -Np0 -i ../webkit-1.2.7-libpng-1.5.patch

	./configure --prefix=/usr \
		--localstatedir=/var \
		--enable-introspection \
		--with-font-backend=freetype \
		--disable-gtk-doc \
		--enable-jit \
		--sysconfdir=/etc \
		--with-unicode-backend=icu \
		--enable-video
	make
	make DESTDIR=$PKG install
}