[meta-gnome] folks: dont build tests as they are not installed anyway

Message ID 20220128175842.5234-1-f_l_k@t-online.de
State New
Headers show
Series [meta-gnome] folks: dont build tests as they are not installed anyway | expand

Commit Message

Markus Volk Jan. 28, 2022, 5:58 p.m. UTC
Signed-off-by: Markus Volk <f_l_k@t-online.de>
---
 meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Ross Burton Feb. 1, 2022, 5:56 p.m. UTC | #1
Thanks Markus, +1 from me.

Ross

On Fri, 28 Jan 2022 at 17:58, Markus Volk <f_l_k@t-online.de> wrote:
>
> Signed-off-by: Markus Volk <f_l_k@t-online.de>
> ---
>  meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
> index d331dfdb5..c3c30ca46 100644
> --- a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
> +++ b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
> @@ -8,6 +8,7 @@ DEPENDS = " \
>  "
>
>  GNOMEBASEBUILDCLASS = "meson"
> +EXTRA_OEMESON += "-Dtests=false"
>
>  # gobject-introspection is mandatory and cannot be configured
>  REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
> @@ -19,9 +20,8 @@ PACKAGECONFIG[ofono] = "-Deds_backend=true -Dofono_backend=true,-Dofono_backend=
>  PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib"
>  PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2"
>  PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false"
> -PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,python3-dbusmock-native"
>
> -PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests','', d)}"
> +PACKAGECONFIG ??= ""
>
>  inherit pkgconfig gnomebase gettext gobject-introspection vala features_check
>
> --
> 2.25.1
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#95157): https://lists.openembedded.org/g/openembedded-devel/message/95157
> Mute This Topic: https://lists.openembedded.org/mt/88750398/1676615
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [ross@burtonini.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>

Patch

diff --git a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
index d331dfdb5..c3c30ca46 100644
--- a/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
+++ b/meta-gnome/recipes-connectivity/folks/folks_0.15.4.bb
@@ -8,6 +8,7 @@  DEPENDS = " \
 "
 
 GNOMEBASEBUILDCLASS = "meson"
+EXTRA_OEMESON += "-Dtests=false"
 
 # gobject-introspection is mandatory and cannot be configured
 REQUIRED_DISTRO_FEATURES = "gobject-introspection-data"
@@ -19,9 +20,8 @@  PACKAGECONFIG[ofono] = "-Deds_backend=true -Dofono_backend=true,-Dofono_backend=
 PACKAGECONFIG[telepathy] = "-Dtelepathy_backend=true,-Dtelepathy_backend=false,telepathy-glib dbus-glib"
 PACKAGECONFIG[import_tool] = "-Dimport_tool=true,-Dimport_tool=false,libxml2"
 PACKAGECONFIG[inspect_tool] = "-Dinspect_tool=true,-Dinspect_tool=false"
-PACKAGECONFIG[tests] = "-Dtests=true,-Dtests=false,python3-dbusmock-native"
 
-PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'ptest', 'tests','', d)}"
+PACKAGECONFIG ??= ""
 
 inherit pkgconfig gnomebase gettext gobject-introspection vala features_check