Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "GNOME library for reading .desktop files" |
| 2 | SECTION = "x11/gnome" |
| 3 | LICENSE = "GPL-2.0-only & LGPL-2.0-only" |
| 4 | LIC_FILES_CHKSUM = " \ |
| 5 | file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ |
| 6 | file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \ |
| 7 | " |
| 8 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 9 | |
| 10 | inherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc |
| 11 | |
| 12 | REQUIRED_DISTRO_FEATURES = "x11 opengl" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 13 | |
| 14 | GIR_MESON_OPTION = "" |
| 15 | |
Andrew Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 16 | SRC_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 Williams | 8e7b46e | 2023-05-01 14:19:06 -0500 | [diff] [blame] | 18 | SRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 19 | |
| 20 | DEPENDS += " \ |
| 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 Geissler | fc113ea | 2023-03-31 09:59:46 -0500 | [diff] [blame] | 35 | DEPENDS:remove:riscv32 = "libseccomp" |
| 36 | |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 37 | GTKDOC_MESON_OPTION = "gtk_doc" |
| 38 | EXTRA_OEMESON = "-Ddesktop_docs=false" |
| 39 | |
| 40 | PACKAGES =+ "libgnome-desktop" |
| 41 | RDEPENDS:${PN} += "libgnome-desktop" |
| 42 | FILES:libgnome-desktop = " \ |
| 43 | ${libdir}/lib*${SOLIBS} \ |
| 44 | ${datadir}/libgnome-desktop*/pnp.ids \ |
| 45 | ${datadir}/gnome/*xml \ |
| 46 | " |
| 47 | |
| 48 | RRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas" |