1 |
commit: 3969703b2768a294ac2972154bc4cfe09961aa6a |
2 |
Author: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 18 03:55:31 2021 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 18 04:20:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3969703b |
7 |
|
8 |
gnome-extra/gnome-software: Version bump to 40.0 |
9 |
|
10 |
* Add IUSE=flatpak (bug #754282) |
11 |
|
12 |
Closes: https://bugs.gentoo.org/754282 |
13 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
14 |
|
15 |
gnome-extra/gnome-software/Manifest | 1 + |
16 |
.../gnome-software/gnome-software-40.0.ebuild | 103 +++++++++++++++++++++ |
17 |
gnome-extra/gnome-software/metadata.xml | 2 + |
18 |
3 files changed, 106 insertions(+) |
19 |
|
20 |
diff --git a/gnome-extra/gnome-software/Manifest b/gnome-extra/gnome-software/Manifest |
21 |
index 10c440e0699..2450a7abf4a 100644 |
22 |
--- a/gnome-extra/gnome-software/Manifest |
23 |
+++ b/gnome-extra/gnome-software/Manifest |
24 |
@@ -1,2 +1,3 @@ |
25 |
DIST gnome-software-3.34.2.tar.xz 5945736 BLAKE2B 89e7e0a606a832aedbfa32024f201e71b3edb3c8df527efea1be72236b4bfb86901f3af689b10bf706f9c4f16e6badc00080a1244ce30eb09dfd1dad5833e8cf SHA512 4deb09530fbeeadd54e69d03ef4cecaef47c6766bce0ec5230bb090d27e54664577a227416933b6ec4780249f4565e51202a25517fba5dd040fd895bd3a26397 |
26 |
DIST gnome-software-3.36.1.tar.xz 8277796 BLAKE2B bf3d5f3f67b211cfd4af87ae500691085ab83aed9f85e211972d408a1bfa5d7c6de162acc2088bf9ba9323369e73dba27a06b2491745ef2ceb04943e4acbf72d SHA512 7d0e8c16192bbbc8f166db137dbd2e6ff9e85f7d3d37f63f41211ba3838e392bd87a8d9bf09d31b43f6d21e1a099ecdeff9114ae27fae40d563671f0bcbe50d4 |
27 |
+DIST gnome-software-40.0.tar.xz 3087252 BLAKE2B 4b834113c0770a3acfbcf21b5db3d6da57a885e6b235c3328947f218f28daf70c6f636253283dd77d0c4a1fc59f8ac66a140412694a61352147c13c27e7a76af SHA512 052c520ab25af4257bb978aaa9e1c7a555f8d24dbd782d9f12f3c3def22e65588d3c76d16e4b3dc26f034a762c2ee3e773026b158d468e9e169369dc3d156a2a |
28 |
|
29 |
diff --git a/gnome-extra/gnome-software/gnome-software-40.0.ebuild b/gnome-extra/gnome-software/gnome-software-40.0.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..c81ec02d2b5 |
32 |
--- /dev/null |
33 |
+++ b/gnome-extra/gnome-software/gnome-software-40.0.ebuild |
34 |
@@ -0,0 +1,103 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+inherit gnome.org gnome2-utils meson xdg |
41 |
+ |
42 |
+DESCRIPTION="Gnome install & update software" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Software" |
44 |
+ |
45 |
+LICENSE="GPL-2+" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="flatpak +firmware gnome gtk-doc packagekit spell sysprof udev" |
49 |
+RESTRICT="test" # writes to and deletes files in /var/tmp/self-test/ |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/appstream-0.14.0:0= |
53 |
+ >=x11-libs/gdk-pixbuf-2.32.0:2 |
54 |
+ >=dev-libs/libxmlb-0.1.7:= |
55 |
+ net-libs/gnome-online-accounts:= |
56 |
+ >=x11-libs/gtk+-3.22.4:3 |
57 |
+ >=dev-libs/glib-2.56:2 |
58 |
+ >=dev-libs/json-glib-1.2.0 |
59 |
+ >=net-libs/libsoup-2.52.0:2.4 |
60 |
+ >=gui-libs/libhandy-1.0.2:1= |
61 |
+ sysprof? ( >=dev-util/sysprof-capture-3.38.1:4 ) |
62 |
+ gnome? ( >=gnome-base/gsettings-desktop-schemas-3.18.0 ) |
63 |
+ spell? ( app-text/gspell:= ) |
64 |
+ sys-auth/polkit |
65 |
+ packagekit? ( >=app-admin/packagekit-base-1.1.0 ) |
66 |
+ firmware? ( >=sys-apps/fwupd-1.0.3 ) |
67 |
+ flatpak? ( |
68 |
+ >=sys-apps/flatpak-1.0.4 |
69 |
+ dev-util/ostree |
70 |
+ ) |
71 |
+ udev? ( dev-libs/libgudev ) |
72 |
+ >=gnome-base/gsettings-desktop-schemas-3.11.5 |
73 |
+" |
74 |
+DEPEND="${RDEPEND}" |
75 |
+BDEPEND=" |
76 |
+ dev-libs/libxml2:2 |
77 |
+ dev-util/gdbus-codegen |
78 |
+ >=sys-devel/gettext-0.19.8 |
79 |
+ virtual/pkgconfig |
80 |
+ gtk-doc? ( |
81 |
+ dev-util/gtk-doc |
82 |
+ app-text/docbook-xml-dtd:4.3 ) |
83 |
+" |
84 |
+# test? ( dev-util/valgrind ) |
85 |
+ |
86 |
+src_prepare() { |
87 |
+ xdg_src_prepare |
88 |
+ sed -i -e '/install_data.*README\.md.*share\/doc\/gnome-software/d' meson.build || die |
89 |
+ # We don't need language packs download support, and it fails tests in 3.34.2 for us (if they are enabled) |
90 |
+ sed -i -e '/subdir.*fedora-langpacks/d' plugins/meson.build || die |
91 |
+ # Trouble talking to spawned gnome-keyring socket for some reason, even if wrapped in dbus-run-session |
92 |
+ # TODO: Investigate; seems to work outside ebuild .. test/emerge |
93 |
+ sed -i -e '/g_test_add_func.*gs_auth_secret_func/d' lib/gs-self-test.c || die |
94 |
+} |
95 |
+ |
96 |
+src_configure() { |
97 |
+ local emesonargs=( |
98 |
+ -Dtests=false #$(meson_use test tests) |
99 |
+ $(meson_use spell gspell) |
100 |
+ $(meson_feature gnome gsettings_desktop_schemas) # Honoring of GNOME date format settings. |
101 |
+ -Dman=true |
102 |
+ $(meson_use packagekit) |
103 |
+ # -Dpackagekit_autoremove |
104 |
+ -Dpolkit=true |
105 |
+ -Deos_updater=false # Endless OS updater |
106 |
+ $(meson_use firmware fwupd) |
107 |
+ $(meson_use flatpak) |
108 |
+ -Dmalcontent=false |
109 |
+ -Drpm_ostree=false |
110 |
+ -Dodrs=false |
111 |
+ $(meson_use udev gudev) |
112 |
+ -Dapt=false |
113 |
+ -Dsnap=false |
114 |
+ -Dexternal_appstream=false |
115 |
+ -Dvalgrind=false |
116 |
+ $(meson_use gtk-doc gtk_doc) |
117 |
+ -Dhardcoded_popular=true |
118 |
+ -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 |
119 |
+ -Dmogwai=false #TODO? |
120 |
+ $(meson_feature sysprof) |
121 |
+ ) |
122 |
+ meson_src_configure |
123 |
+} |
124 |
+ |
125 |
+#src_test() { |
126 |
+# virtx meson_src_test |
127 |
+#} |
128 |
+ |
129 |
+pkg_postinst() { |
130 |
+ xdg_pkg_postinst |
131 |
+ gnome2_schemas_update |
132 |
+} |
133 |
+ |
134 |
+pkg_postrm() { |
135 |
+ xdg_pkg_postrm |
136 |
+ gnome2_schemas_update |
137 |
+} |
138 |
|
139 |
diff --git a/gnome-extra/gnome-software/metadata.xml b/gnome-extra/gnome-software/metadata.xml |
140 |
index 92751ac281c..827a2d6f77a 100644 |
141 |
--- a/gnome-extra/gnome-software/metadata.xml |
142 |
+++ b/gnome-extra/gnome-software/metadata.xml |
143 |
@@ -7,6 +7,8 @@ |
144 |
</maintainer> |
145 |
<use> |
146 |
<flag name="firmware">Enable firmware update support through <pkg>sys-apps/fwupd</pkg></flag> |
147 |
+ <flag name="flatpak">Enable support for flatpak applications using <pkg>sys-apps/flatpak</pkg></flag> |
148 |
<flag name="packagekit">Enable module for package manager integration</flag> |
149 |
+ <flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag> |
150 |
</use> |
151 |
</pkgmetadata> |