diff options
author | Jorn Baayen <jorn@openedhand.com> | 2006-07-20 10:43:56 +0000 |
---|---|---|
committer | Jorn Baayen <jorn@openedhand.com> | 2006-07-20 10:43:56 +0000 |
commit | eefc8d5e324124c260809a4ac1b2b75d5139e881 (patch) | |
tree | b0aa1594f32082d486bf3423af1da3c850f7d06d | |
parent | 1c3a546c0aefd3b2f107a3aad28613ab570e7ad4 (diff) | |
download | poky-eefc8d5e324124c260809a4ac1b2b75d5139e881.tar.gz |
added glib 2.12 (needed for gtk 2.10 + decairoification patches)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@516 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r-- | openembedded/packages/glib-2.0/glib-2.0-native_2.12.0.bb | 54 | ||||
-rw-r--r-- | openembedded/packages/glib-2.0/glib-2.0_2.12.0.bb | 47 |
2 files changed, 101 insertions, 0 deletions
diff --git a/openembedded/packages/glib-2.0/glib-2.0-native_2.12.0.bb b/openembedded/packages/glib-2.0/glib-2.0-native_2.12.0.bb new file mode 100644 index 0000000000..768f2777d8 --- /dev/null +++ b/openembedded/packages/glib-2.0/glib-2.0-native_2.12.0.bb | |||
@@ -0,0 +1,54 @@ | |||
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." | ||
6 | LICENSE = "LGPL" | ||
7 | SECTION = "libs" | ||
8 | PRIORITY = "optional" | ||
9 | DEPENDS += "gtk-doc-native" | ||
10 | PR="r1" | ||
11 | |||
12 | EXTRA_OECONF = "--disable-debug" | ||
13 | |||
14 | SRC_URI = "http://download.gnome.org/sources/glib/2.12/glib-${PV}.tar.bz2 \ | ||
15 | file://glib-gettextize-dir.patch;patch=1 \ | ||
16 | file://glibconfig-sysdefs.h" | ||
17 | |||
18 | S = "${WORKDIR}/glib-${PV}" | ||
19 | |||
20 | inherit autotools pkgconfig native gettext | ||
21 | |||
22 | python () { | ||
23 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
24 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
25 | } | ||
26 | |||
27 | acpaths = "" | ||
28 | do_configure_prepend () { | ||
29 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | ||
30 | } | ||
31 | |||
32 | do_stage () { | ||
33 | install -m 0755 gobject/glib-mkenums ${STAGING_BINDIR}/ | ||
34 | install -m 0755 gobject/.libs/glib-genmarshal ${STAGING_BINDIR}/ | ||
35 | install -m 0755 glib-gettextize ${STAGING_BINDIR}/ | ||
36 | oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} | ||
37 | oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} | ||
38 | oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} | ||
39 | oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} | ||
40 | autotools_stage_includes | ||
41 | install -d ${STAGING_INCDIR}/glib-2.0/glib | ||
42 | install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h | ||
43 | install -d ${STAGING_DATADIR}/aclocal | ||
44 | install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 | ||
45 | install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 | ||
46 | install -d ${STAGING_DATADIR}/glib-2.0/gettext/po | ||
47 | install -m 0755 mkinstalldirs ${STAGING_DATADIR}/glib-2.0/gettext/ | ||
48 | install -m 0644 po/Makefile.in.in ${STAGING_DATADIR}/glib-2.0/gettext/po/ | ||
49 | } | ||
50 | |||
51 | do_install () { | ||
52 | : | ||
53 | } | ||
54 | |||
diff --git a/openembedded/packages/glib-2.0/glib-2.0_2.12.0.bb b/openembedded/packages/glib-2.0/glib-2.0_2.12.0.bb new file mode 100644 index 0000000000..31d7347a06 --- /dev/null +++ b/openembedded/packages/glib-2.0/glib-2.0_2.12.0.bb | |||
@@ -0,0 +1,47 @@ | |||
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." | ||
6 | LICENSE = "LGPL" | ||
7 | SECTION = "libs" | ||
8 | PRIORITY = "optional" | ||
9 | DEPENDS += "glib-2.0-native gtk-doc" | ||
10 | DEPENDS += "virtual/libiconv virtual/libintl" | ||
11 | PACKAGES =+ "glib-2.0-utils " | ||
12 | PR = "r1" | ||
13 | |||
14 | LEAD_SONAME = "libglib-2.0.*" | ||
15 | FILES_glib-2.0-utils = "${bindir}/*" | ||
16 | |||
17 | EXTRA_OECONF = "--disable-debug" | ||
18 | |||
19 | SRC_URI = "http://download.gnome.org/sources/glib/2.12/glib-${PV}.tar.bz2 \ | ||
20 | file://glibconfig-sysdefs.h" | ||
21 | |||
22 | S = "${WORKDIR}/glib-${PV}" | ||
23 | |||
24 | inherit autotools pkgconfig gettext | ||
25 | |||
26 | python () { | ||
27 | if bb.data.getVar("USE_NLS", d, 1) == "no": | ||
28 | raise bb.parse.SkipPackage("${PN} requires native language support.") | ||
29 | } | ||
30 | |||
31 | acpaths = "" | ||
32 | do_configure_prepend () { | ||
33 | install -m 0644 ${WORKDIR}/glibconfig-sysdefs.h . | ||
34 | } | ||
35 | |||
36 | do_stage () { | ||
37 | oe_libinstall -so -C glib libglib-2.0 ${STAGING_LIBDIR} | ||
38 | oe_libinstall -so -C gmodule libgmodule-2.0 ${STAGING_LIBDIR} | ||
39 | oe_libinstall -so -C gthread libgthread-2.0 ${STAGING_LIBDIR} | ||
40 | oe_libinstall -so -C gobject libgobject-2.0 ${STAGING_LIBDIR} | ||
41 | autotools_stage_includes | ||
42 | install -d ${STAGING_INCDIR}/glib-2.0/glib | ||
43 | install -m 0755 ${S}/glibconfig.h ${STAGING_INCDIR}/glib-2.0/glibconfig.h | ||
44 | install -d ${STAGING_DATADIR}/aclocal | ||
45 | install -m 0644 ${S}/m4macros/glib-2.0.m4 ${STAGING_DATADIR}/aclocal/glib-2.0.m4 | ||
46 | install -m 0644 ${S}/m4macros/glib-gettext.m4 ${STAGING_DATADIR}/aclocal/glib-gettext.m4 | ||
47 | } | ||