diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-10-14 23:41:23 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2013-10-14 23:41:23 +0800 |
commit | b03a3334243be7a6b46089390e59f29f594f0636 (patch) | |
tree | 5715c4bcf0c1e6a9b9b0e61fd01180794fdd0977 | |
parent | f0be674987733d76607e4897dadb81bf6d670566 (diff) | |
download | AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar.gz AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar.bz2 AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar.lz AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar.xz AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.tar.zst AUR4-PKGBUILD-b03a3334243be7a6b46089390e59f29f594f0636.zip |
mingw-w64-gtk3: 3.8.4 -> 3.8.5
-rw-r--r-- | mingw-w64-gtk3/.SRCINFO | 8 | ||||
-rw-r--r-- | mingw-w64-gtk3/PKGBUILD | 18 |
2 files changed, 10 insertions, 16 deletions
diff --git a/mingw-w64-gtk3/.SRCINFO b/mingw-w64-gtk3/.SRCINFO index 142c70f..b078c30 100644 --- a/mingw-w64-gtk3/.SRCINFO +++ b/mingw-w64-gtk3/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mingw-w64-gtk3 pkgdesc = GTK+ is a multi-platform toolkit (v3) (mingw-w64) - pkgver = 3.8.4 - pkgrel = 2 + pkgver = 3.8.5 + pkgrel = 1 url = http://www.gtk.org arch = any license = LGPL @@ -18,10 +18,10 @@ pkgbase = mingw-w64-gtk3 options = !libtool options = !strip options = !buildflags - source = http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/gtk+-3.8.4.tar.xz + source = http://ftp.gnome.org/pub/gnome/sources/gtk+/3.8/gtk+-3.8.5.tar.xz source = https://git.gnome.org/browse/gtk+/plain/demos/gtk-demo/brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1 source = gtk-dont-define-initguid.patch - md5sums = 2b232d76c01ceb626948bcbe70b05269 + md5sums = f5583d1ca338336103ab40b233c6d3ff md5sums = 523aea0be651baaba128c133751a0f01 md5sums = 4038939df90f80ea6923d67afff28e03 diff --git a/mingw-w64-gtk3/PKGBUILD b/mingw-w64-gtk3/PKGBUILD index 68133b6..0a71f99 100644 --- a/mingw-w64-gtk3/PKGBUILD +++ b/mingw-w64-gtk3/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: lantw44 at gmail dot com pkgname=mingw-w64-gtk3 -pkgver=3.8.4 -pkgrel=2 +pkgver=3.8.5 +pkgrel=1 pkgdesc="GTK+ is a multi-platform toolkit (v3) (mingw-w64)" arch=(any) url="http://www.gtk.org" @@ -26,7 +26,7 @@ source=( # The second source file is downloaded from GNOME. This file exists in the git repository but not in the tarball. Building of demos will fail without this file. # The third source file is downloaded from Fedora Project -md5sums=('2b232d76c01ceb626948bcbe70b05269' +md5sums=('f5583d1ca338336103ab40b233c6d3ff' '523aea0be651baaba128c133751a0f01' '4038939df90f80ea6923d67afff28e03') @@ -36,21 +36,15 @@ build() { cd "${srcdir}/gtk+-${pkgver}" patch -Np0 < '../gtk-dont-define-initguid.patch' for _arch in ${_architectures}; do + unset LDFLAGS export CFLAGS="-O2 -mms-bitfields" export CXXFLAGS="${CFLAGS}" - unset LDFLAGS - export PKG_CONFIG_FOR_BUILD="${_arch}-pkg-config" + export PKG_CONFIG="${_arch}-pkg-config" + export PKG_CONFIG_FOR_BUILD="pkg-config" mkdir -p "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" - msg "Copying files" - cp -r "${srcdir}/gtk+-${pkgver}/"* \ - "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" cp '../brick.png?h=gtk-3-8&id=231d6c209f47edac828f52a7316980129c370eb1' \ "${srcdir}/gtk+-${pkgver}/demos/gtk-demo/brick.png" cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" - if [ $_arch = "x86_64-w64-mingw32" ]; then - rm "gtk/gtk.def" - fi - msg "Starting configure and make" ${srcdir}/gtk+-${pkgver}/configure \ --prefix=/usr/${_arch} \ --build=$CHOST \ |