summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/shared-mime-info/shared-mime-info.inc
diff options
context:
space:
mode:
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.inc28
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 @@
1DESCRIPTION = "shared MIME database and spec"
2HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
3SECTION = "base"
4
5LICENSE = "GPLv2+"
6LIC_FILES_CHKSUM = "file://COPYING;md5=0636e73ff0215e8d672dc4c32c317bb3"
7
8DEPENDS = "libxml2 intltool-native glib-2.0 shared-mime-info-native"
9DEPENDS_virtclass-native = "libxml2-native intltool-native glib-2.0-native"
10PR = "r0"
11
12SRC_URI = "http://freedesktop.org/~hadess/shared-mime-info-${PV}.tar.bz2"
13
14inherit autotools pkgconfig gettext
15
16EXTRA_OECONF = "--disable-update-mimedb"
17
18FILES_${PN} += "${datadir}/mime"
19FILES_${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc"
20
21do_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
28BBCLASSEXTEND = "native"