Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 1 | SUMMARY = "GNOME Software allows users to easily find, discover and install apps." |
| 2 | LICENSE = "GPL-2.0-only" |
| 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" |
| 4 | |
| 5 | GNOMEBASEBUILDCLASS = "meson" |
| 6 | GTKDOC_MESON_OPTION ?= "gtk_doc" |
| 7 | |
| 8 | inherit gnomebase gsettings itstool gnome-help gtk-icon-cache gtk-doc mime mime-xdg gettext upstream-version-is-even features_check |
| 9 | |
| 10 | REQUIRED_DISTRO_FEATURES = "x11 polkit systemd pam" |
| 11 | |
| 12 | DEPENDS += " \ |
| 13 | appstream \ |
| 14 | gdk-pixbuf \ |
| 15 | glib-2.0 \ |
| 16 | glib-2.0-native \ |
| 17 | gsettings-desktop-schemas \ |
| 18 | gtk4 \ |
| 19 | iso-codes \ |
| 20 | json-glib \ |
| 21 | libadwaita \ |
| 22 | libgudev \ |
| 23 | libsoup-3.0 \ |
| 24 | libxmlb-native \ |
| 25 | polkit \ |
| 26 | " |
| 27 | |
| 28 | RDEPENDS:${PN} = "iso-codes" |
| 29 | |
| 30 | EXTRA_OEMESON += "-Dtests=false -Dsoup2=false" |
| 31 | |
Andrew Geissler | 6aa7eec | 2023-03-03 12:41:14 -0600 | [diff] [blame] | 32 | SRC_URI[archive.sha256sum] = "e9df060ebab59f49697d5ef2630ec36de60454169dc191af60d3483720aadb3e" |
Andrew Geissler | 517393d | 2023-01-13 08:55:19 -0600 | [diff] [blame] | 33 | |
| 34 | PACKAGECONFIG ?= "flatpak" |
| 35 | PACKAGECONFIG[flatpak] = "-Dflatpak=true,-Dflatpak=false,flatpak ostree" |
| 36 | PACKAGECONFIG[snap] = "-Dsnap=true,-Dsnap=false,snapd-glib" |
| 37 | PACKAGECONFIG[gtk_doc] = "-Dgtk_doc=true,-Dgtk_doc=false,libxslt-native docbook-xsl-stylesheets" |
| 38 | PACKAGECONFIG[man] = "-Dman=true,-Dman=false,libxslt-native docbook-xsl-stylesheets" |
| 39 | PACKAGECONFIG[packagekit] = "-Dpackagekit=true,-Dpackagekit=false,gnome-packagekit,gnome-packagekit" |
| 40 | PACKAGECONFIG[fwupd] = "-Dfwupd=true,-Dfwupd=false,fwupd,fwupd" |
| 41 | PACKAGECONFIG[malcontent] = "-Dmalcontent=true,-Dmalcontent=false,malcontent" |
| 42 | |
| 43 | FILES:${PN} += "${datadir}" |
| 44 | FILES:${PN}-dev += "${libdir}/gnome-software/libgnomesoftware.so" |