mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
45 lines
1.4 KiB
Bash
45 lines
1.4 KiB
Bash
# $Id$
|
|
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
|
|
|
|
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
# - re-enabled --disable-silent-rules, needed for v5 and v6 to build
|
|
# - use --disable-jit for v5, uses incompatible ARM assembly
|
|
|
|
pkgname=webkitgtk
|
|
pkgver=2.2.3
|
|
pkgrel=1
|
|
pkgdesc="GTK+ Web content engine library"
|
|
arch=(i686 x86_64)
|
|
url="http://webkitgtk.org/"
|
|
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: Netscape plugin support')
|
|
provides=("webkitgtk3=${pkgver}" "libwebkit3=${pkgver}")
|
|
conflicts=(webkitgtk3 libwebkit3)
|
|
replaces=(webkitgtk3 libwebkit3)
|
|
options=(!libtool !emptydirs)
|
|
source=(http://webkitgtk.org/releases/$pkgname-${pkgver}.tar.xz)
|
|
sha256sums=('94bcb3303aadce8454b572ab0e5d178eca3b7238f34bd3e7177b0daec04e4605')
|
|
|
|
build() {
|
|
cd $pkgname-$pkgver
|
|
|
|
[[ $CARCH == 'arm' ]] && CONFIG='--disable-jit'
|
|
|
|
./configure --prefix=/usr \
|
|
--libexecdir=/usr/lib/$pkgname \
|
|
--enable-introspection --disable-silent-rules $CONFIG
|
|
|
|
# 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() {
|
|
cd $pkgname-$pkgver
|
|
make -j1 DESTDIR="$pkgdir" install
|
|
install -Dm644 Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|