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, 25 Feb 2022 20:12:40
Message-Id: 1645819921.b24d163deef7e8948ef1b397c2b78af6c38e17eb.pacho@gentoo
1 commit: b24d163deef7e8948ef1b397c2b78af6c38e17eb
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 25 20:12:01 2022 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Fri Feb 25 20:12:01 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b24d163d
7
8 gnome-extra/gnome-shell-extension-alphabetical-grid: Bump to 19.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-19.0.ebuild | 58 ++++++++++++++++++++++
15 2 files changed, 59 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 e0770c338afa..bf761d464482 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-18.0.tar.gz 289276 BLAKE2B 8556fab62659a188c58cc98a642b81a11681ac463590b4beef537f7963b968de371af323f63ca8e989d439837443411db946561e2ab4f993c38d179890575e87 SHA512 7a68e0bbda7c1a071805f0481185941552896ee477920b4e328cf5cafea4d93b4faf474ae6bc9cde4e0d78f4e83af697fe5f9ed1a675d6de5834a97a40b5c5b6
23 +DIST gnome-shell-extension-alphabetical-grid-19.0.tar.gz 288661 BLAKE2B b3df5594422f7d5ba249ec5a3eebf178e845fc2f36f838f61c86c0aa1918f9ca7e942a6af358e3f1744ce7f25a507f3e97bac71848cf6c0bac6339139ffd0d3d SHA512 139f1d06ebeef3b76ac84f71190cf77ebc77571ff3b489bb86f578cfa01ce7de47e53798fece93cb6c45bd82cb6b2a425ba255c1485d5b8739da28bd9959fce8
24
25 diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-19.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-19.0.ebuild
26 new file mode 100644
27 index 000000000000..2164b03efc89
28 --- /dev/null
29 +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-19.0.ebuild
30 @@ -0,0 +1,58 @@
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 +# 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 + insinto /usr/share/glib-2.0/schemas
68 + doins schemas/*.xml
69 + rm -rf README.md LICENSE.txt Makefile schemas || die
70 + mv -v ui/* . || die # Searches for these files in parent dir
71 + insinto /usr/share/gnome-shell/extensions/"${extension_uuid}"
72 + doins -r *
73 +}
74 +
75 +pkg_preinst() {
76 + gnome2_schemas_savelist
77 +}
78 +
79 +pkg_postinst() {
80 + gnome2_schemas_update
81 + ebegin "Updating list of installed extensions"
82 + eselect gnome-shell-extensions update
83 + eend $?
84 +}
85 +
86 +pkg_postrm() {
87 + gnome2_schemas_update
88 +}