[arch-commits] Commit in qtwebkit/trunk (PKGBUILD)
Andrea Scarpino
andrea at archlinux.org
Fri Jan 13 22:00:59 UTC 2012
Date: Friday, January 13, 2012 @ 17:00:58
Author: andrea
Revision: 146591
Build the QWebView designer plugin from qt-4.8 (FS#27914)
Modified:
qtwebkit/trunk/PKGBUILD
----------+
PKGBUILD | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-01-13 21:49:06 UTC (rev 146590)
+++ PKGBUILD 2012-01-13 22:00:58 UTC (rev 146591)
@@ -3,7 +3,7 @@
pkgname=qtwebkit
pkgver=2.2.1
-pkgrel=1
+pkgrel=2
arch=('i686' 'x86_64')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
@@ -13,8 +13,10 @@
conflicts=('qt<4.8')
#source=("http://get.qt.nokia.com/${pkgname}/QtWebKit-${pkgver}.tar.gz"
source=("ftp://ftp.archlinux.org/other/${pkgname}/QtWebKit-${pkgver}.tar.gz"
+ "ftp://ftp.archlinux.org/other/${pkgname}/qwebview-4.8.0.tar.bz2"
'python2-path.patch')
sha1sums=('283fc116882157df0474af496be73bb9b34cb001'
+ '379478b152c96a75fd9a7db268d8f3fa6cfa8ace'
'b0ef3d5596171e3900a685df9bcfac3068ad6330')
build() {
@@ -28,6 +30,11 @@
--makeargs="${MAKEFLAGS}" \
--release \
--3d-canvas
+
+ # Build the QWebView plugin (FS#27914)
+ cd "${srcdir}"/qt-everywhere-opensource-src-4.8.0/tools/designer/src/plugins/qwebview
+ qmake
+ make
}
package() {
@@ -36,4 +43,7 @@
# Fix RPATH
chrpath -r /usr/lib/ "${pkgdir}"/usr/lib/qt/imports/QtWebKit/libqmlwebkitplugin.so
+
+ cd "${srcdir}"/qt-everywhere-opensource-src-4.8.0/tools/designer/src/plugins/qwebview
+ make INSTALL_ROOT="${pkgdir}" install
}
More information about the arch-commits
mailing list