1 |
commit: d52c86274ee6b53c796d8edcd7fd4e19b1e23e5c |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 29 11:10:08 2022 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 29 11:10:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d52c8627 |
7 |
|
8 |
gnome-extra/gnome-shell-extension-alphabetical-grid: Bump to 18.0 |
9 |
|
10 |
Package-Manager: Portage-3.0.30, Repoman-3.0.3 |
11 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
12 |
|
13 |
.../Manifest | 1 + |
14 |
...e-shell-extension-alphabetical-grid-18.0.ebuild | 55 ++++++++++++++++++++++ |
15 |
2 files changed, 56 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
18 |
index e84cfbf9beb4..96d0ec71cfca 100644 |
19 |
--- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
20 |
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gnome-shell-extension-alphabetical-grid-17.0.tar.gz 288368 BLAKE2B 7e22e06538d8804afb8301c40e02bcd1d56f6c756d69bb09d61649bceb6e1819e6cdf1ceb2f1d4e88ee22e92c3a6b465fd925fdde840b9c6124583cc7389a344 SHA512 46d5b7e269d0a454f04fde729fd6d5a66a270a3b2337159fc746d12304c7988846c1fb5c609c9122c3fca25c6110a714766b2f900c7fa1306251750781eff3e5 |
23 |
+DIST gnome-shell-extension-alphabetical-grid-18.0.tar.gz 289276 BLAKE2B 8556fab62659a188c58cc98a642b81a11681ac463590b4beef537f7963b968de371af323f63ca8e989d439837443411db946561e2ab4f993c38d179890575e87 SHA512 7a68e0bbda7c1a071805f0481185941552896ee477920b4e328cf5cafea4d93b4faf474ae6bc9cde4e0d78f4e83af697fe5f9ed1a675d6de5834a97a40b5c5b6 |
24 |
|
25 |
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-18.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-18.0.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000000..429429ac7ad3 |
28 |
--- /dev/null |
29 |
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-18.0.ebuild |
30 |
@@ -0,0 +1,55 @@ |
31 |
+# Copyright 1999-2022 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 |
+# Not useful for us |
60 |
+src_compile() { :; } |
61 |
+ |
62 |
+src_install() { |
63 |
+ einstalldocs |
64 |
+ insinto /usr/share/glib-2.0/schemas |
65 |
+ doins schemas/*.xml |
66 |
+ rm -rf README.md LICENSE.txt Makefile schemas || die |
67 |
+ mv -v ui/* . || die # Searches for these files in parent dir |
68 |
+ insinto /usr/share/gnome-shell/extensions/"${extension_uuid}" |
69 |
+ doins -r * |
70 |
+} |
71 |
+ |
72 |
+pkg_preinst() { |
73 |
+ gnome2_schemas_savelist |
74 |
+} |
75 |
+ |
76 |
+pkg_postinst() { |
77 |
+ gnome2_schemas_update |
78 |
+ ebegin "Updating list of installed extensions" |
79 |
+ eselect gnome-shell-extensions update |
80 |
+ eend $? |
81 |
+} |
82 |
+ |
83 |
+pkg_postrm() { |
84 |
+ gnome2_schemas_update |
85 |
+} |