From 0a069ede63336b105cda051cebe136f2592847d2 Mon Sep 17 00:00:00 2001 From: root Date: Sat, 15 Jun 2013 01:12:53 -0700 Subject: Sat Jun 15 01:11:56 PDT 2013 --- extra/webkitgtk2/PKGBUILD | 49 ++++++++++++++++++++++++++--------------------- 1 file changed, 27 insertions(+), 22 deletions(-) (limited to 'extra/webkitgtk2/PKGBUILD') diff --git a/extra/webkitgtk2/PKGBUILD b/extra/webkitgtk2/PKGBUILD index 3b4810329..60865fe7c 100644 --- a/extra/webkitgtk2/PKGBUILD +++ b/extra/webkitgtk2/PKGBUILD @@ -1,40 +1,45 @@ -# $Id: PKGBUILD 184447 2013-05-06 19:40:08Z foutrelis $ +# $Id: PKGBUILD 188478 2013-06-14 20:00:26Z heftig $ # Maintainer: Andreas Radke pkgname=webkitgtk2 pkgver=1.10.2 -pkgrel=5 -arch=('i686' 'x86_64') +pkgrel=6 +pkgdesc="GTK+ Web content engine library for GTK+ 2.0" +arch=(i686 x86_64) url="http://webkitgtk.org/" -license=('custom') -makedepends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gstreamer0.10-base' 'gperf' 'gobject-introspection' 'python2' 'mesa' 'ruby' 'gtk-doc') -options=('!libtool' '!emptydirs') +license=(custom) +depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk2 gstreamer0.10-base + icu) +makedepends=(gperf gobject-introspection python2 mesa ruby gtk-doc) +optdepends=() +provides=("libwebkit=${pkgver}") +conflicts=(libwebkit) +replaces=(libwebkit) +options=(!libtool !emptydirs) source=(http://webkitgtk.org/releases/webkitgtk-$pkgver.tar.xz) sha256sums=('19234f8e4edfaefe91ed06471a2aa8c71d26dd55d33787eede1dcfc9a3a96d9c') build() { - cd "$srcdir/webkitgtk-$pkgver" - mkdir build-gtk2 + cd webkitgtk-$pkgver - cd build-gtk2 - PYTHON=/usr/bin/python2 ../configure --prefix=/usr \ + # Suppress a *lot* of gcc 4.8 warnings + CPPFLAGS+=" -Wno-unused-local-typedefs" + + PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ + --libexecdir=/usr/lib/$pkgname \ --enable-introspection \ - --disable-silent-rules \ - --libexecdir=/usr/lib/webkitgtk2 \ + --disable-webkit2 \ --with-gstreamer=0.10 \ - --with-gtk=2.0 \ - --disable-webkit2 + --with-gtk=2.0 + + # 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() { - pkgdesc="GTK+ Web content engine library for GTK+ 2.0" - depends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gstreamer0.10-base') - conflicts=('libwebkit') - provides=("libwebkit=${pkgver}") - replaces=('libwebkit') - - cd "$srcdir/webkitgtk-$pkgver/build-gtk2" + cd webkitgtk-$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" } -- cgit v1.2.3-54-g00ecf