summaryrefslogtreecommitdiff
path: root/extra/webkitgtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkitgtk/PKGBUILD')
-rw-r--r--extra/webkitgtk/PKGBUILD56
1 files changed, 32 insertions, 24 deletions
diff --git a/extra/webkitgtk/PKGBUILD b/extra/webkitgtk/PKGBUILD
index 0502cb7f6..faf3f61c8 100644
--- a/extra/webkitgtk/PKGBUILD
+++ b/extra/webkitgtk/PKGBUILD
@@ -1,38 +1,46 @@
-# $Id: PKGBUILD 185357 2013-05-13 17:34:56Z heftig $
+# $Id: PKGBUILD 187877 2013-06-07 17:10:54Z heftig $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-pkgbase=webkitgtk
-pkgname=('webkitgtk3')
+pkgname=webkitgtk
pkgver=2.0.2
-pkgrel=1
-arch=('i686' 'x86_64')
+pkgrel=3
+pkgdesc="GTK+ Web content engine library"
+arch=(i686 x86_64)
url="http://webkitgtk.org/"
-license=('custom')
-makedepends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gtk3' 'gst-plugins-base-libs' 'gperf' 'gobject-introspection' 'python' 'mesa' 'ruby' 'gtk-doc' 'libsecret' 'libwebp')
-options=('!libtool' '!emptydirs')
-source=(http://webkitgtk.org/releases/$pkgbase-$pkgver.tar.xz)
-sha256sums=('c3685032545eb4c23f3f56826817783a6963ad59bd7bbf806705059b3d8caeb2')
+license=(custom)
+depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk3 gst-plugins-base-libs libsecret libwebp
+ harfbuzz-icu)
+makedepends=(gtk2 gperf gobject-introspection python mesa ruby gtk-doc)
+optdepends=('gtk2: Webkit2 plugin support')
+conflicts=(webkitgtk3 libwebkit3)
+provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
+replaces=(webkitgtk3 libwebkit3)
+options=(!libtool !emptydirs)
+source=(http://webkitgtk.org/releases/$pkgname-${pkgver}.tar.xz
+ changeset_150963.diff)
+sha256sums=('c3685032545eb4c23f3f56826817783a6963ad59bd7bbf806705059b3d8caeb2'
+ '8d2542600cba876b714cdf6be478d847b6672bff2856e6e6d0582b1566fe5764')
prepare() {
- cd $pkgbase-$pkgver
- mkdir build-gtk3
+ cd $pkgname-$pkgver
+ patch -Np2 -i ../changeset_150963.diff
+ autoreconf -fi -I Source/autotools
}
build() {
- cd $pkgbase-$pkgver/build-gtk3
- ../configure --prefix=/usr --libexecdir=/usr/lib/webkitgtk3 --enable-introspection
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/$pkgname \
+ --enable-introspection
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+
make all stamp-po
}
-package_webkitgtk3() {
- pkgdesc="GTK+ Web content engine library for GTK+ 3.0"
- depends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk3' 'gst-plugins-base-libs' 'libsecret' 'libwebp')
- conflicts=('libwebkit3')
- provides=("libwebkit3=${pkgver}")
- replaces=('libwebkit3')
- optdepends=('gtk2: Webkit2 plugin support')
-
- cd $pkgbase-$pkgver/build-gtk3
+package() {
+ cd $pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install
- install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
+ install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}