diff options
Diffstat (limited to 'meta/recipes-support/shared-mime-info/shared-mime-info.inc')
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info.inc | 28 |
1 files changed, 28 insertions, 0 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 new file mode 100644 index 0000000000..c2e5487019 --- /dev/null +++ b/meta/recipes-support/shared-mime-info/shared-mime-info.inc | |||
@@ -0,0 +1,28 @@ | |||
1 | DESCRIPTION = "shared MIME database and spec" | ||
2 | HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info" | ||
3 | SECTION = "base" | ||
4 | |||
5 | LICENSE = "GPLv2+" | ||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3" | ||
7 | |||
8 | DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native" | ||
9 | DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native" | ||
10 | PR = "r0" | ||
11 | |||
12 | SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2" | ||
13 | |||
14 | inherit autotools pkgconfig gettext | ||
15 | |||
16 | EXTRA_OECONF = "--disable-update-mimedb" | ||
17 | |||
18 | FILES_${PN} += "${datadir}/mime" | ||
19 | FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc" | ||
20 | |||
21 | do_install_append() { | ||
22 | update-mime-database ${D}${datadir}/mime | ||
23 | |||
24 | # we do not need it on device and it is huge | ||
25 | rm ${D}${datadir}/mime/packages/freedesktop.org.xml | ||
26 | } | ||
27 | |||
28 | BBCLASSEXTEND = "native" | ||