2013-06-07 18:32:13 +00:00
|
|
|
# $Id$
|
2013-04-24 19:11:36 +00:00
|
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
|
|
# - re-enabled --disable-silent-rules, needed for v5 and v6 to build
|
2013-10-18 01:38:43 +00:00
|
|
|
# - use --disable-jit for v5, uses incompatible ARM assembly
|
2013-04-24 19:11:36 +00:00
|
|
|
|
2013-06-07 18:32:13 +00:00
|
|
|
pkgname=webkitgtk
|
2013-10-07 14:10:19 +00:00
|
|
|
pkgver=2.2.0
|
2013-10-17 14:56:56 +00:00
|
|
|
pkgrel=2
|
2013-06-07 18:32:13 +00:00
|
|
|
pkgdesc="GTK+ Web content engine library"
|
|
|
|
arch=(i686 x86_64)
|
2013-04-24 19:11:36 +00:00
|
|
|
url="http://webkitgtk.org/"
|
2013-06-07 18:32:13 +00:00
|
|
|
license=(custom)
|
2013-06-12 20:57:10 +00:00
|
|
|
depends=(libxt libxslt sqlite libsoup enchant libgl geoclue gtk3 gst-plugins-base-libs
|
|
|
|
libsecret libwebp harfbuzz-icu)
|
2013-06-07 18:32:13 +00:00
|
|
|
makedepends=(gtk2 gperf gobject-introspection python mesa ruby gtk-doc)
|
2013-06-12 20:57:10 +00:00
|
|
|
optdepends=('gtk2: Netscape plugin support')
|
2013-06-07 18:32:13 +00:00
|
|
|
provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
|
2013-06-12 20:57:10 +00:00
|
|
|
conflicts=(webkitgtk3 libwebkit3)
|
2013-06-07 18:32:13 +00:00
|
|
|
replaces=(webkitgtk3 libwebkit3)
|
|
|
|
options=(!libtool !emptydirs)
|
2013-06-12 20:57:10 +00:00
|
|
|
source=(http://webkitgtk.org/releases/$pkgname-${pkgver}.tar.xz)
|
2013-10-07 14:10:19 +00:00
|
|
|
sha256sums=('84902e3255dcc6efa1298c8a1f2d2a49674126dcacea383f309aeed9e734d538')
|
2013-04-24 19:11:36 +00:00
|
|
|
|
|
|
|
build() {
|
2013-06-07 18:32:13 +00:00
|
|
|
cd $pkgname-$pkgver
|
2013-10-18 01:38:43 +00:00
|
|
|
|
|
|
|
[[ $CARCH == 'armv5' ]] && CONFIG='--disable-jit'
|
|
|
|
|
2013-06-07 18:32:13 +00:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--libexecdir=/usr/lib/$pkgname \
|
2013-10-18 01:38:43 +00:00
|
|
|
--enable-introspection --disable-silent-rules $CONFIG
|
2013-06-07 18:32:13 +00:00
|
|
|
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
|
|
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
2013-04-24 19:11:36 +00:00
|
|
|
|
|
|
|
make all stamp-po
|
|
|
|
}
|
|
|
|
|
2013-06-07 18:32:13 +00:00
|
|
|
package() {
|
|
|
|
cd $pkgname-$pkgver
|
2013-04-24 19:11:36 +00:00
|
|
|
make -j1 DESTDIR="$pkgdir" install
|
2013-06-07 18:32:13 +00:00
|
|
|
install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
2013-04-24 19:11:36 +00:00
|
|
|
}
|