summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info.inc9
-rw-r--r--meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb2
2 files changed, 7 insertions, 4 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info.inc b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
index c8cab291da..57e829c114 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info.inc
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc
@@ -17,13 +17,16 @@ EXTRA_OECONF = "--disable-update-mimedb"
17FILES_${PN} += "${datadir}/mime" 17FILES_${PN} += "${datadir}/mime"
18FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" 18FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
19 19
20# freedesktop.org.xml is only required when updating the mime database,
21# package it separately
22PACKAGES += "shared-mime-info-data"
23FILES_shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml"
24RDEPENDS_shared-mime-info-data = "shared-mime-info"
25
20do_install () { 26do_install () {
21 autotools_do_install 27 autotools_do_install
22 28
23 update-mime-database ${D}${datadir}/mime 29 update-mime-database ${D}${datadir}/mime
24
25 # we do not need it on device and it is huge
26 rm ${D}${datadir}/mime/packages/freedesktop.org.xml
27} 30}
28 31
29do_install_virtclass-native () { 32do_install_virtclass-native () {
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
index 0c3b01cb9d..bc4a8f70b7 100644
--- a/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
+++ b/meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb
@@ -1,5 +1,5 @@
1require shared-mime-info.inc 1require shared-mime-info.inc
2PR = "r1" 2PR = "r2"
3 3
4SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc" 4SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc"
5SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd" 5SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd"