blob: 03411c88d9e4843e8cbe4d42d003dab8d6ac243b [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
9GNOMEBASEBUILDCLASS = "meson"
10
11inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
12
13REQUIRED_DISTRO_FEATURES = "x11 opengl"
Andrew Geissler517393d2023-01-13 08:55:19 -060014
15GIR_MESON_OPTION = ""
16
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050017SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
18 file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
Patrick Williams8e7b46e2023-05-01 14:19:06 -050019SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42"
Andrew Geissler517393d2023-01-13 08:55:19 -060020
21DEPENDS += " \
22 fontconfig \
23 gdk-pixbuf \
24 glib-2.0 \
25 gsettings-desktop-schemas \
26 gtk+3 \
27 gtk4 \
28 iso-codes \
29 xext \
30 libseccomp \
31 libxkbcommon \
32 xkeyboard-config \
33 xrandr \
34"
35
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050036DEPENDS:remove:riscv32 = "libseccomp"
37
Andrew Geissler517393d2023-01-13 08:55:19 -060038GTKDOC_MESON_OPTION = "gtk_doc"
39EXTRA_OEMESON = "-Ddesktop_docs=false"
40
41PACKAGES =+ "libgnome-desktop"
42RDEPENDS:${PN} += "libgnome-desktop"
43FILES:libgnome-desktop = " \
44 ${libdir}/lib*${SOLIBS} \
45 ${datadir}/libgnome-desktop*/pnp.ids \
46 ${datadir}/gnome/*xml \
47"
48
49RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"