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 | 31 |
1 files changed, 31 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..ef5df44ad6 --- /dev/null +++ b/meta/recipes-support/shared-mime-info/shared-mime-info_2.4.bb | |||
@@ -0,0 +1,31 @@ | |||
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 | file://0001-Fix-build-with-libxml2-2.12.0-and-clang-17.patch \ | ||
13 | file://0002-Handle-build-with-older-versions-of-GCC.patch" | ||
14 | SRCREV = "9a6d6b8e963935f145f3a1ef446552de6996dada" | ||
15 | |||
16 | S = "${WORKDIR}/git" | ||
17 | |||
18 | inherit meson pkgconfig gettext python3native mime | ||
19 | |||
20 | EXTRA_OEMESON = "-Dupdate-mimedb=true" | ||
21 | |||
22 | FILES:${PN} += "${datadir}/mime" | ||
23 | FILES:${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc ${datadir}/gettext/its" | ||
24 | |||
25 | # freedesktop.org.xml is only required when updating the mime database, | ||
26 | # package it separately | ||
27 | PACKAGES =+ "shared-mime-info-data" | ||
28 | FILES:shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml" | ||
29 | RDEPENDS:shared-mime-info-data = "shared-mime-info" | ||
30 | |||
31 | BBCLASSEXTEND = "native nativesdk" | ||