blob: 4beb79f1b9e6b31ed90159a78c6795e2b85dc6d0 [file] [log] [blame]
Patrick Williamsac13d5f2023-11-24 18:59:46 -06001SUMMARY = "GNOME Software allows users to easily find, discover and install apps."
2LICENSE = "GPL-2.0-only"
3LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
4
5GTKDOC_MESON_OPTION ?= "gtk_doc"
6
7inherit gnomebase gsettings itstool gnome-help gtk-icon-cache gtk-doc mime mime-xdg gettext upstream-version-is-even features_check
8
9REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam"
10
11DEPENDS += " \
12 appstream \
13 gdk-pixbuf \
14 glib-2.0 \
15 glib-2.0-native \
16 gsettings-desktop-schemas \
17 gtk4 \
18 iso-codes \
19 json-glib \
20 libadwaita \
21 libgudev \
22 libsoup-3.0 \
23 libxmlb-native \
24 polkit \
25"
26
27RDEPENDS:${PN} = "iso-codes"
28
29EXTRA_OEMESON += "-Dtests=false -Dsoup2=false"
30
Patrick Williams169d7bc2024-01-05 11:33:25 -060031SRC_URI += " \
32 file://0655f358ed0e8455e12d9634f60bc4dbaee434e3.patch \
33 file://e431ab003f3fabf616b6eb7dc93f8967bc9473e5.patch \
34"
Patrick Williams705982a2024-01-12 09:51:57 -060035SRC_URI[archive.sha256sum] = "d6b9245b22237da7bd1739dd28c23cc8f3835f99fa10c1037d9dd7635335251c"
Patrick Williamsac13d5f2023-11-24 18:59:46 -060036
37PACKAGECONFIG ?= "flatpak"
38PACKAGECONFIG[flatpak] = "-Dflatpak=true,-Dflatpak=false,flatpak ostree"
39PACKAGECONFIG[snap] = "-Dsnap=true,-Dsnap=false,snapd-glib"
40PACKAGECONFIG[gtk_doc] = "-Dgtk_doc=true,-Dgtk_doc=false,libxslt-native docbook-xsl-stylesheets"
41PACKAGECONFIG[man] = "-Dman=true,-Dman=false,libxslt-native docbook-xsl-stylesheets"
42PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,gnome-packagekit,gnome-packagekit"
43PACKAGECONFIG[fwupd] = "-Dfwupd=true,-Dfwupd=false,fwupd,fwupd"
44PACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent"
45
46FILES:${PN} += "${datadir}"
47FILES:${PN}-dev += "${libdir}/gnome-software/libgnomesoftware.so"