diff options
author | Pacho Ramos <pacho@gentoo.org> | 2022-04-18 18:41:41 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2022-04-18 18:41:41 +0200 |
commit | 5a96c429c9cf0bb0ba5585b5e6ae006a7d5d0d7c (patch) | |
tree | 6c7cb175f50d9a1a0bf19fae805e6fa9a62be5b7 /gnome-extra/gnome-shell-extension-alphabetical-grid | |
parent | gnome-extra/gnome-shell-extension-bluetooth-quick-connect: add 29 (diff) | |
download | gentoo-5a96c429c9cf0bb0ba5585b5e6ae006a7d5d0d7c.tar.gz gentoo-5a96c429c9cf0bb0ba5585b5e6ae006a7d5d0d7c.tar.bz2 gentoo-5a96c429c9cf0bb0ba5585b5e6ae006a7d5d0d7c.zip |
gnome-extra/gnome-shell-extension-alphabetical-grid: add 23.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/Manifest | 1 | ||||
-rw-r--r-- | gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-23.0.ebuild | 59 |
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 255b09d8048e..5246f94822a4 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-19.0.tar.gz 288661 BLAKE2B b3df5594422f7d5ba249ec5a3eebf178e845fc2f36f838f61c86c0aa1918f9ca7e942a6af358e3f1744ce7f25a507f3e97bac71848cf6c0bac6339139ffd0d3d SHA512 139f1d06ebeef3b76ac84f71190cf77ebc77571ff3b489bb86f578cfa01ce7de47e53798fece93cb6c45bd82cb6b2a425ba255c1485d5b8739da28bd9959fce8 DIST gnome-shell-extension-alphabetical-grid-22.0.tar.gz 208959 BLAKE2B 08ab108c0e51249531950ecdec18cdf9b205c0727aeb3e359fd8fb0a1ca9c0d4afec7c3a54b4ee130bc9b63ad58d6619e2d15d17622ccf68172aed38fcc5b97f SHA512 ae8cc174d5c003debe7e78ff415fbde66b495d93ea7130b2aef459ce42b6e7970c4c14221ec7f5febb3f6d2ff05365b738c92e7bc2357867495185e05a82ffea +DIST gnome-shell-extension-alphabetical-grid-23.0.tar.gz 209076 BLAKE2B 82fd5fdd4d10cb134bd47221d0ecdf651f86e7c77872373a27489aec526df715eedd3d7e4407fc4c53617d14984d2690ff0fe6db5ba3c92dabf13d175f0d7a21 SHA512 6c932216956f421838c608fc8e6426039761e6233305dfb1ea0a0bf6c8afc65632983fed12d3f5a3605ff1ef73f8ebc11715ff47ac7570960ff2361e436760f8 diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-23.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-23.0.ebuild new file mode 100644 index 000000000000..f52096ee48db --- /dev/null +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-23.0.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2022 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 +} |