summaryrefslogtreecommitdiff
path: root/extra/qtwebkit
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-25 10:08:30 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-25 10:08:30 +0100
commit3ffe7613c97fecff8c5710dfbd44a984eaae9adc (patch)
tree35a12d280fa79d40862ced37a5908a566e1bdc39 /extra/qtwebkit
parent0a91993304168ce808fbb7eca986e03262ccb692 (diff)
parent32793d9a5b60ef0591c71c12ad75121d9b155adf (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/newsbeuter/PKGBUILD community/ruby-gtk2/PKGBUILD community/ruby-ncurses/PKGBUILD community/subtle/PKGBUILD extra/gegl/PKGBUILD extra/libebml/PKGBUILD extra/libmatroska/PKGBUILD extra/ncmpc/PKGBUILD extra/nx/PKGBUILD extra/qtwebkit/PKGBUILD
Diffstat (limited to 'extra/qtwebkit')
-rw-r--r--extra/qtwebkit/PKGBUILD28
-rw-r--r--extra/qtwebkit/qwebview.patch21
2 files changed, 42 insertions, 7 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD
index 1f91d23f8..6c9654667 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' 'mips64el')
url='http://trac.webkit.org/wiki/QtWebKit'
pkgdesc='An open source web browser engine (Qt port)'
@@ -12,11 +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}"
+_qtver=4.8.4
+source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${pkgver}"
'use-python2.patch'
+ 'qwebview.patch'
'LLIntCLoop32BigEndian.patch')
-sha1sums=('b1bfa9e3303ce9c95eec0a1e66b2b812b844bf08'
+sha1sums=('8e0aa2f895376a0a88b55548bfadb270da3708ba'
+ 'f5880f11c139d7d8d01ecb8d874535f7d9553198'
'315b6ff603f35e5492a036f7082f6aa075dfb607'
+ 'ef467fcfc9e74aa88356f27acc21792706ed1e4d'
'af830ae24e2ae5113754c9ae524d27ec0a28a9d6')
build() {
@@ -39,17 +42,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
}
diff --git a/extra/qtwebkit/qwebview.patch b/extra/qtwebkit/qwebview.patch
new file mode 100644
index 000000000..98f6f0f03
--- /dev/null
+++ b/extra/qtwebkit/qwebview.patch
@@ -0,0 +1,21 @@
+--- qt-everywhere-opensource-src-4.8.4/tools/designer/src/plugins/plugins.pri~ 2013-01-09 12:56:08.915412090 +0000
++++ qt-everywhere-opensource-src-4.8.4/tools/designer/src/plugins/plugins.pri 2013-01-09 12:58:06.911391299 +0000
+@@ -1,3 +1,6 @@
++INCLUDEPATH += ../../../../../../webkit-qtwebkit-23/WebKitBuild/Release/include
++LIBS += -L../../../../../../webkit-qtwebkit-23/WebKitBuild/Release/lib
++
+ CONFIG += designer
+ win32|mac: CONFIG+= debug_and_release
+ QTDIR_build:DESTDIR = $$QT_BUILD_TREE/plugins/designer
+--- qt-everywhere-opensource-src-4.8.4/tools/designer/src/plugins/plugins.pro~ 2013-01-09 12:55:43.598892405 +0000
++++ qt-everywhere-opensource-src-4.8.4/tools/designer/src/plugins/plugins.pro 2013-01-09 12:55:53.352169136 +0000
+@@ -2,9 +2,4 @@
+ CONFIG += ordered
+
+ REQUIRES = !CONFIG(static,shared|static)
+-contains(QT_CONFIG, qt3support): SUBDIRS += widgets
+-win32: SUBDIRS += activeqt
+-# contains(QT_CONFIG, opengl): SUBDIRS += tools/view3d
+ contains(QT_CONFIG, webkit): SUBDIRS += qwebview
+-contains(QT_CONFIG, phonon): SUBDIRS += phononwidgets
+-contains(QT_CONFIG, declarative): SUBDIRS += qdeclarativeview