diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-01-22 13:26:08 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-01-22 13:39:44 +0100 |
commit | ed43b706807cb8f5974f976c4093851861120157 (patch) | |
tree | 55251c5bfbb5d42d46c94da5ce4db32154538e76 /gnome-extra | |
parent | sys-kernel/git-sources: add 6.2_rc5 (diff) | |
download | gentoo-ed43b706807cb8f5974f976c4093851861120157.tar.gz gentoo-ed43b706807cb8f5974f976c4093851861120157.tar.bz2 gentoo-ed43b706807cb8f5974f976c4093851861120157.zip |
gnome-extra/gnome-shell-extension-alphabetical-grid: add 27.0
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Diffstat (limited to 'gnome-extra')
-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-27.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 a01e6f51181f..fcb3136e8ecd 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-24.0.tar.gz 210398 BLAKE2B 6b782085328ca9d61f9aa7406db1f586d35abe50b20e8c2fd06e534166985b1be688b930d4b4f19cd460a69fc4fd5004cf49600fde9a435c7c592d101191f2f6 SHA512 b54ac0b00b4c538ab4064c6bcc197fa65c730e732a80c23e23ed78915e53a8211634f68b842b2f00935b3d48669a19e66ac0eb1d43bcd34955967108a570ebaa DIST gnome-shell-extension-alphabetical-grid-26.0.tar.gz 211376 BLAKE2B 5a644ef2e4f6e7656e4328153f993d2ebe6f1ce7f4a28c36c0b1ab7c047055c8dfb5ac22dca2f762ae550d39feaaf91ff41db11f157b0f55ac9de75314bef936 SHA512 d2523b4794d51c502a200688a0a41cf3119efc20305be7e3c838539f976f323ec51dd8ece9eddd11834d7ebc631299dc6712789535fbd5e8c5457353cdbe582c +DIST gnome-shell-extension-alphabetical-grid-27.0.tar.gz 212216 BLAKE2B 095159d7e9e3683e30dc0d8bf0e2b8cd66b3b22748a4a8551bdcbd284ace1eda96ce9b2d3822d67815a46ea5f3df33ce7ccbd3e0371d987c9be240881be89c57 SHA512 d4c37b21e9c429250fd95281ce7cacb5252e093f834577448bdc218065f147f60b556f65450384e40360a0ff8bc1f52195a46664241cd386d486d5e1327817b8 diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-27.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-27.0.ebuild new file mode 100644 index 000000000000..60d548d52ade --- /dev/null +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-27.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 +} |