1 |
commit: bedd11f74f577e64d39555d1b89024c1e912e9b9 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 16 11:36:01 2023 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 16 12:17:30 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bedd11f7 |
7 |
|
8 |
gnome-extra/gnome-shell-extension-alphabetical-grid: add 29.0 |
9 |
|
10 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
|
12 |
.../Manifest | 1 + |
13 |
...e-shell-extension-alphabetical-grid-29.0.ebuild | 59 ++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
17 |
index 9da362e3faa0..e68000f1ebfa 100644 |
18 |
--- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
19 |
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST gnome-shell-extension-alphabetical-grid-27.0.tar.gz 212216 BLAKE2B 095159d7e9e3683e30dc0d8bf0e2b8cd66b3b22748a4a8551bdcbd284ace1eda96ce9b2d3822d67815a46ea5f3df33ce7ccbd3e0371d987c9be240881be89c57 SHA512 d4c37b21e9c429250fd95281ce7cacb5252e093f834577448bdc218065f147f60b556f65450384e40360a0ff8bc1f52195a46664241cd386d486d5e1327817b8 |
22 |
DIST gnome-shell-extension-alphabetical-grid-28.0.tar.gz 213098 BLAKE2B 15a59c56110462994c890075790d92a4dda10b1de348c16c3909d20af6a35fa82e471ba1feb0a28787627468c0e2dd9f6d926e9b145248387e1c2c87ef964360 SHA512 31be9cedeabde79c41f6d8ad7047756d085b1d35f2d7479f056d72e56ae9d95e09692ea2dfaa700dcf45958fd42cd9e1b6f43a75d76ebf68ea0f1051dcd3a723 |
23 |
+DIST gnome-shell-extension-alphabetical-grid-29.0.tar.gz 213643 BLAKE2B f4e0244f41ec426f5c2189ccfb32144c419d10d22ea477b102d60defd203cc80cb5272aaeedcc5fd3e554341a51aa9ed0e829e38a2c6977daaf82f954fd6a073 SHA512 a4417637d719cc2d35fca80b3621e8bd6e965ed87890105f611d69ae4b901c25080c64599ceac3518dafedd0fb240989b447b643bb88fc2164463371eb0c98f2 |
24 |
|
25 |
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..60d548d52ade |
28 |
--- /dev/null |
29 |
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.0.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2023 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+inherit gnome2-utils |
36 |
+ |
37 |
+# Useful specially to prevent |
38 |
+# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4684 |
39 |
+# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3180 |
40 |
+DESCRIPTION="Restore the alphabetical ordering of the app grid" |
41 |
+HOMEPAGE="https://github.com/stuarthayhurst/alphabetical-grid-extension" |
42 |
+SRC_URI="https://github.com/stuarthayhurst/alphabetical-grid-extension/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-3" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ app-eselect/eselect-gnome-shell-extensions |
51 |
+ >=gnome-base/gnome-shell-3.38 |
52 |
+" |
53 |
+DEPEND="${COMMON_DEPEND}" |
54 |
+BDEPEND="" |
55 |
+ |
56 |
+S="${WORKDIR}/alphabetical-grid-extension-${PV}" |
57 |
+extension_uuid="AlphabeticalAppGrid@stuarthayhurst" |
58 |
+ |
59 |
+# Tests are only useful for upstream |
60 |
+RESTRICT="test" |
61 |
+ |
62 |
+# Not useful for us |
63 |
+src_compile() { :; } |
64 |
+ |
65 |
+src_install() { |
66 |
+ einstalldocs |
67 |
+ mv docs/icon.svg extension || die |
68 |
+ cd extension || die |
69 |
+ insinto /usr/share/glib-2.0/schemas |
70 |
+ doins schemas/*.xml |
71 |
+ rm -rf schemas || die |
72 |
+ insinto /usr/share/gnome-shell/extensions/"${extension_uuid}" |
73 |
+ doins -r * |
74 |
+} |
75 |
+ |
76 |
+pkg_preinst() { |
77 |
+ gnome2_schemas_savelist |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ gnome2_schemas_update |
82 |
+ ebegin "Updating list of installed extensions" |
83 |
+ eselect gnome-shell-extensions update |
84 |
+ eend $? |
85 |
+} |
86 |
+ |
87 |
+pkg_postrm() { |
88 |
+ gnome2_schemas_update |
89 |
+} |