diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/glib-2.0/glib.inc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/meta/recipes-core/glib-2.0/glib.inc b/meta/recipes-core/glib-2.0/glib.inc index ddf5e40b9f..c6b8e57e7d 100644 --- a/meta/recipes-core/glib-2.0/glib.inc +++ b/meta/recipes-core/glib-2.0/glib.inc | |||
@@ -26,7 +26,7 @@ PACKAGES += "${PN}-codegen ${PN}-utils" | |||
26 | 26 | ||
27 | LEAD_SONAME = "libglib-2.0.*" | 27 | LEAD_SONAME = "libglib-2.0.*" |
28 | 28 | ||
29 | inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache | 29 | inherit autotools gettext gtk-doc pkgconfig ptest-gnome upstream-version-is-even bash-completion gio-module-cache python3native |
30 | 30 | ||
31 | S = "${WORKDIR}/glib-${PV}" | 31 | S = "${WORKDIR}/glib-${PV}" |
32 | 32 | ||
@@ -44,7 +44,7 @@ EXTRA_OECONF_class-native = "${CORECONF} --disable-selinux" | |||
44 | EXTRA_OECONF_append_libc-uclibc = " --with-libiconv=gnu" | 44 | EXTRA_OECONF_append_libc-uclibc = " --with-libiconv=gnu" |
45 | 45 | ||
46 | do_configure_prepend() { | 46 | do_configure_prepend() { |
47 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in | 47 | sed -i -e '1s,#!.*,#!${USRBINPATH}/env python3,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in |
48 | } | 48 | } |
49 | 49 | ||
50 | FILES_${PN} = "${libdir}/lib*${SOLIBS} \ | 50 | FILES_${PN} = "${libdir}/lib*${SOLIBS} \ |
@@ -73,7 +73,7 @@ USE_NLS = "yes" | |||
73 | 73 | ||
74 | do_install_append () { | 74 | do_install_append () { |
75 | if [ -f ${D}${bindir}/gtester-report ]; then | 75 | if [ -f ${D}${bindir}/gtester-report ]; then |
76 | sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python|' | 76 | sed ${D}${bindir}/gtester-report -i -e '1s|^#!.*|#!/usr/bin/env python3|' |
77 | fi | 77 | fi |
78 | 78 | ||
79 | # Remove some unpackaged files | 79 | # Remove some unpackaged files |
@@ -109,8 +109,6 @@ RDEPENDS_${PN}-ptest += "\ | |||
109 | tzdata-asia \ | 109 | tzdata-asia \ |
110 | tzdata-europe \ | 110 | tzdata-europe \ |
111 | tzdata-posix \ | 111 | tzdata-posix \ |
112 | python-pygobject \ | ||
113 | python-dbus \ | ||
114 | shared-mime-info \ | 112 | shared-mime-info \ |
115 | " | 113 | " |
116 | 114 | ||