summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2016-06-25 20:12:50 +0200
committerPacho Ramos <pacho@gentoo.org>2016-06-25 20:43:00 +0200
commit9f0fb7169f224b54f278a795df287a1c7d9eeca5 (patch)
tree0d6e91a63f505282bbe7c0efa6328ce2a8fef274 /gnome-extra
parentgnome-extra/gnome-shell-extensions-topicons: Drop old (diff)
downloadgentoo-9f0fb7169f224b54f278a795df287a1c7d9eeca5.tar.gz
gentoo-9f0fb7169f224b54f278a795df287a1c7d9eeca5.tar.bz2
gentoo-9f0fb7169f224b54f278a795df287a1c7d9eeca5.zip
gnome-extra/gnome-shell-extensions-topicons: Support gnome 3.20
Package-Manager: portage-2.3.0_rc1
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-shell-extensions-topicons/gnome-shell-extensions-topicons-28-r1.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnome-extra/gnome-shell-extensions-topicons/gnome-shell-extensions-topicons-28-r1.ebuild b/gnome-extra/gnome-shell-extensions-topicons/gnome-shell-extensions-topicons-28-r1.ebuild
new file mode 100644
index 000000000000..839898021bfc
--- /dev/null
+++ b/gnome-extra/gnome-shell-extensions-topicons/gnome-shell-extensions-topicons-28-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="Shows legacy tray icons on top"
+HOMEPAGE="https://extensions.gnome.org/extension/495/topicons/"
+SRC_URI="http://94.247.144.115/repo/topicons/snapshot/topicons-${PV}.tar.xz -> ${P}.tar.xz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="
+ app-eselect/eselect-gnome-shell-extensions
+ >=gnome-base/gnome-shell-3.10
+"
+DEPEND="app-arch/xz-utils"
+
+src_prepare() {
+ default
+ sed -i 's/"3.18"/"3.18",\n "3.20"/g' metadata.json || die
+}
+
+src_install() {
+ local uuid='topIcons@adel.gadllah@gmail.com'
+ insinto "/usr/share/gnome-shell/extensions/${uuid}"
+ doins *
+}
+
+pkg_postinst() {
+ ebegin "Updating list of installed extensions"
+ eselect gnome-shell-extensions update
+ eend $?
+}