1 |
commit: 9a942b48a5704a8821e9e8fdcb2b12cebced5f72 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 14:46:06 2023 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 14:46:29 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a942b48 |
7 |
|
8 |
gnome-extra/gnome-shell-extension-alphabetical-grid: add 28.0 |
9 |
|
10 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
11 |
|
12 |
.../Manifest | 1 + |
13 |
...e-shell-extension-alphabetical-grid-28.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 40aa32bdf2ed..6a8a5af26146 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-26.0.tar.gz 211376 BLAKE2B 5a644ef2e4f6e7656e4328153f993d2ebe6f1ce7f4a28c36c0b1ab7c047055c8dfb5ac22dca2f762ae550d39feaaf91ff41db11f157b0f55ac9de75314bef936 SHA512 d2523b4794d51c502a200688a0a41cf3119efc20305be7e3c838539f976f323ec51dd8ece9eddd11834d7ebc631299dc6712789535fbd5e8c5457353cdbe582c |
22 |
DIST gnome-shell-extension-alphabetical-grid-27.0.tar.gz 212216 BLAKE2B 095159d7e9e3683e30dc0d8bf0e2b8cd66b3b22748a4a8551bdcbd284ace1eda96ce9b2d3822d67815a46ea5f3df33ce7ccbd3e0371d987c9be240881be89c57 SHA512 d4c37b21e9c429250fd95281ce7cacb5252e093f834577448bdc218065f147f60b556f65450384e40360a0ff8bc1f52195a46664241cd386d486d5e1327817b8 |
23 |
+DIST gnome-shell-extension-alphabetical-grid-28.0.tar.gz 213098 BLAKE2B 15a59c56110462994c890075790d92a4dda10b1de348c16c3909d20af6a35fa82e471ba1feb0a28787627468c0e2dd9f6d926e9b145248387e1c2c87ef964360 SHA512 31be9cedeabde79c41f6d8ad7047756d085b1d35f2d7479f056d72e56ae9d95e09692ea2dfaa700dcf45958fd42cd9e1b6f43a75d76ebf68ea0f1051dcd3a723 |
24 |
|
25 |
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-28.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-28.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-28.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 |
+} |