summaryrefslogtreecommitdiffstats
path: root/abs/extra/qtwebkit/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2011-11-04 21:05:02 (GMT)
committerBritney Fransen <brfransen@gmail.com>2011-11-04 21:05:02 (GMT)
commiteac2f8783c29aa217b87a0be134bb495b9ac06e2 (patch)
treebea3784cce317ff9dbdbc4481470abe1be0d23a1 /abs/extra/qtwebkit/PKGBUILD
parent3bf0ba064b03ff390e31f0a19305ee309d70a26f (diff)
downloadlinhes_pkgbuild-eac2f8783c29aa217b87a0be134bb495b9ac06e2.zip
linhes_pkgbuild-eac2f8783c29aa217b87a0be134bb495b9ac06e2.tar.gz
linhes_pkgbuild-eac2f8783c29aa217b87a0be134bb495b9ac06e2.tar.bz2
qtwebkit: initial inclusion. dep of pyqt
Diffstat (limited to 'abs/extra/qtwebkit/PKGBUILD')
-rw-r--r--abs/extra/qtwebkit/PKGBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/abs/extra/qtwebkit/PKGBUILD b/abs/extra/qtwebkit/PKGBUILD
new file mode 100644
index 0000000..30f1c84
--- /dev/null
+++ b/abs/extra/qtwebkit/PKGBUILD
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea@archlinux.org>
+
+pkgname=qtwebkit
+pkgver=2.2.0
+pkgrel=3
+arch=('i686' 'x86_64')
+url='http://trac.webkit.org/wiki/QtWebKit'
+pkgdesc='An open source web browser engine (Qt port)'
+license=('LGPL2.1' 'GPL3')
+depends=('qt' 'gperf' 'bison' 'phonon' 'gstreamer0.10-base')
+makedepends=('python2' 'mesa' 'chrpath')
+conflicts=('qt<4.7')
+source=("http://get.qt.nokia.com/${pkgname}/QtWebKit-${pkgver}.tar.gz"
+ 'python2-path.patch')
+sha1sums=('3582f3a8b593140af004a19479f5ec19693b3df7'
+ 'b0ef3d5596171e3900a685df9bcfac3068ad6330')
+
+build() {
+ cd "${srcdir}"/QtWebKit-${pkgver}
+
+ patch -p1 -i "${srcdir}"/python2-path.patch
+
+ cd Tools/Scripts
+ ./build-webkit --qt \
+ --prefix=/usr \
+ --makeargs="${MAKEFLAGS}" \
+ --release \
+ --3d-canvas
+}
+
+package() {
+ cd "${srcdir}"/QtWebKit-${pkgver}
+ make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install
+
+ # Fix RPATH
+ chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/qt/imports/QtWebKit/libqmlwebkitplugin.so
+}