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