media-types: fix RPROVIDES

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 <skandigraun@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Gyorgy Sarvari 2026-02-05 18:07:25 +01:00 committed by Khem Raj
parent 1608ba5b9d
commit e5cd8b0c37
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -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"