From 09fd2eddd43d660e4fb890bdb818021ec7279eba Mon Sep 17 00:00:00 2001 From: Jan-Simon Möller Date: Wed, 29 Mar 2017 16:53:45 +0200 Subject: Fix virtual provider for webruntime MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A recipe that is to be used as virtual provider needs to declare this in a PROVIDES += 'virtual/foo' statement. The selection then happens through a PREFERRED_PROVIDER. Add the missing PROVIDES. Additionally we found that in case of web-runtime, _R_PROVIDES is not reflecting the PROVIDES as expected and added the necessary override there, too. Kudos to co-investigator Stéphane Desneux. Change-Id: Ic9224ea122c21dab6ab2e7e515d6ac4d0417ef57 Signed-off-by: Jan-Simon Möller --- meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta-app-framework/recipes-core') diff --git a/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb b/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb index fa149875c..90c72eccf 100644 --- a/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb +++ b/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb @@ -14,6 +14,10 @@ SRC_URI = "\ RDEPENDS_${PN} = "qtwebkit-qmlplugins" +PROVIDES += "virtual/webruntime" +# add also RPROVIDES to satisfy the packagegroup +RPROVIDES_${PN} += "virtual/webruntime" + do_configure() { : } -- cgit 1.2.3-korg