diff options
| -rw-r--r-- | meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb index 582ac248fd..e161f3ca2d 100644 --- a/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb +++ b/meta/recipes-gnome/gobject-introspection/gobject-introspection_1.80.1.bb | |||
| @@ -26,7 +26,8 @@ GTKDOC_MESON_OPTION = "gtk_doc" | |||
| 26 | 26 | ||
| 27 | MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner" | 27 | MULTILIB_SCRIPTS = "${PN}:${bindir}/g-ir-annotation-tool ${PN}:${bindir}/g-ir-scanner" |
| 28 | 28 | ||
| 29 | DEPENDS += " libffi zlib python3 flex-native bison-native" | 29 | # setuptools are required to provide distutils to build the tools |
| 30 | DEPENDS += " libffi zlib python3 python3-setuptools flex-native bison-native" | ||
| 30 | DEPENDS:append:class-native = " glib-2.0" | 31 | DEPENDS:append:class-native = " glib-2.0" |
| 31 | DEPENDS:append:class-target = " glib-2.0-initial" | 32 | DEPENDS:append:class-target = " glib-2.0-initial" |
| 32 | 33 | ||
| @@ -169,6 +170,15 @@ gi_package_preprocess() { | |||
| 169 | 170 | ||
| 170 | SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir postinst-ldsoconf-${PN}" | 171 | SSTATE_SCAN_FILES += "g-ir-scanner-qemuwrapper g-ir-scanner-wrapper g-ir-compiler-wrapper g-ir-scanner-lddwrapper Gio-2.0.gir postinst-ldsoconf-${PN}" |
| 171 | 172 | ||
| 173 | PACKAGES =+ "\ | ||
| 174 | ${PN}-tools \ | ||
| 175 | " | ||
| 176 | |||
| 177 | FILES:${PN}-tools = "\ | ||
| 178 | ${bindir} \ | ||
| 179 | ${libdir}/gobject-introspection/giscanner \ | ||
| 180 | " | ||
| 181 | |||
| 172 | # .typelib files are needed at runtime and so they go to the main package | 182 | # .typelib files are needed at runtime and so they go to the main package |
| 173 | FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" | 183 | FILES:${PN}:append = " ${libdir}/girepository-*/*.typelib" |
| 174 | 184 | ||
| @@ -190,7 +200,15 @@ FILES:${PN}-dev:append = " ${datadir}/gobject-introspection-1.0/tests/*.c \ | |||
| 190 | FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/" | 200 | FILES:${PN}-dbg += "${libdir}/gobject-introspection/giscanner/.debug/" |
| 191 | FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a" | 201 | FILES:${PN}-staticdev += "${libdir}/gobject-introspection/giscanner/*.a" |
| 192 | 202 | ||
| 203 | # glib-2.0 is required for libgirepository | ||
| 204 | RDEPENDS:${PN} = "glib-2.0" | ||
| 205 | |||
| 193 | # setuptools can be removed when upstream removes all uses of distutils | 206 | # setuptools can be removed when upstream removes all uses of distutils |
| 194 | RDEPENDS:${PN} = "python3-pickle python3-xml python3-setuptools glib-2.0" | 207 | RDEPENDS:${PN}-tools = "\ |
| 208 | glib-2.0 \ | ||
| 209 | python3-pickle \ | ||
| 210 | python3-setuptools \ | ||
| 211 | python3-xml \ | ||
| 212 | " | ||
| 195 | 213 | ||
| 196 | BBCLASSEXTEND = "native" | 214 | BBCLASSEXTEND = "native" |
