summaryrefslogtreecommitdiff
path: root/gnome-extra/gnome-shell-extension-alphabetical-grid
diff options
context:
space:
mode:
Diffstat (limited to 'gnome-extra/gnome-shell-extension-alphabetical-grid')
-rw-r--r--gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest2
-rw-r--r--gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-30.0.ebuild59
2 files changed, 61 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
index f8f6189dc06e..b2ddc5ec1dff 100644
--- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest
@@ -1,3 +1,5 @@
DIST gnome-shell-extension-alphabetical-grid-29.0.tar.gz 213643 BLAKE2B f4e0244f41ec426f5c2189ccfb32144c419d10d22ea477b102d60defd203cc80cb5272aaeedcc5fd3e554341a51aa9ed0e829e38a2c6977daaf82f954fd6a073 SHA512 a4417637d719cc2d35fca80b3621e8bd6e965ed87890105f611d69ae4b901c25080c64599ceac3518dafedd0fb240989b447b643bb88fc2164463371eb0c98f2
+DIST gnome-shell-extension-alphabetical-grid-30.0.tar.gz 214324 BLAKE2B 36e20967f3f67b613ad1fc6c3730aff16e40bc3680e452f98eb801991b7a76ec9c08192d0e10dddc34d28ed8418a45b6905cab7b8d2a80e8b2afb43d43c746c8 SHA512 49708adb6d8f78cf426cdb6b67de9c9db0d0a0f4500b6e491b2b806de658cfa99528df6a6042bbf201fbb69a34782aca6072d17a2da43e5ea148e2cec8a3f9be
EBUILD gnome-shell-extension-alphabetical-grid-29.0.ebuild 1385 BLAKE2B 2a0ce88f49f8789e4a656b03ada3e9ad943f178f8c6472f9811f07f256dcfa312be4b1c647cda373b92ef804d8efa4b2c7d2ae006bdcab3ddc6b38d4f14f2b3a SHA512 c0092922a198c41d4535b5e74c43a7398ebd76bfc9db1a8492989cfae2e52ddd8640eb28b0387dde0ef2bc226d43de7d259f764eb46dcfe22445c3df13c62b57
+EBUILD gnome-shell-extension-alphabetical-grid-30.0.ebuild 1387 BLAKE2B f698189a2f768be728d300f25bf7f46507ed11341778c8e3896bbf41751bcf0fef86239dd7e72465113d24ba69ae29e3753bc63dec261df948ec014984e65052 SHA512 3f4ac8c83b354f82c92093bde8162cb9741c638336e7ab8b43d25d955b24a4dfaa59cbe0f22cb0de12c2e2d0f9ab13516936f15d5e32fa10964557376b37c40d
MISC metadata.xml 348 BLAKE2B 303e8d4a9a60f5ba180599657f84e5461ea5ee6f568c5d9141f7b25380dca38571dda9d2c62d35224ffc355e550e619d51c000ed072f829de9450d8792aa5676 SHA512 41ff2daf09ad93d37977304a55984cf96ed18ea825e59a9ebf88377700b7e6b7f67d948c88c68e74fe034e46700ab6de7c487aa72d7a6652213981a733af5b7a
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-30.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-30.0.ebuild
new file mode 100644
index 000000000000..60d548d52ade
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-30.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
+}