summaryrefslogtreecommitdiff
path: root/meta/packages/shared-mime-info/shared-mime-info_0.51.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/packages/shared-mime-info/shared-mime-info_0.51.bb')
-rw-r--r--meta/packages/shared-mime-info/shared-mime-info_0.51.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/meta/packages/shared-mime-info/shared-mime-info_0.51.bb b/meta/packages/shared-mime-info/shared-mime-info_0.51.bb
index 6d3b760390..732d8e1725 100644
--- a/meta/packages/shared-mime-info/shared-mime-info_0.51.bb
+++ b/meta/packages/shared-mime-info/shared-mime-info_0.51.bb
@@ -1,3 +1,11 @@
require shared-mime-info.inc
+DEPENDS += "shared-mime-info-native"
PR = "r1"
+
+do_install_append() {
+ update-mime-database ${D}${datadir}/mime
+
+ # we do not need it on device and it is huge
+ rm ${D}${destdir}/mime/packages/freedesktop.org.xml
+}