summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/mime-support
diff options
context:
space:
mode:
authorGyorgy Sarvari <skandigraun@gmail.com>2026-02-05 18:07:25 +0100
committerKhem Raj <raj.khem@gmail.com>2026-02-06 10:06:26 -0800
commite5cd8b0c37481cc60eb302a47e628bbd8eb8bb18 (patch)
treefbd90544cfba9aa8c83e35799ee43a7424e2eada /meta-oe/recipes-support/mime-support
parent1608ba5b9dff5da769ca096ce789b0d4dbe3a2d6 (diff)
downloadmeta-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.bb39
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 @@
1SECTION = "base"
2SUMMARY = "MIME files 'mime.types'"
3LICENSE = "PD"
4LIC_FILES_CHKSUM = "file://debian/copyright;md5=f3ace4a4ff8aa9e374be6080e41a822e"
5DEPENDS = "file"
6RDEPENDS:${PN} = "perl"
7RRECOMMENDS:${PN} = "file"
8
9SRC_URI = "${DEBIAN_MIRROR}/main/m/${BPN}/${BPN}_${PV}.tar.xz"
10SRC_URI[sha256sum] = "d5877ac8c1fa3661b3c9ace293ae154c844fad686786f085e954c014f7e73f4d"
11S = "${UNPACKDIR}/work"
12
13inherit update-alternatives
14
15FILES:${PN} += " ${datadir}/bug/media-types"
16
17docdir:append = "/${BPN}"
18
19do_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
30ALTERNATIVE_PRIORITY = "90"
31ALTERNATIVE:${PN} = "mime.types"
32ALTERNATIVE_LINK_NAME[mime.types] = "${sysconfdir}/mime.types"
33
34INHIBIT_DEFAULT_DEPS = "1"
35
36# Debian used to have mime-support package which was media-types and
37# mailcap recipes in one.
38PROVIDES += "mime-support"
39RDEPENDS:mime-support = "mailcap"