diff options
author | David Seifert <soap@gentoo.org> | 2022-06-21 18:29:27 +0200 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2022-06-21 18:29:27 +0200 |
commit | 5e2f9d51cd011db6fb8450094627ec70937119c6 (patch) | |
tree | 4d955797b6ef25f2fab4ce045986b204935efa23 /app-eselect/eselect-gnome-shell-extensions | |
parent | app-arch/arj: update EAPI 6 -> 8 (diff) | |
download | gentoo-5e2f9d51cd011db6fb8450094627ec70937119c6.tar.gz gentoo-5e2f9d51cd011db6fb8450094627ec70937119c6.tar.bz2 gentoo-5e2f9d51cd011db6fb8450094627ec70937119c6.zip |
app-eselect/eselect-gnome-shell-extensions: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-eselect/eselect-gnome-shell-extensions')
-rw-r--r-- | app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild (renamed from app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild) | 23 |
1 files changed, 12 insertions, 11 deletions
diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild index 2d717aab9769..89eb6aecf7f2 100644 --- a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild +++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306-r1.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=8 DESCRIPTION="Manages system defaults for GNOME Shell extensions" HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage" @@ -12,31 +12,32 @@ SLOT="0" KEYWORDS="amd64 arm64 ~ppc64 ~riscv x86" # gnome-shell schemas are used in pkg_postinst -COMMON_DEPEND="app-admin/eselect +DEPEND=" + app-admin/eselect >=dev-libs/glib-2.26:2 gnome-base/gsettings-desktop-schemas gnome-base/gnome-shell" -RDEPEND="${COMMON_DEPEND} +RDEPEND="${DEPEND} dev-lang/perl dev-perl/JSON" -DEPEND="${COMMON_DEPEND} - app-arch/xz-utils" src_install() { - insinto "/usr/share/eselect/modules" + insinto /usr/share/eselect/modules doins gnome-shell-extensions.eselect - keepdir "/etc/eselect/gnome-shell-extensions" + + keepdir /etc/eselect/gnome-shell-extensions # The actual gschema override file will be created in pkg_postinst. - dosym "../../../../etc/eselect/gnome-shell-extensions/${PN}.gschema.override" \ - "/usr/share/glib-2.0/schemas/${PN}.gschema.override" + dosym ../../../../etc/eselect/gnome-shell-extensions/${PN}.gschema.override \ + /usr/share/glib-2.0/schemas/${PN}.gschema.override } pkg_postinst() { einfo "Updating list of installed extensions" + eselect gnome-shell-extensions update || die local keyname="disabled-extensions" - has_version ">=gnome-base/gnome-shell-3.1.90" && - keyname="enabled-extensions" + has_version ">=gnome-base/gnome-shell-3.1.90" && keyname="enabled-extensions" + elog elog "eselect gnome-shell-extensions manages the system default value of" elog "the org.gnome.shell ${keyname} key. To override the default" |