summaryrefslogtreecommitdiffstats
path: root/webkit/Pkgfile
blob: 012b37f635c5e0faeb9b183ed949a84b8dd88eaf (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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
# 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: gtk3, curl, dbus, gperf, gst-plugins-base, icu, enchant, libsoup, gobject-introspection, libxslt, xorg-libxt, gobject-introspection
# Run on: gtk3,curl,dbus,gst-plugins-base,icu,enchant,libsoup,libxslt,xorg-libxt

name=webkit
version=1.6.1
release=2
source=(http://webkitgtk.org/$name-$version.tar.gz)

build() {
	export PYTHON=/usr/bin/python2
	cp -r $name-$version $name-3-$version

	cd $name-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-introspection \
		--enable-video \
		--enable-jit \
		--disable-schemas-compile \
		--with-font-backend=freetype \
		--with-unicode-backend=icu \
		--with-gtk=2.0
	make
	make DESTDIR=$PKG install
	mkdir $PKG/usr/lib/$name
	install -m755 Programs/GtkLauncher $PKG/usr/lib/$name

	cd $SRC/$name-3-$version
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--localstatedir=/var \
		--enable-introspection \
		--enable-video \
		--enable-jit \
		--disable-schemas-compile \
		--with-font-backend=freetype \
		--with-unicode-backend=icu \
		--with-gtk=3.0
	make
	make DESTDIR=$PKG install
	mkdir $PKG/usr/lib/${name}3
	install -m755 Programs/GtkLauncher $PKG/usr/lib/${name}3
}

#		--enable-3d-rendering \
#		--enable-webgl \
#		--enable-channel-messaging \
#		--enable-notifications \
#		--enable-meter-tag \
#		--enable-page-visibility-api
#		--enable-progress-tag \
#		--enable-javascript-debugger \
#		--enable-datagrid \
#		--enable-data-transfer-items \
#		--enable-offline-web-applications \
#		--enable-dom-storage \
#		--enable-indexed-database \
#		--enable-input-color \
#		--enable-input-speech \
#		--enable-sql-database \
#		--enable-icon-database \
#		--enable-image-resizer \
#		--enable-datalist \
#		--enable-sandbox \
#		--enable-media-source
#		--enable-media-statistics \
#		--enable-fullscreen-api \
#		--enable-xhtmlmp \
#		--enable-xpath \
#		--enable-xslt \
#		--enable-geolocation \
#		--enable-client-based-geolocation \
#		--enable-mathml \
#		--enable-svg \
#		--enable-wcss \
#		--enable-shared-workers \
#		--enable-workers \
#		--enable-directory-upload \
#		--enable-file-system \
#		--enable-quota \
#		--enable-filters \
#		--enable-svg-fonts \
#		--enable-web-sockets \
#		--enable-web-timing \
#		--enable-blob \
#		--enable-fast-mobile-scrolling \
#		--enable-jit \
#		--enable-link-prefetch \
#		--enable-introspection \
#		--enable-animation-api \
#		--enable-touch-icon-loading \
#		--enable-register-protocol-handler \
#		--enable-device-orientation \
#		--enable-plugin-process \
#		--enable-video \
#		--enable-video-track \
#		--enable-media-stream
#		--enable-web-audio \