blob: 3289a0fa4595ee6f347caf5f4ff57e56ccda00ad (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 141142 2011-10-24 20:29:54Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
pkgname=qtwebkit
pkgver=2.2.0
pkgrel=1
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')
makedepends=('python2' 'mesa' 'chrpath')
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
}
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
}
|