diff options
author | Shane Wang <shane.wang@intel.com> | 2012-03-15 10:47:24 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-03-21 13:03:39 +0000 |
commit | 3510a591832c7443c96900063a3c29a78b0011c4 (patch) | |
tree | 9f57ad39288f96526c8eaed2d1baa9b5424d1b37 /meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb | |
parent | 224ff370b4636cdd33c47c1e6341ef43a67e0227 (diff) | |
download | poky-3510a591832c7443c96900063a3c29a78b0011c4.tar.gz |
glib-2.0: upgrade to 2.30.3
(From OE-Core rev: 19e041720699776c58280d07d5bf5f18246a42d9)
Signed-off-by: Shane Wang <shane.wang@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb new file mode 100644 index 0000000000..3b9da89f3f --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb | |||
@@ -0,0 +1,46 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | PR = "r0" | ||
4 | PE = "1" | ||
5 | |||
6 | DEPENDS += "libffi python-argparse-native zlib" | ||
7 | DEPENDS_virtclass-native += "libffi-native python-argparse-native" | ||
8 | DEPENDS_virtclass-nativesdk += "libffi-nativesdk python-argparse-native zlib-nativesdk" | ||
9 | |||
10 | SHRT_VER = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}" | ||
11 | |||
12 | SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | ||
13 | file://configure-libtool.patch \ | ||
14 | file://60_wait-longer-for-threads-to-die.patch \ | ||
15 | file://g_once_init_enter.patch \ | ||
16 | file://glib-2.0_fix_for_x32.patch \ | ||
17 | file://nodbus.patch \ | ||
18 | " | ||
19 | SRC_URI[md5sum] = "0f9fa329c6c1012d0fd861ad3d8a4520" | ||
20 | SRC_URI[sha256sum] = "e6cbb27c71c445993346e785e8609cc75cea2941e32312e544872feba572dd27" | ||
21 | |||
22 | # Only apply this patch for target recipe on uclibc | ||
23 | SRC_URI_append_libc-uclibc = " ${@['', 'file://no-iconv.patch']['${PN}' == '${BPN}']}" | ||
24 | |||
25 | SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" | ||
26 | BBCLASSEXTEND = "native nativesdk" | ||
27 | |||
28 | do_configure_prepend() { | ||
29 | # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough, because it calls gtkdocize (not provided by gtk-doc-native) | ||
30 | sed -i '/^docs/d' ${S}/configure.ac | ||
31 | sed -i 's/SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po docs/SUBDIRS = . m4macros glib gmodule gthread gobject gio tests po/g' ${S}/Makefile.am | ||
32 | sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am | ||
33 | } | ||
34 | |||
35 | do_install_append() { | ||
36 | # remove some unpackaged files | ||
37 | rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc | ||
38 | rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo | ||
39 | # and empty dirs | ||
40 | rmdir ${D}${libdir}/gio/modules/ | ||
41 | rmdir ${D}${libdir}/gio/ | ||
42 | } | ||
43 | |||
44 | PACKAGES += "${PN}-codegen" | ||
45 | FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py" | ||
46 | FILES_${PN} += "${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in" | ||