diff options
author | Koen Kooi <koen@openembedded.org> | 2008-12-04 12:48:29 +0100 |
---|---|---|
committer | Koen Kooi <koen@openembedded.org> | 2008-12-04 12:48:29 +0100 |
commit | 58b7e35080024943abcb068ab8814a179b7ef406 (patch) | |
tree | 69621755c467d12f3f632ca5e3c01a261afe2b35 /packages/shared-mime-info | |
parent | cd346b78407f24d0fb0522744c5384c6d675801d (diff) |
shared-mime-info: put freedesktop.org.xml in its own package
Diffstat (limited to 'packages/shared-mime-info')
-rw-r--r-- | packages/shared-mime-info/shared-mime-info_0.51.bb | 12 |
1 files changed, 8 insertions, 4 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 c8e475af56..31a7df1862 100644 --- a/packages/shared-mime-info/shared-mime-info_0.51.bb +++ b/packages/shared-mime-info/shared-mime-info_0.51.bb @@ -1,11 +1,15 @@ require shared-mime-info.inc DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" -PR = "r1" +PR = "r2" do_install_append() { update-mime-database ${D}${datadir}/mime - - # we do not need it on device and it is huge - rm ${D}${datadir}/mime/packages/freedesktop.org.xml } + +# freedesktop.org.xml is huge and only needed when updating the db +# mime.bbclass will add the dependency on it automagically +PACKAGES =+ "freedesktop-mime-info" +FILES_freedesktop-mime-info = "${datadir}/mime/packages/freedesktop.org.xml" +RDEPENDS_freedesktop-mime-info = "shared-mime-info" + |