summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild')
-rw-r--r--app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild49
1 files changed, 0 insertions, 49 deletions
diff --git a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild b/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild
deleted file mode 100644
index 33724f4f1452..000000000000
--- a/app-eselect/eselect-gnome-shell-extensions/eselect-gnome-shell-extensions-20120911.ebuild
+++ /dev/null
@@ -1,49 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="4"
-
-DESCRIPTION="Manages system defaults for GNOME Shell extensions"
-HOMEPAGE="https://www.gentoo.org"
-SRC_URI="https://dev.gentoo.org/~tetromino/distfiles/${PN}/${P}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE=""
-
-# 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 greated 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
-}