diff options
Diffstat (limited to 'meta/packages/shared-mime-info/shared-mime-info.inc')
-rw-r--r-- | meta/packages/shared-mime-info/shared-mime-info.inc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/meta/packages/shared-mime-info/shared-mime-info.inc b/meta/packages/shared-mime-info/shared-mime-info.inc index ba96f17390..81320371fa 100644 --- a/meta/packages/shared-mime-info/shared-mime-info.inc +++ b/meta/packages/shared-mime-info/shared-mime-info.inc | |||
@@ -2,6 +2,10 @@ SECTION = "base" | |||
2 | LICENSE = "GPL" | 2 | LICENSE = "GPL" |
3 | 3 | ||
4 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" | 4 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" |
5 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" | ||
6 | DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native" | ||
7 | |||
8 | PR = "r2" | ||
5 | 9 | ||
6 | inherit autotools pkgconfig gettext | 10 | inherit autotools pkgconfig gettext |
7 | 11 | ||
@@ -9,3 +13,12 @@ EXTRA_OECONF = "--disable-update-mimedb" | |||
9 | 13 | ||
10 | FILES_${PN} += "${datadir}/mime" | 14 | FILES_${PN} += "${datadir}/mime" |
11 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" | 15 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" |
16 | |||
17 | do_install_append() { | ||
18 | update-mime-database ${D}${datadir}/mime | ||
19 | |||
20 | # we do not need it on device and it is huge | ||
21 | rm ${D}${datadir}/mime/packages/freedesktop.org.xml | ||
22 | } | ||
23 | |||
24 | BBCLASSEXTEND = "native" | ||