blob: 19bae74ce2cf3a85f3873ba43fc986861b22aad8 [file] [log] [blame]
SUMMARY = "GNOME library for reading .desktop files"
SECTION = "x11/gnome"
LICENSE = "GPL-2.0-only & LGPL-2.0-only"
LIC_FILES_CHKSUM = " \
file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
"
inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
REQUIRED_DISTRO_FEATURES = "x11 opengl"
GIR_MESON_OPTION = ""
SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42"
DEPENDS += " \
fontconfig \
gdk-pixbuf \
glib-2.0 \
gsettings-desktop-schemas \
gtk+3 \
gtk4 \
iso-codes \
xext \
libseccomp \
libxkbcommon \
xkeyboard-config \
xrandr \
"
DEPENDS:remove:riscv32 = "libseccomp"
GTKDOC_MESON_OPTION = "gtk_doc"
EXTRA_OEMESON = "-Ddesktop_docs=false"
PACKAGES =+ "libgnome-desktop"
RDEPENDS:${PN} += "libgnome-desktop"
FILES:libgnome-desktop = " \
${libdir}/lib*${SOLIBS} \
${datadir}/libgnome-desktop*/pnp.ids \
${datadir}/gnome/*xml \
"
RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"