1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
4 pkgname=mingw32-${_pkgname}
8 pkgdesc="C++ interface for glib (mingw32)"
9 depends=('mingw32-glib2>=2.28' 'mingw32-libsigc++2.0>=2.2.5')
10 makedepends=(mingw32-gcc)
12 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/2.30/${_pkgname}-$pkgver.tar.xz)
14 url="http://www.gtkmm.org/"
15 sha256sums=('69582b584666cab1dc4253faffee548054730bc058e28466871e6a954d7ff897')
18 cd "$srcdir/${_pkgname}-$pkgver"
20 export CFLAGS="-march=i686 -O2 -pipe"
21 export CXXFLAGS="$CFLAGS"
22 export CPPFLAGS="$CPPFLAGS -D_REENTRANT"
23 export PKG_CONFIG_LIBDIR="/usr/i486-mingw32/lib/pkgconfig"
24 unset LDFLAGS PKG_CONFIG_PATH
27 --prefix=/usr/i486-mingw32 \
30 --disable-documentation
36 cd "$srcdir/${_pkgname}-$pkgver"
37 make DESTDIR="$pkgdir" install
40 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
41 | xargs -rtl1 i486-mingw32-strip -g