Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-alphabetical-grid/
Date: Fri, 27 May 2022 20:54:12
Message-Id: 1653683357.d8a39b5444e7f955bfde01df85c159055ff6c633.pacho@gentoo
1 commit: d8a39b5444e7f955bfde01df85c159055ff6c633
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri May 27 20:29:17 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri May 27 20:29:17 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8a39b54
7
8 gnome-extra/gnome-shell-extension-alphabetical-grid: add 24.0
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11
12 .../Manifest | 1 +
13 ...e-shell-extension-alphabetical-grid-24.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 5246f94822a4..a6883da2ca6e 100644
18 --- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
19 +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gnome-shell-extension-alphabetical-grid-19.0.tar.gz 288661 BLAKE2B b3df5594422f7d5ba249ec5a3eebf178e845fc2f36f838f61c86c0aa1918f9ca7e942a6af358e3f1744ce7f25a507f3e97bac71848cf6c0bac6339139ffd0d3d SHA512 139f1d06ebeef3b76ac84f71190cf77ebc77571ff3b489bb86f578cfa01ce7de47e53798fece93cb6c45bd82cb6b2a425ba255c1485d5b8739da28bd9959fce8
22 DIST gnome-shell-extension-alphabetical-grid-22.0.tar.gz 208959 BLAKE2B 08ab108c0e51249531950ecdec18cdf9b205c0727aeb3e359fd8fb0a1ca9c0d4afec7c3a54b4ee130bc9b63ad58d6619e2d15d17622ccf68172aed38fcc5b97f SHA512 ae8cc174d5c003debe7e78ff415fbde66b495d93ea7130b2aef459ce42b6e7970c4c14221ec7f5febb3f6d2ff05365b738c92e7bc2357867495185e05a82ffea
23 DIST gnome-shell-extension-alphabetical-grid-23.0.tar.gz 209076 BLAKE2B 82fd5fdd4d10cb134bd47221d0ecdf651f86e7c77872373a27489aec526df715eedd3d7e4407fc4c53617d14984d2690ff0fe6db5ba3c92dabf13d175f0d7a21 SHA512 6c932216956f421838c608fc8e6426039761e6233305dfb1ea0a0bf6c8afc65632983fed12d3f5a3605ff1ef73f8ebc11715ff47ac7570960ff2361e436760f8
24 +DIST gnome-shell-extension-alphabetical-grid-24.0.tar.gz 210398 BLAKE2B 6b782085328ca9d61f9aa7406db1f586d35abe50b20e8c2fd06e534166985b1be688b930d4b4f19cd460a69fc4fd5004cf49600fde9a435c7c592d101191f2f6 SHA512 b54ac0b00b4c538ab4064c6bcc197fa65c730e732a80c23e23ed78915e53a8211634f68b842b2f00935b3d48669a19e66ac0eb1d43bcd34955967108a570ebaa
25
26 diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-24.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-24.0.ebuild
27 new file mode 100644
28 index 000000000000..435d2222d99b
29 --- /dev/null
30 +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-24.0.ebuild
31 @@ -0,0 +1,59 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +inherit gnome2-utils
37 +
38 +# Useful specially to prevent
39 +# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4684
40 +# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3180
41 +DESCRIPTION="Restore the alphabetical ordering of the app grid"
42 +HOMEPAGE="https://github.com/stuarthayhurst/alphabetical-grid-extension"
43 +SRC_URI="https://github.com/stuarthayhurst/alphabetical-grid-extension/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
44 +
45 +LICENSE="GPL-3"
46 +SLOT="0"
47 +KEYWORDS="~amd64 ~x86"
48 +IUSE=""
49 +
50 +RDEPEND="
51 + app-eselect/eselect-gnome-shell-extensions
52 + >=gnome-base/gnome-shell-3.38
53 +"
54 +DEPEND="${COMMON_DEPEND}"
55 +BDEPEND=""
56 +
57 +S="${WORKDIR}/alphabetical-grid-extension-${PV}"
58 +extension_uuid="AlphabeticalAppGrid@stuarthayhurst"
59 +
60 +# Tests are only useful for upstream
61 +RESTRICT="test"
62 +
63 +# Not useful for us
64 +src_compile() { :; }
65 +
66 +src_install() {
67 + einstalldocs
68 + mv docs/icon.svg extension || die
69 + cd extension || die
70 + insinto /usr/share/glib-2.0/schemas
71 + doins schemas/*.xml
72 + rm -rf schemas || die
73 + insinto /usr/share/gnome-shell/extensions/"${extension_uuid}"
74 + doins -r *
75 +}
76 +
77 +pkg_preinst() {
78 + gnome2_schemas_savelist
79 +}
80 +
81 +pkg_postinst() {
82 + gnome2_schemas_update
83 + ebegin "Updating list of installed extensions"
84 + eselect gnome-shell-extensions update
85 + eend $?
86 +}
87 +
88 +pkg_postrm() {
89 + gnome2_schemas_update
90 +}