mirror of
git://git.yoctoproject.org/poky
synced 2026-10-02 04:28:02 +00:00
Add branch name explicitly to SRC_URI where it's not defined and switch to using https protocol for Github projects. The change was made using convert-srcuri script in scripts/contrib. (From OE-Core rev: ab781d4e3fa7425d96ea770ddfd0f01f62018c5b) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
1.3 KiB
BlitzBasic
30 lines
1.3 KiB
BlitzBasic
SUMMARY = "Shared MIME type database and specification"
|
|
DESCRIPTION = "The shared-mime-info package contains the core database of common types and the update-mime-database command used to extend it. It requires glib2 to be installed for building the update command. Additionally, it uses intltool for translations, though this is only a dependency for the maintainers."
|
|
HOMEPAGE = "http://freedesktop.org/wiki/Software/shared-mime-info"
|
|
SECTION = "base"
|
|
|
|
LICENSE = "GPLv2"
|
|
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"
|
|
SRCREV = "18e558fa1c8b90b86757ade09a4ba4d6a6cf8f70"
|
|
PV = "2.1"
|
|
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"
|