Instead of PROVIDING mime-support, it should RPROVIDE the same package.
It allows adding "mime-support" to IMAGE_INSTALL to get a similar
behavior than before mime-support recipe was split into two differently
named recipes.

Also, rename the recipe's folder to match the recipe name.

Signed-off-by: Gyorgy Sarvari <[email protected]>
---
 .../{mime-support => media-types}/media-types_14.0.0.bb     | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
 rename meta-oe/recipes-support/{mime-support => 
media-types}/media-types_14.0.0.bb (89%)

diff --git a/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb 
b/meta-oe/recipes-support/media-types/media-types_14.0.0.bb
similarity index 89%
rename from meta-oe/recipes-support/mime-support/media-types_14.0.0.bb
rename to meta-oe/recipes-support/media-types/media-types_14.0.0.bb
index 137d508ebe..af91a584bd 100644
--- a/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb
+++ b/meta-oe/recipes-support/media-types/media-types_14.0.0.bb
@@ -35,5 +35,7 @@ INHIBIT_DEFAULT_DEPS = "1"
 
 # Debian used to have mime-support package which was media-types and
 # mailcap recipes in one.
-PROVIDES += "mime-support"
-RDEPENDS:mime-support = "mailcap"
+PACKAGES += "mime-support"
+RPROVIDES:${PN} += "mime-support"
+RDEPENDS:mime-support += "${PN} mailcap"
+ALLOW_EMPTY:mime-support = "1"
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#124216): 
https://lists.openembedded.org/g/openembedded-devel/message/124216
Mute This Topic: https://lists.openembedded.org/mt/117656951/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to