summaryrefslogtreecommitdiffstats
path: root/qtwebkit/Pkgfile
blob: 610a71d68b044b1cee5bb18d2d0c8e8f97369e03 (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
# Description: Implémentation Qt du moteur de rendu WebKit.
# URL: http://trac.webkit.org/wiki/QtWebKit
# Maintainer: http://trac.webkit.org/wiki/QtWebKit
# Packager: piernov <piernov@piernov.org>
# Depends on: qt
# Run on: qt

name=qtwebkit
version=2.2.2
release=1
qtversion=4.8.2
source=(ftp://ftp.archlinux.org/other/$name/$name-$version-source.tar.gz
	ftp://ftp.archlinux.org/other/$name/qwebview-$qtversion.tar.xz
	glibc.patch)

build() {
	cd $name-$version-source
	patch -p1 < ../glibc.patch

	# move headers
	mv include Source/

	cd Source
	qmake
	cd ../

	make -C Source
	make INSTALL_ROOT=$PKG -C Source install

	# Build the QWebView plugin (FS#27914)
	cd $SRC/$name-$version-source/qwebview-$qtversion/plugins/qwebview
	qmake
	make
	make INSTALL_ROOT=$PKG install
}