1*8e7b46e2SPatrick WilliamsSUMMARY = "GNOME library for reading .desktop files"
2*8e7b46e2SPatrick WilliamsSECTION = "x11/gnome"
3*8e7b46e2SPatrick WilliamsLICENSE = "GPL-2.0-only & LGPL-2.0-only"
4*8e7b46e2SPatrick WilliamsLIC_FILES_CHKSUM = " \
5*8e7b46e2SPatrick Williams    file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
6*8e7b46e2SPatrick Williams    file://COPYING.LIB;md5=5f30f0716dfdd0d91eb439ebec522ec2 \
7*8e7b46e2SPatrick Williams"
8*8e7b46e2SPatrick Williams
9*8e7b46e2SPatrick Williams
10*8e7b46e2SPatrick Williamsinherit gnomebase itstool pkgconfig upstream-version-is-even gobject-introspection features_check gtk-doc
11*8e7b46e2SPatrick Williams
12*8e7b46e2SPatrick WilliamsREQUIRED_DISTRO_FEATURES = "x11 opengl"
13*8e7b46e2SPatrick Williams
14*8e7b46e2SPatrick WilliamsGIR_MESON_OPTION = ""
15*8e7b46e2SPatrick Williams
16*8e7b46e2SPatrick WilliamsSRC_URI += "file://gnome-desktop-thumbnail-don-t-assume-time_t-is-long.patch \
17*8e7b46e2SPatrick Williams            file://0001-meson-Add-riscv32-to-seccomp-unsupported-list.patch"
18*8e7b46e2SPatrick WilliamsSRC_URI[archive.sha256sum] = "42c773745d84ba14bc1cf1c4c6f4606148803a5cd337941c63964795f3c59d42"
19*8e7b46e2SPatrick Williams
20*8e7b46e2SPatrick WilliamsDEPENDS += " \
21*8e7b46e2SPatrick Williams    fontconfig \
22*8e7b46e2SPatrick Williams    gdk-pixbuf \
23*8e7b46e2SPatrick Williams    glib-2.0 \
24*8e7b46e2SPatrick Williams    gsettings-desktop-schemas \
25*8e7b46e2SPatrick Williams    gtk+3 \
26*8e7b46e2SPatrick Williams    gtk4 \
27*8e7b46e2SPatrick Williams    iso-codes \
28*8e7b46e2SPatrick Williams    xext \
29*8e7b46e2SPatrick Williams    libseccomp \
30*8e7b46e2SPatrick Williams    libxkbcommon \
31*8e7b46e2SPatrick Williams    xkeyboard-config \
32*8e7b46e2SPatrick Williams    xrandr \
33*8e7b46e2SPatrick Williams"
34*8e7b46e2SPatrick Williams
35*8e7b46e2SPatrick WilliamsDEPENDS:remove:riscv32 = "libseccomp"
36*8e7b46e2SPatrick Williams
37*8e7b46e2SPatrick WilliamsGTKDOC_MESON_OPTION = "gtk_doc"
38*8e7b46e2SPatrick WilliamsEXTRA_OEMESON = "-Ddesktop_docs=false"
39*8e7b46e2SPatrick Williams
40*8e7b46e2SPatrick WilliamsPACKAGES =+ "libgnome-desktop"
41*8e7b46e2SPatrick WilliamsRDEPENDS:${PN} += "libgnome-desktop"
42*8e7b46e2SPatrick WilliamsFILES:libgnome-desktop = " \
43*8e7b46e2SPatrick Williams    ${libdir}/lib*${SOLIBS} \
44*8e7b46e2SPatrick Williams    ${datadir}/libgnome-desktop*/pnp.ids \
45*8e7b46e2SPatrick Williams    ${datadir}/gnome/*xml \
46*8e7b46e2SPatrick Williams"
47*8e7b46e2SPatrick Williams
48*8e7b46e2SPatrick WilliamsRRECOMMENDS:libgnome-desktop += "gsettings-desktop-schemas"
49