summaryrefslogtreecommitdiff
path: root/extra/qtwebkit/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-03-25 00:05:30 -0700
committerroot <root@rshg054.dnsready.net>2013-03-25 00:05:30 -0700
commit32793d9a5b60ef0591c71c12ad75121d9b155adf (patch)
treeab1afae584dd06fd4ab20f57fb5a624e907f0985 /extra/qtwebkit/PKGBUILD
parent31416859638d756d88136e4e0eb78027c16ac17f (diff)
Mon Mar 25 00:05:30 PDT 2013
Diffstat (limited to 'extra/qtwebkit/PKGBUILD')
-rw-r--r--extra/qtwebkit/PKGBUILD33
1 files changed, 24 insertions, 9 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 90ef10954..190c09638 100644
--- a/extra/qtwebkit/PKGBUILD
+++ b/extra/qtwebkit/PKGBUILD
@@ -1,10 +1,9 @@
-# $Id: PKGBUILD 178989 2013-03-01 10:24:37Z andrea $
+# $Id: PKGBUILD 180583 2013-03-23 23:09:38Z td123 $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=qtwebkit
-pkgver=2.3.beta2
-_pkgver=2.3-beta2
-pkgrel=2
+pkgver=2.3.0
+pkgrel=1
arch=('i686' 'x86_64')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
@@ -12,10 +11,15 @@ license=('LGPL2.1' 'GPL3')
depends=('qt4' 'systemd' 'gstreamer0.10-base')
makedepends=('gperf' 'python2' 'ruby' 'git' 'mesa')
conflicts=('qt<4.8')
-source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${_pkgver}"
- 'use-python2.patch')
-sha1sums=('b1bfa9e3303ce9c95eec0a1e66b2b812b844bf08'
- '315b6ff603f35e5492a036f7082f6aa075dfb607')
+_qtver=4.8.4
+source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${pkgver}"
+ "http://releases.qt-project.org/qt4/source/qt-everywhere-opensource-src-${_qtver}.tar.gz"
+ 'use-python2.patch'
+ 'qwebview.patch')
+sha1sums=('8e0aa2f895376a0a88b55548bfadb270da3708ba'
+ 'f5880f11c139d7d8d01ecb8d874535f7d9553198'
+ '315b6ff603f35e5492a036f7082f6aa075dfb607'
+ 'ef467fcfc9e74aa88356f27acc21792706ed1e4d')
build() {
cd webkit-qtwebkit-23
@@ -25,17 +29,28 @@ build() {
OPTS="--no-webkit2"
if [ "${CARCH}" = "i686" ]; then
# FS#33418
- OPTS="${OPTS} --no-sse2"
+ OPTS="${OPTS} --no-force-sse2"
fi
export QTDIR=/usr
+ export PATH="/usr/lib/qt4/bin:$PATH"
Tools/Scripts/build-webkit --qt \
--makeargs="${MAKEFLAGS}" \
--prefix=/usr \
${OPTS}
+
+ # Build the QWebView plugin (FS#27914)
+ cd ../qt-everywhere-opensource-src-${_qtver}
+ patch -p1 -i "${srcdir}"/qwebview.patch
+ cd tools/designer/src/plugins/qwebview
+ qmake-qt4
+ make
}
package() {
cd webkit-qtwebkit-23
make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install
+
+ cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview
+ make INSTALL_ROOT="${pkgdir}" install
}