mingw64-i686-glib2.0 2.54.3
[git/cygwin-packages/mingw64-i686-glib2.0.git] / mingw64-i686-glib2.0.cygport
1 CROSS_HOST="i686-w64-mingw32"
2 ORIG_PN="glib"
3 inherit cross gnome2
4
5 NAME="mingw64-i686-glib2.0"
6 VERSION=2.54.3
7 RELEASE=1
8 CATEGORY="Devel"
9 SUMMARY="GNOME core C function library for Win32 toolchain"
10 HOMEPAGE="http://www.gtk.org/"
11 DESCRIPTION="This package does NOT contain cygwin binaries. Instead, it
12 contains msvcrt-linked binaries (aka 'mingw'). It is for use with the
13 mingw64-i686-gcc cross compiler, and installs into the
14 /usr/i686-w64-mingw32/sys-root/mingw/{lib,include} directories."
15
16 PATCH_URI="
17 http://pkgs.fedoraproject.org/cgit/mingw-glib2.git/plain/0001-Use-CreateFile-on-Win32-to-make-sure-g_unlink-always.patch
18 http://pkgs.fedoraproject.org/cgit/mingw-glib2.git/plain/glib-prefer-constructors-over-DllMain.patch
19 http://pkgs.fedoraproject.org/cgit/mingw-glib2.git/plain/0002-GNetworkMonitorBase-don-t-fail-when-IPv6-support-is-.patch
20 2.34.3-m4macros.patch
21 "
22
23 DIFF_EXCLUDES="config.py"
24
25 CPPFLAGS+=" -DMINGW_HAS_SECURE_API=1"
26
27 src_compile() {
28 cd ${S}
29 gnome2_autoreconf
30 cd ${B}
31 gnome2_configure --disable-static
32 cygmake
33 }
34
35 src_install() {
36 cd ${B}
37 cyginstall
38
39 rm -f ${D}${CROSS_BINDIR}/gdbus-codegen
40 rm -f ${D}${CROSS_BINDIR}/glib-{compile-resources,genmarshal,gettextize,mkenums}*
41 rm -fr ${D}${CROSS_LIBDIR}/charset.alias
42 rm -fr ${D}${CROSS_DATADIR}/{bash-completion,gdb,man}/
43 rm -fr ${D}${CROSS_DATADIR}/glib-2.0/{codegen,gdb,gettext}
44 }
This page took 0.033063 seconds and 5 git commands to generate.