summaryrefslogtreecommitdiff
path: root/packages/shared-mime-info/shared-mime-info_0.51.bb
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openedhand.com>2008-07-29 15:42:56 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2008-10-23 17:15:10 +0200
commit8ea71e53c9823cda874f03c3705596f996a5ee1c (patch)
tree3d57e8b321a4e51f0eccb91c149b8d3bc942cbc4 /packages/shared-mime-info/shared-mime-info_0.51.bb
parent4ba2de6b25a72f86cdf8ed31cca5b32556721902 (diff)
shared-mime-info: build mime database on host instead on device (from Poky)
- added native version - removed 1MB freedesktop.org.xml file from package - split data are provided instead (result of update-mime-database) git-svn-id: https://svn.o-hand.com/repos/poky@4982 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'packages/shared-mime-info/shared-mime-info_0.51.bb')
-rw-r--r--packages/shared-mime-info/shared-mime-info_0.51.bb8
1 files changed, 8 insertions, 0 deletions
diff --git a/packages/shared-mime-info/shared-mime-info_0.51.bb b/packages/shared-mime-info/shared-mime-info_0.51.bb
index 6d3b760390..732d8e1725 100644
--- a/packages/shared-mime-info/shared-mime-info_0.51.bb
+++ b/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
+}