commit:     9d8eeca0fcc441f37fa5af046527a942a1684e90
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sat May 31 16:52:10 2025 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sat May 31 17:04:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d8eeca0

gnome-extra/gnome-software: add 47.5

Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>

 gnome-extra/gnome-software/Manifest                |   1 +
 .../gnome-software/gnome-software-47.5.ebuild      | 113 +++++++++++++++++++++
 2 files changed, 114 insertions(+)

diff --git a/gnome-extra/gnome-software/Manifest 
b/gnome-extra/gnome-software/Manifest
index 1f5760b98454..b5655d29cac0 100644
--- a/gnome-extra/gnome-software/Manifest
+++ b/gnome-extra/gnome-software/Manifest
@@ -1,2 +1,3 @@
 DIST gnome-software-46.4.tar.xz 2575200 BLAKE2B 
bc5af24e0b71f279c26b83c3808bb5ee4e41d405d9a5370f7f37b3f19aab0043b338a1f3212ad74e6cfe02794ec16ec88b222322eb27190c0863a0ac5b88b3fa
 SHA512 
148cdb3d3b3b0d74e00adcc066cf85fc20f86d9196def5132dfbb7b579464abe12c199d7f45b289d980ea634ddbce677be7588e2600a5f08ccd4630276a78799
 DIST gnome-software-47.4.tar.xz 3047336 BLAKE2B 
a6b875402eb3c889972f93ef59b4aaff807551710dd1749d6c2894a0f964a4e6d50572bd9ac96ae0dc8e43dfa2e49c62443b1a51d8e9d3a9174816d228cbcea5
 SHA512 
f187fcbae9cafc45815734e2f81810665b266ad8e6400e1aea56e6a430258336e124c51f6d2a62cd9531f2b0c69664b094c3db51ebd6bdcc439447221a628f7b
+DIST gnome-software-47.5.tar.xz 3049164 BLAKE2B 
1d780a087d0274e753962b1ceff2592cf8ba8818a28a918f7bd3780d04dd5d439551d7c82100fec6ac36e4a755cd55bee4a7f81712781cb58201b895ff47f002
 SHA512 
d179f8b28d8a110424a1df35a736ca3b8a5e20b82a902f7c5ffb4343da55b139583da347ad055e3e1dd29bb5cded2e73b86709ea70db583311049d58e4861778

diff --git a/gnome-extra/gnome-software/gnome-software-47.5.ebuild 
b/gnome-extra/gnome-software/gnome-software-47.5.ebuild
new file mode 100644
index 000000000000..3e53c70c0307
--- /dev/null
+++ b/gnome-extra/gnome-software/gnome-software-47.5.ebuild
@@ -0,0 +1,113 @@
+# 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.13.4: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_alpha: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.0-r1
+               dev-util/ostree
+       )
+       snap? (
+               app-containers/snapd
+               sys-libs/snapd-glib:=
+       )
+       udev? ( dev-libs/libgudev )
+       >=gnome-base/gsettings-desktop-schemas-3.18.0
+"
+DEPEND="${RDEPEND}
+       test? ( dev-libs/libglib-testing )
+"
+BDEPEND="
+       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
+       )
+"
+
+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=''
+               -Dsoup2=false
+               -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
+}

Reply via email to