1 DESCRIPTION
= "GLib is a general-purpose utility library, \
2 which provides many useful data types, macros, \
3 type conversions, string utilities, file utilities, a main \
4 loop abstraction, and so on. It works on many \
5 UNIX-like platforms, Windows, OS/2 and BeOS."
9 DEPENDS
+= "glib-2.0-native gtk-doc"
10 DEPENDS
+= "virtual/libiconv virtual/libintl"
11 PACKAGES
=+ "glib-2.0-utils "
14 LEAD_SONAME
= "libglib-2.0.*"
15 FILES_glib
-2.0-utils
= "${bindir}/*"
17 # Add some files
to glib
-2.0 dev that normally don't get pulled in
19 FILES_$
{PN
}-dev
+= "${libdir}/glib-2.0/include/glibconfig.h \
20 ${datadir}/glib-2.0/gettext/po/Makefile.in.in"
22 EXTRA_OECONF
= "--disable-debug"
24 SRC_URI
= "ftp://ftp.gtk.org/pub/gtk/v2.4/glib-${PV}.tar.bz2 \
25 file://glibinclude.patch;patch=1;pnum=2 \
26 file://visibility.patch;patch=1 \
27 file://glibconfig-sysdefs.h \
28 file://configure-libtool.patch;patch=1"
30 S
= "${WORKDIR}/glib-${PV}"
32 inherit autotools pkgconfig gettext
37 do_configure_prepend
() {
38 install
-m
0644 $
{WORKDIR
}/glibconfig
-sysdefs.h .
42 oe_libinstall
-so
-C glib libglib
-2.0 $
{STAGING_LIBDIR
}
43 oe_libinstall
-so
-C gmodule libgmodule
-2.0 $
{STAGING_LIBDIR
}
44 oe_libinstall
-so
-C gthread libgthread
-2.0 $
{STAGING_LIBDIR
}
45 oe_libinstall
-so
-C gobject libgobject
-2.0 $
{STAGING_LIBDIR
}
46 autotools_stage_includes
47 install
-d $
{STAGING_INCDIR
}/glib
-2.0/glib
48 install
-m
0755 $
{S
}/glibconfig.h $
{STAGING_INCDIR
}/glib
-2.0/glibconfig.h
49 install
-d $
{STAGING_DATADIR
}/aclocal
50 install
-m
0644 $
{S
}/m4macros
/glib
-2.0.m4 $
{STAGING_DATADIR
}/aclocal
/glib
-2.0.m4
51 install
-m
0644 $
{S
}/m4macros
/glib
-gettext.m4 $
{STAGING_DATADIR
}/aclocal
/glib
-gettext.m4