diff options
| author | Gyorgy Sarvari <skandigraun@gmail.com> | 2026-02-05 18:07:25 +0100 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2026-02-06 10:06:26 -0800 |
| commit | e5cd8b0c37481cc60eb302a47e628bbd8eb8bb18 (patch) | |
| tree | fbd90544cfba9aa8c83e35799ee43a7424e2eada /meta-oe/recipes-support/mime-support | |
| parent | 1608ba5b9dff5da769ca096ce789b0d4dbe3a2d6 (diff) | |
| download | meta-openembedded-e5cd8b0c37481cc60eb302a47e628bbd8eb8bb18.tar.gz | |
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>
Diffstat (limited to 'meta-oe/recipes-support/mime-support')
| -rw-r--r-- | meta-oe/recipes-support/mime-support/media-types_14.0.0.bb | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb b/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb deleted file mode 100644 index 137d508ebe..0000000000 --- a/meta-oe/recipes-support/mime-support/media-types_14.0.0.bb +++ /dev/null | |||
| @@ -1,39 +0,0 @@ | |||
| 1 | SECTION = "base" | ||
| 2 | SUMMARY = "MIME files 'mime.types'" | ||
| 3 | LICENSE = "PD" | ||
| 4 | LIC_FILES_CHKSUM = "file://debian/copyright;md5=f3ace4a4ff8aa9e374be6080e41a822e" | ||
| 5 | DEPENDS = "file" | ||
| 6 | RDEPENDS:${PN} = "perl" | ||
| 7 | RRECOMMENDS:${PN} = "file" | ||
| 8 | |||
| 9 | SRC_URI = "${DEBIAN_MIRROR}/main/m/${BPN}/${BPN}_${PV}.tar.xz" | ||
| 10 | SRC_URI[sha256sum] = "d5877ac8c1fa3661b3c9ace293ae154c844fad686786f085e954c014f7e73f4d" | ||
| 11 | S = "${UNPACKDIR}/work" | ||
| 12 | |||
| 13 | inherit update-alternatives | ||
| 14 | |||
| 15 | FILES:${PN} += " ${datadir}/bug/media-types" | ||
| 16 | |||
| 17 | docdir:append = "/${BPN}" | ||
| 18 | |||
| 19 | do_install () { | ||
| 20 | install -d ${D}${sysconfdir} | ||
| 21 | install -d ${D}${datadir}/bug/media-types | ||
| 22 | install -d ${D}${docdir} | ||
| 23 | install -m 644 mime.types ${D}${sysconfdir}/ | ||
| 24 | install -m 644 debian/bug-presubj ${D}${datadir}/bug/media-types/presubj | ||
| 25 | install -m 644 debian/changelog ${D}${docdir}/changelog | ||
| 26 | install -m 644 debian/copyright ${D}${docdir}/copyright | ||
| 27 | cd ${D}${docdir}; gzip -9v changelog | ||
| 28 | } | ||
| 29 | |||
| 30 | ALTERNATIVE_PRIORITY = "90" | ||
| 31 | ALTERNATIVE:${PN} = "mime.types" | ||
| 32 | ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types" | ||
| 33 | |||
| 34 | INHIBIT_DEFAULT_DEPS = "1" | ||
| 35 | |||
| 36 | # Debian used to have mime-support package which was media-types and | ||
| 37 | # mailcap recipes in one. | ||
| 38 | PROVIDES += "mime-support" | ||
| 39 | RDEPENDS:mime-support = "mailcap" | ||
