blob: 19bae74ce2cf3a85f3873ba43fc986861b22aad8 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001SUMMARY = "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
Andrew Geissler517393d2023-01-13 08:55:19 -06009
10inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
11
12REQUIRED_DISTRO_FEATURES = "x11 opengl"
Andrew Geissler517393d2023-01-13 08:55:19 -060013
14GIR_MESON_OPTION = ""
15
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050016SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
17 file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050018SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42"
Andrew Geissler517393d2023-01-13 08:55:19 -060019
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
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050035DEPENDS:remove:riscv32 = "libseccomp"
36
Andrew Geissler517393d2023-01-13 08:55:19 -060037GTKDOC_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"