summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2023-03-16 12:36:01 +0100
committerPacho Ramos <pacho@gentoo.org>2023-03-16 13:17:30 +0100
commitbedd11f74f577e64d39555d1b89024c1e912e9b9 (patch)
tree1e6d99250f98e5af2c1d95cfbf8495468fd28fe6 /gnome-extra/gnome-shell-extension-alphabetical-grid
parentapp-text/xml2rfc: enable unittests (diff)
downloadgentoo-bedd11f74f577e64d39555d1b89024c1e912e9b9.tar.gz
gentoo-bedd11f74f577e64d39555d1b89024c1e912e9b9.tar.bz2
gentoo-bedd11f74f577e64d39555d1b89024c1e912e9b9.zip
gnome-extra/gnome-shell-extension-alphabetical-grid: add 29.0
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-shell-extension-alphabetical-grid')
-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-29.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 9da362e3faa0..e68000f1ebfa 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-27.0.tar.gz 212216 BLAKE2B 095159d7e9e3683e30dc0d8bf0e2b8cd66b3b22748a4a8551bdcbd284ace1eda96ce9b2d3822d67815a46ea5f3df33ce7ccbd3e0371d987c9be240881be89c57 SHA512 d4c37b21e9c429250fd95281ce7cacb5252e093f834577448bdc218065f147f60b556f65450384e40360a0ff8bc1f52195a46664241cd386d486d5e1327817b8
DIST gnome-shell-extension-alphabetical-grid-28.0.tar.gz 213098 BLAKE2B 15a59c56110462994c890075790d92a4dda10b1de348c16c3909d20af6a35fa82e471ba1feb0a28787627468c0e2dd9f6d926e9b145248387e1c2c87ef964360 SHA512 31be9cedeabde79c41f6d8ad7047756d085b1d35f2d7479f056d72e56ae9d95e09692ea2dfaa700dcf45958fd42cd9e1b6f43a75d76ebf68ea0f1051dcd3a723
+DIST gnome-shell-extension-alphabetical-grid-29.0.tar.gz 213643 BLAKE2B f4e0244f41ec426f5c2189ccfb32144c419d10d22ea477b102d60defd203cc80cb5272aaeedcc5fd3e554341a51aa9ed0e829e38a2c6977daaf82f954fd6a073 SHA512 a4417637d719cc2d35fca80b3621e8bd6e965ed87890105f611d69ae4b901c25080c64599ceac3518dafedd0fb240989b447b643bb88fc2164463371eb0c98f2
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.0.ebuild
new file mode 100644
index 000000000000..60d548d52ade
--- /dev/null
+++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-29.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
+}