diff options
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 | 53 |
1 files changed, 0 insertions, 53 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 deleted file mode 100644 index 405402e7ea..0000000000 --- a/meta/recipes-core/glib-2.0/glib-2.0_2.30.3.bb +++ /dev/null | |||
@@ -1,53 +0,0 @@ | |||
1 | require glib.inc | ||
2 | |||
3 | PR = "r2" | ||
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 | SRC_URI_append_virtclass-native = " file://glib-gettextize-dir.patch" | ||
23 | BBCLASSEXTEND = "native nativesdk" | ||
24 | |||
25 | PERLPATH = "${bindir}/env perl" | ||
26 | PERLPATH_virtclass-native = "/usr/bin/env perl" | ||
27 | PERLPATH_virtclass-nativesdk = "/usr/bin/env perl" | ||
28 | |||
29 | do_configure_prepend() { | ||
30 | # missing ${topdir}/gtk-doc.make and --disable-gtk-doc* is not enough, because it calls gtkdocize (not provided by gtk-doc-native) | ||
31 | sed -i '/^docs/d' ${S}/configure.ac | ||
32 | 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 | ||
33 | sed -i -e "s:TEST_PROGS += gdbus-serialization::g" ${S}/gio/tests/Makefile.am | ||
34 | } | ||
35 | |||
36 | do_install_append() { | ||
37 | # remove some unpackaged files | ||
38 | rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyc | ||
39 | rm -f ${D}${libdir}/gdbus-2.0/codegen/*.pyo | ||
40 | # and empty dirs | ||
41 | rmdir ${D}${libdir}/gio/modules/ | ||
42 | rmdir ${D}${libdir}/gio/ | ||
43 | |||
44 | # Some distros have both /bin/perl and /usr/bin/perl, but we set perl location | ||
45 | # for target as /usr/bin/perl, so fix it to /usr/bin/perl. | ||
46 | if [ -f ${D}${bindir}/glib-mkenums ]; then | ||
47 | sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/glib-mkenums | ||
48 | fi | ||
49 | } | ||
50 | |||
51 | PACKAGES += "${PN}-codegen" | ||
52 | FILES_${PN}-codegen = "${libdir}/gdbus-2.0/codegen/*.py" | ||
53 | FILES_${PN} += "${datadir}/glib-2.0/gettext/mkinstalldirs ${datadir}/glib-2.0/gettext/po/Makefile.in.in" | ||