diff options
author | Marko Lindqvist <cazfi74@gmail.com> | 2013-08-16 11:07:29 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-20 15:31:24 +0100 |
commit | e13de3efc82ebbb291a8f44b95eb648857aacb0d (patch) | |
tree | 157f730f1b4dcaa443c3c67c78dbd81686716ed2 /meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb | |
parent | 4bf64ec7e3676a6857476f21325a136b7f2f9343 (diff) | |
download | poky-e13de3efc82ebbb291a8f44b95eb648857aacb0d.tar.gz |
glib-2.0: update to upstream version 2.36.4
(From OE-Core rev: 8414bb5a7f2780fc067f1fdc30a56b568cbb7d82)
Signed-off-by: Marko Lindqvist <cazfi74@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb new file mode 100644 index 0000000000..3ba49b6da9 --- /dev/null +++ b/meta/recipes-core/glib-2.0/glib-2.0_2.36.4.bb | |||
@@ -0,0 +1,64 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | PE = "1" | ||
4 | |||
5 | DEPENDS += "libffi zlib" | ||
6 | DEPENDS_class-native += "libffi-native" | ||
7 | DEPENDS_class-nativesdk += "nativesdk-libffi nativesdk-zlib ${BPN}-native" | ||
8 | |||
9 | SHRT_VER = "${@oe.utils.trim_version("${PV}", 2)}" | ||
10 | |||
11 | SRC_URI = "${GNOME_MIRROR}/glib/${SHRT_VER}/glib-${PV}.tar.xz \ | ||
12 | file://configure-libtool.patch \ | ||
13 | file://glib-2.0_fix_for_x32.patch \ | ||
14 | file://fix-conflicting-rand.patch \ | ||
15 | file://Makefile-ptest.patch \ | ||
16 | file://add-march-i486-into-CFLAGS-automatically.patch \ | ||
17 | file://run-ptest \ | ||
18 | " | ||
19 | |||
20 | SRC_URI_append_class-native = " file://glib-gettextize-dir.patch" | ||
21 | |||
22 | SRC_URI[md5sum] = "2f4b15f7ef43d8702d067ab987bf7aba" | ||
23 | SRC_URI[sha256sum] = "f654d2542329012d8475736a165dfbf82fadf3ee940c2e0e6ddd4b2fde5cad7e" | ||
24 | |||
25 | BBCLASSEXTEND = "native nativesdk" | ||
26 | |||
27 | RDEPENDS_${PN}-ptest += "\ | ||
28 | tzdata \ | ||
29 | tzdata-americas \ | ||
30 | tzdata-asia \ | ||
31 | tzdata-europe \ | ||
32 | tzdata-posix \ | ||
33 | python-pygobject \ | ||
34 | python-dbus \ | ||
35 | " | ||
36 | |||
37 | RDEPENDS_${PN}-ptest_append_libc-glibc = "\ | ||
38 | eglibc-gconv-utf-16 \ | ||
39 | eglibc-charmap-utf-8 \ | ||
40 | eglibc-gconv-cp1255 \ | ||
41 | eglibc-charmap-cp1255 \ | ||
42 | eglibc-gconv-utf-32 \ | ||
43 | eglibc-gconv-utf-7 \ | ||
44 | eglibc-charmap-invariant \ | ||
45 | eglibc-localedata-translit-cjk-variants \ | ||
46 | " | ||
47 | |||
48 | do_configure_prepend() { | ||
49 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | ||
50 | } | ||
51 | |||
52 | do_install_append() { | ||
53 | # remove some unpackaged files | ||
54 | rm -f ${D}${datadir}/glib-2.0/codegen/*.pyc | ||
55 | rm -f ${D}${datadir}/glib-2.0/codegen/*.pyo | ||
56 | # and empty dirs | ||
57 | rm -rf ${D}${libdir}/gio | ||
58 | |||
59 | # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location | ||
60 | # for target as /usr/bin/perl, so fix it to /usr/bin/perl. | ||
61 | if [ -f ${D}${bindir}/glib-mkenums ]; then | ||
62 | sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/glib-mkenums | ||
63 | fi | ||
64 | } | ||