mirror of
https://git.yoctoproject.org/poky
synced 2026-03-06 23:39:40 +01:00
Clang finds it, gcc does not. (From OE-Core rev: a49a38c614280ba38a4c63fbac78a64efc30221f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
33 lines
1.2 KiB
BlitzBasic
33 lines
1.2 KiB
BlitzBasic
SUMMARY = "Shared MIME type database and specification"
|
|
DESCRIPTION = "The shared-mime-info package contains the core database of common types."
|
|
HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPL-2.0-only"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
|
|
|
|
DEPENDS = "libxml2 itstool-native glib-2.0 shared-mime-info-native xmlto-native"
|
|
|
|
SRC_URI = "git://gitlab.freedesktop.org/xdg/shared-mime-info.git;protocol=https;branch=master \
|
|
file://0001-Fix-string-literal-concatenation.patch \
|
|
file://0001-Fix-literal-as-per-c-11.patch \
|
|
"
|
|
SRCREV = "8e80a317f5c61a7f410330abea441e0b0b9280b5"
|
|
PV = "2.3"
|
|
S = "${WORKDIR}/git"
|
|
|
|
inherit meson pkgconfig gettext python3native mime
|
|
|
|
EXTRA_OEMESON = "-Dupdate-mimedb=true"
|
|
|
|
FILES:${PN} += "${datadir}/mime"
|
|
FILES:${PN}-dev += "${datadir}/pkgconfig/shared-mime-info.pc ${datadir}/gettext/its"
|
|
|
|
# freedesktop.org.xml is only required when updating the mime database,
|
|
# package it separately
|
|
PACKAGES =+ "shared-mime-info-data"
|
|
FILES:shared-mime-info-data = "${datadir}/mime/packages/freedesktop.org.xml"
|
|
RDEPENDS:shared-mime-info-data = "shared-mime-info"
|
|
|
|
BBCLASSEXTEND = "native nativesdk"
|