1SUMMARY = "GNOME library for reading .desktop files"
2SECTION = "x11/gnome"
3LICENSE = "GPL-2.0-only & LGPL-2.0-only"
4LIC_FILES_CHKSUM = " \
5    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6    file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
7"
8
9
10inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
11
12REQUIRED_DISTRO_FEATURES = "x11 opengl"
13
14GIR_MESON_OPTION = ""
15
16SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
17            file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
18SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42"
19
20DEPENDS += " \
21    fontconfig \
22    gdk-pixbuf \
23    glib-2.0 \
24    gsettings-desktop-schemas \
25    gtk+3 \
26    gtk4 \
27    iso-codes \
28    xext \
29    libseccomp \
30    libxkbcommon \
31    xkeyboard-config \
32    xrandr \
33"
34
35DEPENDS:remove:riscv32 = "libseccomp"
36
37GTKDOC_MESON_OPTION = "gtk_doc"
38EXTRA_OEMESON = "-Ddesktop_docs=false"
39
40PACKAGES =+ "libgnome-desktop"
41RDEPENDS:${PN} += "libgnome-desktop"
42FILES:libgnome-desktop = " \
43    ${libdir}/lib*${SOLIBS} \
44    ${datadir}/libgnome-desktop*/pnp.ids \
45    ${datadir}/gnome/*xml \
46"
47
48RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"
49