diff options
author | Pacho Ramos <pacho@gentoo.org> | 2023-08-23 16:17:14 +0200 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2023-08-23 16:48:34 +0200 |
commit | 72b49ff1884411bde420ab1689e9712d2434673a (patch) | |
tree | e1814b1ba11cdc3779696f7faef8e335739e2075 /gnome-extra/gnome-shell-extension-alphabetical-grid | |
parent | sys-power/power-profiles-daemon: Add missing dep on glib-utils (diff) | |
download | gentoo-72b49ff1884411bde420ab1689e9712d2434673a.tar.gz gentoo-72b49ff1884411bde420ab1689e9712d2434673a.tar.bz2 gentoo-72b49ff1884411bde420ab1689e9712d2434673a.zip |
gnome-extra/gnome-shell-extension-alphabetical-grid: add 32.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-32.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 ab21293f3373..bd079b0a7d62 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-31.0.tar.gz 214302 BLAKE2B 16dcfdbd39e6e29f388af7a17e90069f9aa9aa22d03c22ab461053539686097d27238d6c4d5077e5cb7160bf15ed5717e132d34ba9407993af39e008b9b35efe SHA512 4639619ca43bacdc3c1658ac8fe4689ffed680c91b61f00ca2ba5ac929f246dd8726d88f628a0ebbe0fc85a616e7219d54c351e5f2773e765eb3ace6a3823944 +DIST gnome-shell-extension-alphabetical-grid-32.0.tar.gz 214580 BLAKE2B b3fd0be85c5f74240f25a96b041df6ca0e3cf02b2b025eb2ffa5f1e3ed9f9562dac3ee37b7a32a548b3a8054ad8728a9d93c9bd84d771eadb0c9d56b2366cd97 SHA512 8ac96bea822df28cd980179a19d3f7acb8a950b3f1e41e650ff2982cb3b657434a0eb49357ebd206b68de102bb3c89b823f16cbcd379e7807598b923e5a64c6c diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-32.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-32.0.ebuild new file mode 100644 index 000000000000..60d548d52ade --- /dev/null +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-32.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 +} |