blob: 3085d2767e320c6fb35552c4dd9ee2eeea737d28 [file] [log] [blame]
Andrew Geissler595f6302022-01-24 19:11:47 +00001SUMMARY = "GNOME library for reading .desktop files"
2SECTION = "x11/gnome"
3LICENSE = "GPLv2 & LGPLv2"
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"
14# gobject-introspection is mandatory and cannot be configured
15REQUIRED_DISTRO_FEATURES += "gobject-introspection-data"
16
17GIR_MESON_OPTION = ""
18
19SRC_URI[archive.sha256sum] = "34329eefdacad2332a6adbae538c8da6e52235c7775a908b7c32040a0753ec6a"
20SRC_URI += " \
21 file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
22 file://0001-meson.build-Disable-libseccomp-for-all-archs.patch \
23"
24
25DEPENDS += "gsettings-desktop-schemas virtual/libx11 gtk+3 startup-notification xkeyboard-config iso-codes udev"
26
27GTKDOC_MESON_OPTION = "gtk_doc"
28EXTRA_OEMESON = "-Ddesktop_docs=false"
29
30PACKAGES =+ "libgnome-desktop"
31RDEPENDS:${PN} += "libgnome-desktop"
32FILES:libgnome-desktop = " \
33 ${libdir}/lib*${SOLIBS} \
34 ${datadir}/libgnome-desktop*/pnp.ids \
35 ${datadir}/gnome/*xml \
36"
37
38RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"