diff options
Diffstat (limited to 'qtwebkit/Pkgfile')
-rw-r--r-- | qtwebkit/Pkgfile | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/qtwebkit/Pkgfile b/qtwebkit/Pkgfile new file mode 100644 index 000000000..610a71d68 --- /dev/null +++ b/qtwebkit/Pkgfile @@ -0,0 +1,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 +} |