diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info.inc | 9 | ||||
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info_0.91.bb | 2 |
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" | |||
17 | FILES_${PN} += "${datadir}/mime" | 17 | FILES_${PN} += "${datadir}/mime" |
18 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" | 18 | FILES_${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 | ||
22 | PACKAGES += "shared-mime-info-data" | ||
23 | FILES_shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml" | ||
24 | RDEPENDS_shared-mime-info-data = "shared-mime-info" | ||
25 | |||
20 | do_install () { | 26 | do_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 | ||
29 | do_install_virtclass-native () { | 32 | do_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 @@ | |||
1 | require shared-mime-info.inc | 1 | require shared-mime-info.inc |
2 | PR = "r1" | 2 | PR = "r2" |
3 | 3 | ||
4 | SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc" | 4 | SRC_URI[md5sum] = "982a211560ba4c47dc791ccff34e8fbc" |
5 | SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd" | 5 | SRC_URI[sha256sum] = "98cfebe1d809afb24934e634373821e2a1dfa86fc6462cab230589a1c80988bd" |