diff options
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-39.0.ebuild | 58 |
2 files changed, 59 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest index 0945a5cecd24..f8e75576b8d3 100644 --- a/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/Manifest @@ -1 +1,2 @@ DIST gnome-shell-extension-alphabetical-grid-38.0.tar.gz 216817 BLAKE2B bfb01e647b8545c70ce9e3b65910701ebce38d110a97c15e0413f10c0b68116b4624e98ad0d34961b701b2f2b43c20f1a15e31219edfb14a79321143be3e2c8d SHA512 4736a5e621c58adf635c468032233f54b9a2f93cdec9e65616a7272ee3368fe901401d051ed13674c815b73fdef9f7a4c38bc9e3e4c19ede7adc6782ae91cff1 +DIST gnome-shell-extension-alphabetical-grid-39.0.tar.gz 216879 BLAKE2B 4fb6aa97f01350dbbe2992f5a45c1e85f1b32456869670261224516de15b7b735500af2e59622bf9a010cf9b1da32ddb5d641143c5b12e4fa51da4ed6449e38e SHA512 046662c32c5b5fdf22b770e437aab1cfc8462798966683749484f199de5c716d72789b0f4928c5d03f5139e5fd8182fee5335f6b50e6c79a32a6f1df7ee2aae8 diff --git a/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild new file mode 100644 index 000000000000..50291ca4a9f4 --- /dev/null +++ b/gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2024 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" + +RDEPEND=" + app-eselect/eselect-gnome-shell-extensions + >=gnome-base/gnome-shell-45 + gui-libs/libadwaita +" +DEPEND="${COMMON_DEPEND}" + +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 +} |