2016-01-27 08:04:04 +08:00
|
|
|
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk?h=packages/webkitgtk
|
|
|
|
# Contributor on CCR: Ben R <thebenj88 *AT* gmail *DOT* com>
|
2013-04-28 04:27:26 +08:00
|
|
|
|
|
|
|
pkgname=libwebkit-gtk2
|
2016-01-27 08:04:04 +08:00
|
|
|
pkgver=2.4.9
|
2016-03-17 01:44:18 +08:00
|
|
|
pkgrel=2
|
2013-04-28 04:27:26 +08:00
|
|
|
pkgdesc="An opensource web content engine"
|
2013-04-29 04:40:53 +08:00
|
|
|
arch=('x86_64')
|
2013-04-28 04:27:26 +08:00
|
|
|
url="http://webkitgtk.org/"
|
|
|
|
license=('custom')
|
2016-01-27 08:04:04 +08:00
|
|
|
depends=('libxt' 'libxslt' 'sqlite3' 'icu' 'gst-plugins-base' 'libsoup' 'enchant' 'libwebp' 'harfbuzz-icu')
|
2013-11-11 02:40:09 +08:00
|
|
|
makedepends=('gperf' 'gobject-introspection' 'python2' 'gtk2' 'ruby')
|
2013-04-28 04:27:26 +08:00
|
|
|
provides=('libwebkit')
|
2013-11-08 03:34:28 +08:00
|
|
|
options=('!emptydirs')
|
2013-04-28 04:27:26 +08:00
|
|
|
install=libwebkit.install
|
2013-07-30 17:35:54 +08:00
|
|
|
source=(http://webkitgtk.org/releases/webkitgtk-$pkgver.tar.xz)
|
2016-01-27 08:04:04 +08:00
|
|
|
sha256sums=('afdf29e7828816cad0be2604cf19421e96d96bf493987328ffc8813bb20ac564')
|
2013-04-28 04:27:26 +08:00
|
|
|
|
|
|
|
build() {
|
2013-07-30 17:35:54 +08:00
|
|
|
|
|
|
|
cd "${srcdir}/webkitgtk-${pkgver}"
|
|
|
|
|
2016-01-27 08:04:04 +08:00
|
|
|
|
2013-11-11 02:40:09 +08:00
|
|
|
PYTHON=/usr/bin/python2 ./configure --prefix=/usr \
|
2013-04-28 04:27:26 +08:00
|
|
|
--enable-introspection \
|
2013-07-30 17:35:54 +08:00
|
|
|
--disable-geolocation \
|
2014-06-11 02:09:10 +08:00
|
|
|
--disable-libsecret \
|
|
|
|
--disable-credential_storage \
|
2016-01-27 08:04:04 +08:00
|
|
|
--with-font-backend=freetype \
|
|
|
|
--disable-gtk-doc \
|
2013-04-28 04:27:26 +08:00
|
|
|
--with-unicode-backend=icu \
|
|
|
|
--with-gtk=2.0 \
|
2013-07-30 17:35:54 +08:00
|
|
|
--disable-webkit2 \
|
2013-04-28 04:27:26 +08:00
|
|
|
--enable-spellcheck "$@"
|
2013-07-30 17:35:54 +08:00
|
|
|
|
|
|
|
|
|
|
|
# https://bugzilla.gnome.org/show_bug.cgi?id=655517
|
|
|
|
sed -i 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
|
|
|
|
|
2013-04-28 04:27:26 +08:00
|
|
|
make all stamp-po
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-07-30 17:35:54 +08:00
|
|
|
cd "$srcdir/webkitgtk-$pkgver"
|
2013-11-11 02:40:09 +08:00
|
|
|
make DESTDIR="${pkgdir}" install
|
2013-04-28 04:27:26 +08:00
|
|
|
}
|