]> code.ossystems Code Review - openembedded-core.git/commitdiff
glib-2.0: Add python3 modules required by gdbus-codegen
authorJef Driesen <jef.driesen@niko.eu>
Fri, 22 Dec 2017 09:30:19 +0000 (10:30 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 6 Jan 2018 10:11:42 +0000 (10:11 +0000)
The gdbus-codegen tool depends on python3, python3-distutils and python3-xml at
runtime. But because these dependencies are not stated in the yocto recipe,
those python modules are not automatically included in the SDK.

Signed-off-by: Jef Driesen <jef.driesen@niko.eu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 26af3b4b33a34d7e53059b07236f9d5aae5e004a)
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/recipes-core/glib-2.0/glib.inc

index 8434b7dae38365fa59577d00198fae0b25b2ac19..4cdf1411e8e3d14a70b25367289d592462c93867 100644 (file)
@@ -121,6 +121,12 @@ do_install_append_class-target () {
        fi
 }
 
+RDEPENDS_${PN}-codegen += "\
+            python3 \
+            python3-distutils \
+            python3-xml \
+           "
+
 RDEPENDS_${PN}-ptest += "\
             dbus \
             gnome-desktop-testing \