diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 17:40:36 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-02-25 17:40:36 +0000 |
commit | 85809279ceef66e68b25eac8c3918bee6762f6cc (patch) | |
tree | 9ecee133212467e7b1402b70a11c5d6fb3ea817d /gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild | |
parent | 4215622c05ed14d30fdad5a4d0feba6d94b0d046 (diff) |
gentoo auto-resync : 25:02:2024 - 17:40:36
Diffstat (limited to 'gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild')
-rw-r--r-- | gnome-extra/gnome-shell-extension-alphabetical-grid/gnome-shell-extension-alphabetical-grid-39.0.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
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 +} |