summaryrefslogtreecommitdiff
path: root/extra/webkitgtk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/webkitgtk/PKGBUILD')
-rw-r--r--extra/webkitgtk/PKGBUILD58
1 files changed, 29 insertions, 29 deletions
diff --git a/extra/webkitgtk/PKGBUILD b/extra/webkitgtk/PKGBUILD
index e95bccc34..bc3cf4a87 100644
--- a/extra/webkitgtk/PKGBUILD
+++ b/extra/webkitgtk/PKGBUILD
@@ -1,23 +1,26 @@
-# $Id: PKGBUILD 185357 2013-05-13 17:34:56Z heftig $
+# $Id: PKGBUILD 188207 2013-06-12 20:16:30Z heftig $
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
-pkgbase=webkitgtk
-pkgname=('webkitgtk3')
-pkgver=2.0.2
+pkgname=webkitgtk
+pkgver=2.0.3
pkgrel=1
-arch=('i686' 'x86_64' 'mips64el')
+arch=(i686 x86_64 mips64el)
url="http://webkitgtk.org/"
-license=('custom')
-makedepends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk2' 'gtk3' 'gst-plugins-base-libs' 'gperf' 'gobject-introspection' 'python' 'mesa' 'ruby' 'gtk-doc' 'libsecret' 'libwebp')
-options=('!libtool' '!emptydirs')
-source=(http://webkitgtk.org/releases/$pkgbase-$pkgver.tar.xz
- 0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch)
-sha256sums=('c3685032545eb4c23f3f56826817783a6963ad59bd7bbf806705059b3d8caeb2'
- '7b4c1419342bafcca642d7a41abe92713810401591906b081fe476169cb9a3aa')
+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=('9bf8a32afbf087c4fc2c652b193a52c44b180735ba9c7c8db88137904d458e1b')
prepare() {
cd $pkgbase-$pkgver
- mkdir build-gtk3
+
if [ "$CARCH" = "mips64el" ]; then
# Fix MIPS N32 support.
sed -i 's/defined(_ABIO32)/(defined(_ABIO32) || defined(_ABIN32))/' \
@@ -27,15 +30,12 @@ prepare() {
Source/WTF/wtf/Platform.h
fi
- # Fix build on 32-bit platforms.
- patch -p1 -i "$srcdir/0001-https-bugs.webkit.org-show_bug.cgi-id-112141.patch"
-
# Won't be made before files there.
- mkdir -p build-gtk3/Programs/resources
+ mkdir -p Programs/resources
}
build() {
- cd $pkgbase-$pkgver/build-gtk3
+ cd $pkgname-$pkgver
if [ "$CARCH" = "mips64el" ]; then
# Optimizations make it segfault when running; without
@@ -47,19 +47,19 @@ build() {
extra="--disable-fast-malloc --disable-optimizations"
fi
- ../configure --prefix=/usr --libexecdir=/usr/lib/webkitgtk3 --enable-introspection $extra
+ ./configure --prefix=/usr \
+ --libexecdir=/usr/lib/$pkgname \
+ --enable-introspection \
+ ${extra}
+
+ # 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_webkitgtk3() {
- pkgdesc="GTK+ Web content engine library for GTK+ 3.0"
- depends=('libxt' 'libxslt' 'sqlite' 'libsoup' 'enchant' 'libgl' 'geoclue' 'gtk3' 'gst-plugins-base-libs' 'libsecret' 'libwebp')
- conflicts=('libwebkit3')
- provides=("libwebkit3=${pkgver}")
- replaces=('libwebkit3')
- optdepends=('gtk2: Webkit2 plugin support')
-
- cd $pkgbase-$pkgver/build-gtk3
+package() {
+ cd $pkgname-$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"
}