Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-software/
Date: Sat, 04 Mar 2023 01:15:35
Message-Id: 1677892483.e95e7cc2aff16f07a6fc55b923238ad05fc02f85.mattst88@gentoo
1 commit: e95e7cc2aff16f07a6fc55b923238ad05fc02f85
2 Author: Guillermo Joandet <gjoandet <AT> gmail <DOT> com>
3 AuthorDate: Fri Mar 3 23:24:19 2023 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 4 01:14:43 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e95e7cc2
7
8 gnome-extra/gnome-software: Version bump to 43.5
9
10 Signed-off-by: Guillermo Joandet <gjoandet <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/29914
12 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
13
14 gnome-extra/gnome-software/Manifest | 1 +
15 .../gnome-software/gnome-software-43.5.ebuild | 102 +++++++++++++++++++++
16 2 files changed, 103 insertions(+)
17
18 diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest
19 index 6bbea4fe8bbe..ce41cc5fff3b 100644
20 --- a/gnome-extra/gnome-software/Manifest
21 +++ b/gnome-extra/gnome-software/Manifest
22 @@ -1 +1,2 @@
23 DIST gnome-software-43.4.tar.xz 2367068 BLAKE2B 9da461876c275a68f75dc5cab15dab1620b084f85115f0695f084f4f85469ede67168feca2123c3303170fbefc00eee59097cca66441c3e01ab3d569fea2c4ec SHA512 3e4c8d29569238ffa116beb8e711f05172572b9b31de7d6f5ff1e26465c9f5be97e465f44ea2f6889e1a6c2b626a2de13b99d2e348a4ef150dca3d56c84ab5cd
24 +DIST gnome-software-43.5.tar.xz 2366940 BLAKE2B 0f8a371586ffccbf6cf1b58522417a343e70722ad49870eafa09d514d1f0b236100eab092a1d05bf87320c87e5e7a196db945c2d22feebb634a5a156e6f8d82c SHA512 c3d0b05122f5444b1db00719b99f80771ac2ee25ac3caea053bdc734e9faa9730263d20408d4bd87430141392613504b8dff59917eb6a97765302f04ff4306d0
25
26 diff --git a/gnome-extra/gnome-software/gnome-software-43.5.ebuild b/gnome-extra/gnome-software/gnome-software-43.5.ebuild
27 new file mode 100644
28 index 000000000000..b8cd7539d16d
29 --- /dev/null
30 +++ b/gnome-extra/gnome-software/gnome-software-43.5.ebuild
31 @@ -0,0 +1,102 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit gnome.org gnome2-utils meson virtualx xdg
38 +
39 +DESCRIPTION="Gnome install & update software"
40 +HOMEPAGE="https://wiki.gnome.org/Apps/Software https://gitlab.gnome.org/GNOME/gnome-software"
41 +
42 +LICENSE="GPL-2+"
43 +SLOT="0"
44 +KEYWORDS="~amd64 ~x86"
45 +IUSE="flatpak +firmware gnome gtk-doc sysprof udev test"
46 +
47 +RDEPEND="
48 + >=dev-libs/appstream-0.14.0:0=
49 + >=x11-libs/gdk-pixbuf-2.32.0:2
50 + >=dev-libs/libxmlb-0.1.7:=
51 + >=gui-libs/gtk-4.6:4
52 + >=dev-libs/glib-2.70.0:2
53 + >=dev-libs/json-glib-1.6.0
54 + >=net-libs/libsoup-3.0:3.0
55 + >=gui-libs/libadwaita-1.0.1:1
56 + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
57 + gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 )
58 + sys-auth/polkit
59 + firmware? ( >=sys-apps/fwupd-1.5.6 )
60 + flatpak? (
61 + >=sys-apps/flatpak-1.14.0-r1
62 + dev-util/ostree
63 + )
64 + udev? ( dev-libs/libgudev )
65 + >=gnome-base/gsettings-desktop-schemas-3.11.5
66 +"
67 +DEPEND="${RDEPEND}
68 + test? ( dev-libs/libglib-testing )
69 +"
70 +BDEPEND="
71 + dev-libs/libxml2:2
72 + dev-util/gdbus-codegen
73 + >=sys-devel/gettext-0.19.8
74 + virtual/pkgconfig
75 + gtk-doc? (
76 + dev-util/gtk-doc
77 + app-text/docbook-xml-dtd:4.3
78 + )
79 +"
80 +
81 +src_prepare() {
82 + default
83 + xdg_environment_reset
84 +
85 + sed -i -e '/install_data.*README\.md.*share\/doc\/gnome-software/d' meson.build || die
86 + # We don't need language packs download support, and it fails tests in 3.34.2 for us (if they are enabled)
87 + sed -i -e '/subdir.*fedora-langpacks/d' plugins/meson.build || die
88 +}
89 +
90 +src_configure() {
91 + local emesonargs=(
92 + $(meson_use test tests)
93 + $(meson_feature gnome gsettings_desktop_schemas) # Honoring of GNOME date format settings.
94 + -Dman=true
95 + -Dpackagekit=false
96 + # -Dpackagekit_autoremove
97 + -Dpolkit=true
98 + -Deos_updater=false # Endless OS updater
99 + $(meson_use firmware fwupd)
100 + $(meson_use flatpak)
101 + -Dmalcontent=false
102 + -Drpm_ostree=false
103 + -Dwebapps=true
104 + -Dhardcoded_foss_webapps=true
105 + -Dhardcoded_proprietary_webapps=true
106 + $(meson_use udev gudev)
107 + -Dapt=false
108 + -Dsnap=false
109 + -Dexternal_appstream=false
110 + $(meson_use gtk-doc gtk_doc)
111 + -Dhardcoded_curated=true
112 + -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
113 + -Dmogwai=false #TODO?
114 + $(meson_feature sysprof)
115 + -Dprofile=''
116 + -Dsoup2=false
117 + )
118 + meson_src_configure
119 +}
120 +
121 +src_test() {
122 + virtx dbus-run-session meson test -C "${BUILD_DIR}" || die
123 +}
124 +
125 +pkg_postinst() {
126 + xdg_pkg_postinst
127 + gnome2_schemas_update
128 +}
129 +
130 +pkg_postrm() {
131 + xdg_pkg_postrm
132 + gnome2_schemas_update
133 +}