gnome-extra/gnome-software: add 49.2

Signed-off-by: Lukas Schmelting <lschmelting@posteo.com>
Part-of: https://github.com/gentoo/gentoo/pull/44533
Closes: https://github.com/gentoo/gentoo/pull/44533
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
This commit is contained in:
Lukas Schmelting 2025-11-22 16:17:20 +01:00 committed by Pacho Ramos
parent 735645d5de
commit c515d7b643
No known key found for this signature in database
GPG Key ID: 7CB10C207FC07DBC
2 changed files with 118 additions and 0 deletions

View File

@ -1,3 +1,4 @@
DIST gnome-software-47.5.tar.xz 3049164 BLAKE2B 1d780a087d0274e753962b1ceff2592cf8ba8818a28a918f7bd3780d04dd5d439551d7c82100fec6ac36e4a755cd55bee4a7f81712781cb58201b895ff47f002 SHA512 d179f8b28d8a110424a1df35a736ca3b8a5e20b82a902f7c5ffb4343da55b139583da347ad055e3e1dd29bb5cded2e73b86709ea70db583311049d58e4861778
DIST gnome-software-48.3.tar.xz 3398204 BLAKE2B db708bbdf2743de14f9c6737731adb479ef8d9a61baba8c6bd984738154d5c71b442efa3b993a18ebd882e1f1e6b48f1a54c90d8b7404869d0bcd762e648c16e SHA512 84a0c4944a9f49d2786147f4a8e67cbb14f15fc6482b22024f8b0d6e119bccf0f2a72ca76c36e327a51a9239d25015c13a871a523f47ebe2940852db468e8f8a
DIST gnome-software-48.4.tar.xz 3399148 BLAKE2B 5e9b2487e5d2362ac38209df3f7217611319965fb6ce8a082bbbb5b35ee83b05334f756572f2eccb570ed9d70c0b9e038701a4dcf4c4ba7acc5311cb4edaf644 SHA512 e789c13ecbc84de1b8ae407a3b7050cccb25f33223db5f5980e917be806d0ec7e61781115a5310f65afd8899ab354de6f4f6bd171e376bbdb3413094f1ae18e1
DIST gnome-software-49.2.tar.xz 3490148 BLAKE2B 705a7354de727690aebe29354eb085deed92f2c4aaed184a3e7fd9fd51bd5dc2bea1eaa15fed6c0154083eaeed17a23534b2522d54840b3407c26d6b205f2699 SHA512 9ce33e2046b776f2a56c96d17eec85817e04bada9af9590125530c84bcc529f278bcba0c0ccdabcb459f92b326e0837cd63a9e316551ec313ac2f8720bf69835

View File

@ -0,0 +1,117 @@
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit gnome.org gnome2-utils meson virtualx xdg
DESCRIPTION="Gnome install & update software"
HOMEPAGE="https://apps.gnome.org/Software"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~loong ~x86"
IUSE="dkms flatpak +firmware gtk-doc sysprof udev snap test"
RDEPEND="
>=dev-libs/appstream-0.14.0:0=
>=x11-libs/gdk-pixbuf-2.32.0:2
>=dev-libs/libxmlb-0.3.4:=
>=gui-libs/gtk-4.16.0:4
>=dev-libs/glib-2.76.0:2
>=dev-libs/json-glib-1.6.0
>=net-libs/libsoup-3.0:3.0
>=gui-libs/libadwaita-1.6.0:1
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
>=gnome-base/gsettings-desktop-schemas-3.18.0
sys-auth/polkit
firmware? ( >=sys-apps/fwupd-1.6.2 )
flatpak? (
>=sys-apps/flatpak-1.14.1
dev-util/ostree
)
snap? (
app-containers/snapd
>=sys-libs/snapd-glib-1.64:=
)
udev? ( dev-libs/libgudev )
>=gnome-base/gsettings-desktop-schemas-3.18.0
"
DEPEND="${RDEPEND}
test? ( dev-libs/libglib-testing )
"
BDEPEND="
>=dev-build/meson-1.6.0
dev-libs/libxml2:2
dev-util/gdbus-codegen
>=sys-devel/gettext-0.19.8
virtual/pkgconfig
gtk-doc? (
dev-util/gtk-doc
app-text/docbook-xml-dtd:4.3
)
"
PATCHES=(
"${FILESDIR}/Disable-gs-self-test-flatpak.patch"
)
src_prepare() {
default
xdg_environment_reset
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
}
src_configure() {
local emesonargs=(
$(meson_use test tests)
-Dman=true
-Dpackagekit=false
# -Dpackagekit_autoremove
-Dpolkit=true
-Deos_updater=false # Endless OS updater
$(meson_use dkms)
$(meson_use firmware fwupd)
$(meson_use flatpak)
-Dmalcontent=false
-Drpm_ostree=false
-Dwebapps=true
-Ddefault_featured_apps=true
-Dhardcoded_curated=true
-Dhardcoded_foss_webapps=true
-Dhardcoded_proprietary_webapps=true
$(meson_use udev gudev)
-Dapt=false
$(meson_use snap)
-Dexternal_appstream=false
$(meson_use gtk-doc gtk_doc)
-Dhardcoded_curated=true
# 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
-Ddefault_featured_apps=false
-Dmogwai=false #TODO?
$(meson_feature sysprof)
-Dprofile=''
-Dopensuse-distro-upgrade=false
)
meson_src_configure
}
src_test() {
virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
}
pkg_postinst() {
xdg_pkg_postinst
gnome2_schemas_update
}
pkg_postrm() {
xdg_pkg_postrm
gnome2_schemas_update
}