diff options
Diffstat (limited to 'meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb')
-rw-r--r-- | meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb new file mode 100644 index 0000000000..5ba4023609 --- /dev/null +++ b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb | |||
@@ -0,0 +1,29 @@ | |||
1 | SUMMARY = "Shared MIME type database and specification" | ||
2 | DESCRIPTION = "The shared-mime-info package contains the core database of common types." | ||
3 | HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info" | ||
4 | SECTION = "base" | ||
5 | |||
6 | LICENSE = "GPL-2.0-only" | ||
7 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" | ||
8 | |||
9 | DEPENDS = "libxml2 itstool-native glib-2.0 shared-mime-info-native xmlto-native" | ||
10 | |||
11 | SRC_URI = "git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;branch=master" | ||
12 | SRCREV = "9a6d6b8e963935f145f3a1ef446552de6996dada" | ||
13 | |||
14 | S = "${WORKDIR}/git" | ||
15 | |||
16 | inherit meson pkgconfig gettext python3native mime | ||
17 | |||
18 | EXTRA_OEMESON = "-Dupdate-mimedb=true" | ||
19 | |||
20 | FILES:${PN} += "${datadir}/mime" | ||
21 | FILES:${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc ${datadir}/gettext/its" | ||
22 | |||
23 | # freedesktop.org.xml is only required when updating the mime database, | ||
24 | # package it separately | ||
25 | PACKAGES =+ "shared-mime-info-data" | ||
26 | FILES:shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml" | ||
27 | RDEPENDS:shared-mime-info-data = "shared-mime-info" | ||
28 | |||
29 | BBCLASSEXTEND = "native nativesdk" | ||