summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2024-08-27 09:57:08 +0200
committerPacho Ramos <pacho@gentoo.org>2024-08-27 10:24:48 +0200
commit153d442ef00f42a259f8070b8626e53d4b62ed3d (patch)
tree397c5e37b1c860b27aa01f2a21cffbecd9f280b8 /gnome-extra
parentx11-themes/fedora-backgrounds: Fix VariableOrderWrong warning (diff)
downloadgentoo-153d442ef00f42a259f8070b8626e53d4b62ed3d.tar.gz
gentoo-153d442ef00f42a259f8070b8626e53d4b62ed3d.tar.bz2
gentoo-153d442ef00f42a259f8070b8626e53d4b62ed3d.zip
gnome-extra/gnome-shell-extension-alphabetical-grid: add 41.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-41.0.ebuild58
2 files changed, 59 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
index fa2d5549f9da..63dc56629dad 100644
--- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
@@ -1,3 +1,4 @@
DIST gnome-shell-extension-alphabetical-grid-38.0.tar.gz 216817 BLAKE2B bfb01e647b8545c70ce9e3b65910701ebce38d110a97c15e0413f10c0b68116b4624e98ad0d34961b701b2f2b43c20f1a15e31219edfb14a79321143be3e2c8d SHA512 4736a5e621c58adf635c468032233f54b9a2f93cdec9e65616a7272ee3368fe901401d051ed13674c815b73fdef9f7a4c38bc9e3e4c19ede7adc6782ae91cff1
DIST gnome-shell-extension-alphabetical-grid-39.0.tar.gz 216879 BLAKE2B 4fb6aa97f01350dbbe2992f5a45c1e85f1b32456869670261224516de15b7b735500af2e59622bf9a010cf9b1da32ddb5d641143c5b12e4fa51da4ed6449e38e SHA512 046662c32c5b5fdf22b770e437aab1cfc8462798966683749484f199de5c716d72789b0f4928c5d03f5139e5fd8182fee5335f6b50e6c79a32a6f1df7ee2aae8
DIST gnome-shell-extension-alphabetical-grid-40.0.tar.gz 216967 BLAKE2B 5500f701d3b94cc68cfe2b0bebb7425889c26982ad5d7a11acc278c3fd5b9a90e372ddafa3f920e970ce83f8b497fb0f81de32632d8b804895c00a31372aa34d SHA512 62c22c8a926f446d234efb9363fbf667b1ec8a3967aeac58f3dd8d648945ba98269cde6d46dff47a50dd9c417c92c72ef35f44154773afa45ab56ee5cafc9c82
+DIST gnome-shell-extension-alphabetical-grid-41.0.tar.gz 217552 BLAKE2B e3f2c06a7b64d339f6d143d3e64bd27bae24cb7bd9d94511048e14b156c277a86e5af386e4177c34660e9aca50657e80ca8a90641af00a8a4338e915297d044f SHA512 d1edb66c7ce50714a87753f7ae367ebade5329cdea2f51a329b6129a9739aa702bc4a8610c8a398f07a93bdf08574ec495478d324e66dfba222a5275fbb70090
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-41.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-41.0.ebuild
new file mode 100644
index 000000000000..31617859a0b4
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-41.0.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2024 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"
+S="${WORKDIR}/alphabetical-grid-extension-${PV}"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-45
+ gui-libs/libadwaita
+"
+DEPEND="${COMMON_DEPEND}"
+
+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
+}