Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 1 | SUMMARY = "GNOME library for reading .desktop files" |
| 2 | SECTION = "x11/gnome" |
| 3 | LICENSE = "GPLv2 & LGPLv2" |
Andrew Geissler | c87764f | 2020-06-27 00:16:32 -0500 | [diff] [blame] | 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 6 | file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ |
| 7 | " |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 8 | |
| 9 | BPN = "gnome-desktop" |
| 10 | |
| 11 | GNOMEBASEBUILDCLASS = "meson" |
| 12 | |
| 13 | inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check |
| 14 | |
| 15 | # gobject-introspection is mandatory and cannot be configured |
| 16 | REQUIRED_DISTRO_FEATURES = "gobject-introspection-data" |
| 17 | UNKNOWN_CONFIGURE_WHITELIST_append = " introspection" |
| 18 | |
Andrew Geissler | a2681d9 | 2020-10-16 10:17:07 -0500 | [diff] [blame] | 19 | SRC_URI[archive.sha256sum] = "d23c76947c781f447fb39538dec509408b161b291a75a4ce1c14c2b3d33344f6" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 20 | |
| 21 | SRC_URI += " \ |
| 22 | file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \ |
| 23 | file://0001-meson.build-Disable-libseccomp-for-all-archs.patch \ |
| 24 | " |
| 25 | |
| 26 | DEPENDS += "gsettings-desktop-schemas virtual/libx11 gtk+3 startup-notification xkeyboard-config iso-codes udev" |
| 27 | |
| 28 | inherit features_check gtk-doc |
| 29 | REQUIRED_DISTRO_FEATURES += "x11" |
| 30 | |
| 31 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 32 | EXTRA_OEMESON = "-Ddesktop_docs=false" |
| 33 | |
| 34 | PACKAGES =+ "libgnome-desktop3" |
| 35 | FILES_libgnome-desktop3 = "${libdir}/lib*${SOLIBS} ${datadir}/libgnome-desktop*/pnp.ids ${datadir}/gnome/*xml" |
| 36 | |
| 37 | RRECOMMENDS_libgnome-desktop3 += "gsettings-desktop-schemas" |