summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD28
1 files changed, 17 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0119c74968b..62d4aa47485 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 109537 2014-04-15 14:55:45Z bluewind $
+# $Id: PKGBUILD 122984 2014-11-23 10:25:53Z bluewind $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi>
@@ -6,17 +6,24 @@
_pkgbasename=glib2
pkgname=libx32-$_pkgbasename
-pkgver=2.40.0
-pkgrel=1
+pkgver=2.42.1
+pkgrel=1.1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs (x32 ABI)"
url="http://www.gtk.org/"
arch=('x86_64')
license=('LGPL')
-depends=('libx32-pcre' 'libx32-zlib' 'libx32-libdbus' libx32-libffi $_pkgbasename)
-makedepends=('gcc-multilib-x32' python2)
-options=('!libtool' '!docs')
-source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz)
-sha256sums=('0d27f195966ecb1995dcce0754129fd66ebe820c7cd29200d264b02af1aa28b5')
+depends=('libx32-dbus' 'libx32-libffi' 'libx32-pcre' 'libx32-zlib' "$_pkgbasename")
+makedepends=('gcc-multilib-x32' 'python2')
+options=('!docs')
+source=("http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz"
+ 'revert-warn-glib-compile-schemas.patch')
+sha256sums=('8f3f0865280e45b8ce840e176ef83bcfd511148918cc8d39df2ee89b67dcf89a'
+ '049240975cd2f1c88fbe7deb28af14d4ec7d2640495f7ca8980d873bb710cc97')
+
+prepare() {
+ cd "${srcdir}/glib-${pkgver}"
+ patch -Rp1 -i ../revert-warn-glib-compile-schemas.patch
+}
build() {
export CC="gcc -mx32"
@@ -24,9 +31,8 @@ build() {
export PKG_CONFIG_PATH="/usr/libx32/pkgconfig"
cd "${srcdir}/glib-${pkgver}"
-
- PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/libx32 \
- --enable-static --enable-shared --with-pcre=system --disable-fam
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc \
+ --libdir=/usr/libx32 --with-pcre=system --disable-fam
make
}