blob: 254551884f1adbc8efd77ed9da74935674fb1c2c [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"
14# gobject-introspection is mandatory and cannot be configured
15REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
16
17GIR_MESON_OPTION = ""
18
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050019SRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
20 file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
Andrew Geissler517393d2023-01-13 08:55:19 -060021SRC_URI[archive.sha256sum] = "3d6e153317486157596aa3802f87676414c570738f450a94a041fe8835420a69"
22
23DEPENDS += " \
24 fontconfig \
25 gdk-pixbuf \
26 glib-2.0 \
27 gsettings-desktop-schemas \
28 gtk+3 \
29 gtk4 \
30 iso-codes \
31 xext \
32 libseccomp \
33 libxkbcommon \
34 xkeyboard-config \
35 xrandr \
36"
37
Andrew Geisslerfc113ea2023-03-31 09:59:46 -050038DEPENDS:remove:riscv32 = "libseccomp"
39
Andrew Geissler517393d2023-01-13 08:55:19 -060040GTKDOC_MESON_OPTION = "gtk_doc"
41EXTRA_OEMESON = "-Ddesktop_docs=false"
42
43PACKAGES =+ "libgnome-desktop"
44RDEPENDS:${PN} += "libgnome-desktop"
45FILES:libgnome-desktop = " \
46 ${libdir}/lib*${SOLIBS} \
47 ${datadir}/libgnome-desktop*/pnp.ids \
48 ${datadir}/gnome/*xml \
49"
50
51RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"