summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-07-08 12:23:58 +0200
committerPacho Ramos <pacho@gentoo.org>2023-07-08 12:23:58 +0200
commitc69e081880c7675d9d9886e243e4d41508d18f69 (patch)
tree4f520f553771b5b261b053e9a15ad311f5190666 /gnome-extra
parentnet-wireless/bluez: add 5.68 (diff)
downloadgentoo-c69e081880c7675d9d9886e243e4d41508d18f69.tar.gz
gentoo-c69e081880c7675d9d9886e243e4d41508d18f69.tar.bz2
gentoo-c69e081880c7675d9d9886e243e4d41508d18f69.zip
gnome-extra/gnome-shell-extension-alphabetical-grid: add 31.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-31.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 fd4c5a4d1d6a..b571da56232b 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-29.0.tar.gz 213643 BLAKE2B f4e0244f41ec426f5c2189ccfb32144c419d10d22ea477b102d60defd203cc80cb5272aaeedcc5fd3e554341a51aa9ed0e829e38a2c6977daaf82f954fd6a073 SHA512 a4417637d719cc2d35fca80b3621e8bd6e965ed87890105f611d69ae4b901c25080c64599ceac3518dafedd0fb240989b447b643bb88fc2164463371eb0c98f2
DIST gnome-shell-extension-alphabetical-grid-30.0.tar.gz 214324 BLAKE2B 36e20967f3f67b613ad1fc6c3730aff16e40bc3680e452f98eb801991b7a76ec9c08192d0e10dddc34d28ed8418a45b6905cab7b8d2a80e8b2afb43d43c746c8 SHA512 49708adb6d8f78cf426cdb6b67de9c9db0d0a0f4500b6e491b2b806de658cfa99528df6a6042bbf201fbb69a34782aca6072d17a2da43e5ea148e2cec8a3f9be
+DIST gnome-shell-extension-alphabetical-grid-31.0.tar.gz 214302 BLAKE2B 16dcfdbd39e6e29f388af7a17e90069f9aa9aa22d03c22ab461053539686097d27238d6c4d5077e5cb7160bf15ed5717e132d34ba9407993af39e008b9b35efe SHA512 4639619ca43bacdc3c1658ac8fe4689ffed680c91b61f00ca2ba5ac929f246dd8726d88f628a0ebbe0fc85a616e7219d54c351e5f2773e765eb3ace6a3823944
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-31.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-31.0.ebuild
new file mode 100644
index 000000000000..60d548d52ade
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-31.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
+}