From 3b9f6700ce4f7b30710499f6d553cfbfc0501ee5 Mon Sep 17 00:00:00 2001 From: LAN-TW Date: Sat, 18 May 2013 11:42:59 +0800 Subject: mingw-w64-gtk2: 2.24.17-3 -> 2.24.18-1 --- mingw-w64-gtk2/PKGBUILD | 24 +++++++++--------------- 1 file changed, 9 insertions(+), 15 deletions(-) (limited to 'mingw-w64-gtk2/PKGBUILD') diff --git a/mingw-w64-gtk2/PKGBUILD b/mingw-w64-gtk2/PKGBUILD index 9fbb48c..2c947e6 100644 --- a/mingw-w64-gtk2/PKGBUILD +++ b/mingw-w64-gtk2/PKGBUILD @@ -1,8 +1,6 @@ -# Patches are downloaded from http://pkgs.fedoraproject.org/cgit/mingw-gtk2.git - pkgname=mingw-w64-gtk2 -pkgver=2.24.17 -pkgrel=3 +pkgver=2.24.18 +pkgrel=1 pkgdesc="GTK+ is a multi-platform toolkit (v2) (mingw-w64)" arch=(any) url="http://www.gtk.org" @@ -17,19 +15,15 @@ mingw-w64-gdk-pixbuf2) options=(!libtool !strip !buildflags) source=( "http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-${pkgver}.tar.xz" -"gtk-dont-define-initguid.patch" -"gtk-fix-out-of-source-build.patch") -md5sums=('a10cc43fad8d64f8893d779b1f8322ff' - "4038939df90f80ea6923d67afff28e03" - "39196c2cd31fc252f41966ef30003a31") +"http://pkgs.fedoraproject.org/cgit/mingw-gtk2.git/plain/gtk-dont-define-initguid.patch?id=3224e445dad240da5f5ebfe371e8c9f627459089") +md5sums=('4309379acdcd8abfb72ea89bce3e7746' + "4038939df90f80ea6923d67afff28e03") _architectures="i686-w64-mingw32 x86_64-w64-mingw32" build() { cd "${srcdir}/gtk+-${pkgver}" - patch -Np0 < '../gtk-dont-define-initguid.patch' - patch -Np0 < '../gtk-fix-out-of-source-build.patch' - autoreconf -if + patch -Np0 < '../gtk-dont-define-initguid.patch?id=3224e445dad240da5f5ebfe371e8c9f627459089' for _arch in ${_architectures}; do export CFLAGS="-O2 -mms-bitfields" export CXXFLAGS="${CFLAGS}" @@ -37,9 +31,9 @@ build() { mkdir -p "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" cp -r "$srcdir/gtk+-$pkgver/"* "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" cd "${srcdir}/${pkgname}-${pkgver}-build-${_arch}" - if [ $_arch = "x86_64-w64-mingw32" ]; then - rm "gtk/gtk.def" - fi +# if [ $_arch = "x86_64-w64-mingw32" ]; then +# rm "gtk/gtk.def" +# fi ${srcdir}/gtk+-${pkgver}/configure \ --prefix=/usr/${_arch} \ --build=$CHOST \ -- cgit