1 # Maintainer: Rémy Oudompheng <remy@archlinux.org>
4 pkgname=mingw32-${_pkgname}
9 pkgdesc="C++ bindings for pango (mingw32)"
10 depends=('mingw32-pango>=1.23.0' 'mingw32-glibmm>=2.14.1'
11 'mingw32-cairomm>=1.2.2')
12 makedepends=(mingw32-gcc 'pkgconfig')
13 source=(http://ftp.gnome.org/pub/GNOME/sources/${_pkgname}/2.28/${_pkgname}-${pkgver}.tar.xz)
15 url="http://gtkmm.sourceforge.net/"
16 sha256sums=('778dcb66a793cbfd52a9f92ee5a71b888c3603a913fc1ddc48a30204de6d6c82')
19 cd ${srcdir}/${_pkgname}-$pkgver
21 export CFLAGS="-O2 -pipe -march=i686"
22 export CXXFLAGS="$CFLAGS"
23 export CPPFLAGS="$CPPFLAGS -D_REENTRANT"
24 export PKG_CONFIG_LIBDIR="/usr/i486-mingw32/lib/pkgconfig"
29 --prefix=/usr/i486-mingw32 \
32 --disable-documentation \
39 cd "${srcdir}/${_pkgname}-$pkgver"
40 make DESTDIR="${pkgdir}" install
43 find . -name '*.a' -o -name '*.dll' -o -name '*.exe' \
44 | xargs -rtl1 i486-mingw32-strip -g