summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-03-02 15:46:06 +0100
committerPacho Ramos <pacho@gentoo.org>2023-03-02 15:46:29 +0100
commit9a942b48a5704a8821e9e8fdcb2b12cebced5f72 (patch)
tree010eb1e9f48e21ad5c3734127b38a42fad8473e1 /gnome-extra
parentwww-servers/nginx-unit: drop 1.29.0-r1 (diff)
downloadgentoo-9a942b48a5704a8821e9e8fdcb2b12cebced5f72.tar.gz
gentoo-9a942b48a5704a8821e9e8fdcb2b12cebced5f72.tar.bz2
gentoo-9a942b48a5704a8821e9e8fdcb2b12cebced5f72.zip
gnome-extra/gnome-shell-extension-alphabetical-grid: add 28.0
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest1
-rw-r--r--gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-28.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
index 40aa32bdf2ed..6a8a5af26146 100644
--- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
@@ -1,2 +1,3 @@
DIST gnome-shell-extension-alphabetical-grid-26.0.tar.gz 211376 BLAKE2B 5a644ef2e4f6e7656e4328153f993d2ebe6f1ce7f4a28c36c0b1ab7c047055c8dfb5ac22dca2f762ae550d39feaaf91ff41db11f157b0f55ac9de75314bef936 SHA512 d2523b4794d51c502a200688a0a41cf3119efc20305be7e3c838539f976f323ec51dd8ece9eddd11834d7ebc631299dc6712789535fbd5e8c5457353cdbe582c
DIST gnome-shell-extension-alphabetical-grid-27.0.tar.gz 212216 BLAKE2B 095159d7e9e3683e30dc0d8bf0e2b8cd66b3b22748a4a8551bdcbd284ace1eda96ce9b2d3822d67815a46ea5f3df33ce7ccbd3e0371d987c9be240881be89c57 SHA512 d4c37b21e9c429250fd95281ce7cacb5252e093f834577448bdc218065f147f60b556f65450384e40360a0ff8bc1f52195a46664241cd386d486d5e1327817b8
+DIST gnome-shell-extension-alphabetical-grid-28.0.tar.gz 213098 BLAKE2B 15a59c56110462994c890075790d92a4dda10b1de348c16c3909d20af6a35fa82e471ba1feb0a28787627468c0e2dd9f6d926e9b145248387e1c2c87ef964360 SHA512 31be9cedeabde79c41f6d8ad7047756d085b1d35f2d7479f056d72e56ae9d95e09692ea2dfaa700dcf45958fd42cd9e1b6f43a75d76ebf68ea0f1051dcd3a723
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
new file mode 100644
index 000000000000..60d548d52ade
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-28.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnome2-utils
+
+# Useful specially to prevent
+# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/4684
+# https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3180
+DESCRIPTION="Restore the alphabetical ordering of the app grid"
+HOMEPAGE="https://github.com/stuarthayhurst/alphabetical-grid-extension"
+SRC_URI="https://github.com/stuarthayhurst/alphabetical-grid-extension/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-3.38
+"
+DEPEND="${COMMON_DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/alphabetical-grid-extension-${PV}"
+extension_uuid="AlphabeticalAppGrid@stuarthayhurst"
+
+# Tests are only useful for upstream
+RESTRICT="test"
+
+# Not useful for us
+src_compile() { :; }
+
+src_install() {
+ einstalldocs
+ mv docs/icon.svg extension || die
+ cd extension || die
+ insinto /usr/share/glib-2.0/schemas
+ doins schemas/*.xml
+ rm -rf schemas || die
+ insinto /usr/share/gnome-shell/extensions/"${extension_uuid}"
+ doins -r *
+}
+
+pkg_preinst() {
+ gnome2_schemas_savelist
+}
+
+pkg_postinst() {
+ gnome2_schemas_update
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+}
+
+pkg_postrm() {
+ gnome2_schemas_update
+}