diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-03-10 19:15:28 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-03-10 19:15:28 +0000 |
commit | da6a52f691ef980bab92d003d5df8f463c623af8 (patch) | |
tree | 4d89e0d5915f8a3f57c8f9c17420ba3f7b44b7b2 /app-eselect | |
parent | 80208fb578cf92cc308906660ca6d7860c6b2a1f (diff) |
gentoo resync : 10.03.2018
Diffstat (limited to 'app-eselect')
-rw-r--r-- | app-eselect/Manifest.gz | bin | 8726 -> 8724 bytes | |||
-rw-r--r-- | app-eselect/eselect-gnome-shell-extensions/Manifest | 2 | ||||
-rw-r--r-- | app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild | 48 |
3 files changed, 50 insertions, 0 deletions
diff --git a/app-eselect/Manifest.gz b/app-eselect/Manifest.gz Binary files differindex 1fc234d3de28..5e02017d81cc 100644 --- a/app-eselect/Manifest.gz +++ b/app-eselect/Manifest.gz diff --git a/app-eselect/eselect-gnome-shell-extensions/Manifest b/app-eselect/eselect-gnome-shell-extensions/Manifest index 597e1187899a..3a2ce9957d0c 100644 --- a/app-eselect/eselect-gnome-shell-extensions/Manifest +++ b/app-eselect/eselect-gnome-shell-extensions/Manifest @@ -1,3 +1,5 @@ DIST eselect-gnome-shell-extensions-20120911.tar.xz 2792 BLAKE2B eaa0bf4217b095708131eb3f72b5a420b717f12b9f2088d8772567cd81c2631b68007a3bef0416b9d9016913f096094b3816dff2f1e7ba4495515c76cf03157b SHA512 da54e2a0b74f3e8f8eaa26b1858d26c56fbaa398ec54b079f504377a4079df19ff52485991a9ea153f92c93a9fe871d70c3c2b841bad4b8dba402ad83c9297e2 +DIST eselect-gnome-shell-extensions-20180306.tar.xz 2676 BLAKE2B 846e282f99828ce795ba98557bb97301f576895c46e98ae0c079dfee8461146756c85573c1ce24e4ca3690d2ea8383dd988e40d3fe271a32b1987e027b47e3ae SHA512 2c0b9119219d8f3c54201f9865e1a9dd6889ccf26537802c591e89adb545f38aca13fa6b1119fe52d4183daf4adb6d2b1053b252d2756778b31626688092196d EBUILD eselect-gnome-shell-extensions-20120911.ebuild 1589 BLAKE2B 778f7c92138323f3a760920826be24bb0cfe7ad721281bb221fd8b6b2d172f7e3bf41e397304b368398cd1c9ba423235996e9c0e69a9c9b89af33c77d3944010 SHA512 ef902db8c2984846273af1a444decc962123ef11b26db8f8ee4b8d68d9372ec96fe75c57a34f087d117a8241de64091071b9a18436b7d4823a35e5be4584d412 +EBUILD eselect-gnome-shell-extensions-20180306.ebuild 1583 BLAKE2B 0c3899f76d40879427e9f85b1f2816fd95a2ac37c9f61308b817fe0aba7934f3ecd8018a32f06719fbafd98d1562c56b4599a86c116fa9c1c77614762105e7f8 SHA512 8d86cf07da353880100d031aa52512038973cdfae9f0a4301d8207753276b7f5d433d04ab445a93fd9b7df5f2f32bc77dad2da96707e182801ca0ef6bfa6ffe5 MISC metadata.xml 249 BLAKE2B e71e1b95fee768c696704acbf7e3cf0e599ed2bc8de92bae0141d1194ef9e842bdc292798904487a9b90ddfda9b0e84abd3b76b1518576c1d288240e4e46f110 SHA512 c40662134899a5c9f0369a1017806f35adf3280a0b3c91726f7a8ca6012a073a8b471583f5bfb6fe95faac1dcf607e8e2e43f8c91d48ec46f4a8824e2f551506 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.ebuild new file mode 100644 index 000000000000..6d497dd4329a --- /dev/null +++ b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20180306.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Manages system defaults for GNOME Shell extensions" +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="https://dev.gentoo.org/~leio/distfiles/${P}.tar.xz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +# gnome-shell schemas are used in pkg_postinst +COMMON_DEPEND="app-admin/eselect + >=dev-libs/glib-2.26:2 + gnome-base/gsettings-desktop-schemas + gnome-base/gnome-shell" +RDEPEND="${COMMON_DEPEND} + dev-lang/perl + dev-perl/JSON" +DEPEND="${COMMON_DEPEND} + app-arch/xz-utils" + +src_install() { + insinto "/usr/share/eselect/modules" + doins gnome-shell-extensions.eselect + 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" +} + +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" + elog + elog "eselect gnome-shell-extensions manages the system default value of" + elog "the org.gnome.shell ${keyname} key. To override the default" + elog "for an individual user, use the gsettings command, e.g." + elog "\$ gsettings set org.gnome.shell ${keyname} \"['foo', 'bar']\"" + elog "To undo per-user changes and use the system default, do" + elog "\$ gsettings reset org.gnome.shell ${keyname}" + elog +} |