diff options
Diffstat (limited to 'extra/qtwebkit/PKGBUILD')
-rw-r--r-- | extra/qtwebkit/PKGBUILD | 31 |
1 files changed, 19 insertions, 12 deletions
diff --git a/extra/qtwebkit/PKGBUILD b/extra/qtwebkit/PKGBUILD index ed0eeb3f0..069e436a0 100644 --- a/extra/qtwebkit/PKGBUILD +++ b/extra/qtwebkit/PKGBUILD @@ -1,8 +1,8 @@ -# $Id: PKGBUILD 191650 2013-07-29 07:23:54Z andrea $ +# $Id: PKGBUILD 196523 2013-10-14 18:08:22Z andrea $ # Maintainer: Andrea Scarpino <andrea@archlinux.org> pkgname=qtwebkit -pkgver=2.3.2 +pkgver=2.3.3 pkgrel=1 arch=('i686' 'x86_64' 'mips64el') url='http://trac.webkit.org/wiki/QtWebKit' @@ -12,19 +12,26 @@ depends=('qt4' 'systemd' 'gstreamer0.10-base') makedepends=('gperf' 'python2' 'ruby' 'git' 'mesa') conflicts=('qt<4.8') _qtver=4.8.5 -source=("${pkgname}-${pkgver}.tar.gz"::"http://gitorious.org/webkit/qtwebkit-23/archive-tarball/${pkgname}-${pkgver}" +source=("ftp://ftp.archlinux.org/other/packages/${pkgname}/${pkgname}-${pkgver}.tar.gz" "http://download.qt-project.org/official_releases/qt/4.8/4.8.5/qt-everywhere-opensource-src-${_qtver}.tar.gz" 'use-python2.patch' + 'bison3.patch' 'qwebview.patch' 'LLIntCLoop32BigEndian.patch') -sha1sums=('adf66bc92b0c3e41791a419c6b776d0167acaa7c' +sha1sums=('64f3ab7f8e53b5b971a3a6577fc61db0cc2ea31f' '745f9ebf091696c0d5403ce691dc28c039d77b9e' '315b6ff603f35e5492a036f7082f6aa075dfb607' - 'ef467fcfc9e74aa88356f27acc21792706ed1e4d' + 'd2c6182512e4bcbdf30a9e9d513c52fe4b16d9f2' + '88ed73e6bd7ea9c6d227ceaed0ff2f1cf0200667' 'af830ae24e2ae5113754c9ae524d27ec0a28a9d6') -build() { - cd webkit-qtwebkit-23 +prepare() { + cd ${pkgname}-${pkgver} + patch -p1 -i "${srcdir}"/use-python2.patch + patch -p1 -i "${srcdir}"/bison3.patch + + cd ../qt-everywhere-opensource-src-${_qtver} + patch -p1 -i "${srcdir}"/qwebview.patch if [ "$CARCH" = "mips64el" ]; then # Fix MIPS N32 support. @@ -34,8 +41,10 @@ build() { sed -i 's/#define ENABLE_JIT 1/#define ENABLE_JIT 0/' \ Source/WTF/wtf/Platform.h fi +} - patch -p1 -i "${srcdir}"/use-python2.patch +build() { + cd ${pkgname}-${pkgver} # Fix https://bugs.webkit.org/show_bug.cgi?id=103128, original patch with ChangeLog stripped. patch -p0 -i "${srcdir}/LLIntCLoop32BigEndian.patch" @@ -54,15 +63,13 @@ build() { ${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 + cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview qmake-qt4 make } package() { - cd webkit-qtwebkit-23 + cd ${pkgname}-${pkgver} make INSTALL_ROOT="${pkgdir}" -C WebKitBuild/Release install cd ../qt-everywhere-opensource-src-${_qtver}/tools/designer/src/plugins/qwebview |