[arch-commits] Commit in webkitgtk/trunk (PKGBUILD)

Jan Steffens heftig at nymeria.archlinux.org
Wed Apr 17 22:42:21 UTC 2013


    Date: Thursday, April 18, 2013 @ 00:42:20
  Author: heftig
Revision: 183156

2.0.1

Modified:
  webkitgtk/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-04-17 22:29:17 UTC (rev 183155)
+++ PKGBUILD	2013-04-17 22:42:20 UTC (rev 183156)
@@ -3,20 +3,27 @@
 
 pkgbase=webkitgtk
 pkgname=('webkitgtk3')
-pkgver=2.0.0
+pkgver=2.0.1
 pkgrel=1
 arch=('i686' 'x86_64')
 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/webkitgtk-$pkgver.tar.xz)
-sha256sums=('454cdc4beffc2010f83661059178e33b6d9a07bcd60d09eabdf5d7cda17b88e4')
+source=(http://webkitgtk.org/releases/$pkgbase-$pkgver.tar.xz)
+sha256sums=('6303552a39d7912725d75bc55f530cdb99171fb873e299798d0bb932d6ea76cb')
 
+prepare() {
+  cd $pkgbase-$pkgver
+  mkdir build-gtk3
+}
+
 build() {
-  cd "$srcdir/webkitgtk-$pkgver"
-  mkdir build-gtk3
-  cd build-gtk3
+  cd $pkgbase-$pkgver/build-gtk3
+
+  # Suppress a *lot* of gcc 4.8 warnings
+  export CPPFLAGS="$CPPFLAGS -Wno-unused-local-typedefs"
+
   ../configure --prefix=/usr \
     --enable-introspection \
     --disable-silent-rules \
@@ -32,7 +39,7 @@
   replaces=('libwebkit3')
   optdepends=('gtk2: Webkit2 plugin support')
   
-  cd "$srcdir/webkitgtk-$pkgver/build-gtk3"
+  cd $pkgbase-$pkgver/build-gtk3
   make -j1 DESTDIR="$pkgdir" install
   install -Dm644 ../Source/WebKit/LICENSE "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
 }




More information about the arch-commits mailing list