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-12-04 19:06:22 +00:00
|
|
|
pkgver=2.2.3
|
2013-11-15 13:08:55 +00:00
|
|
|
pkgrel=1
|
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-12-04 19:06:22 +00:00
|
|
|
sha256sums=('94bcb3303aadce8454b572ab0e5d178eca3b7238f34bd3e7177b0daec04e4605')
|
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
|
|
|
|
2013-10-18 03:13:19 +00:00
|
|
|
[[ $CARCH == 'arm' ]] && CONFIG='--disable-jit'
|
2013-10-18 01:38:43 +00:00
|
|
|
|
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
|
|
|
}
|