gnome-extra/gnome-shell-extensions-topicons-plus: add package as gnome-shell-extensio...
authorMart Raudsepp <leio@gentoo.org>
Sat, 25 Mar 2017 09:18:54 +0000 (11:18 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sat, 25 Mar 2017 09:20:44 +0000 (11:20 +0200)
Package-Manager: Portage-2.3.4, Repoman-2.3.1

gnome-extra/gnome-shell-extensions-topicons-plus/Manifest [new file with mode: 0644]
gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-20.ebuild [new file with mode: 0644]
gnome-extra/gnome-shell-extensions-topicons-plus/metadata.xml [new file with mode: 0644]
profiles/features/selinux/package.mask

diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest b/gnome-extra/gnome-shell-extensions-topicons-plus/Manifest
new file mode 100644 (file)
index 0000000..3e115eb
--- /dev/null
@@ -0,0 +1 @@
+DIST gnome-shell-extensions-topicons-plus-20.tar.gz 6173720 SHA256 02ffe087b390b277ce3245b3db675977dad0ed5b6503d719e6e868d8a3082825 SHA512 89feaf4a42f1785c7667ba451efddce2322599c5441bfe66c8bcc72fa3c07bbc2535e34db5383ab9c5b38a61f83ec6ef245473f2c269708e4042684f2d7a07bc WHIRLPOOL 0ccba7837700964e730ab07c8fdac5795b08aab884fa0feab56789e0a5b8166ed864836a383baa01be86c49969a409c4d3b92f2a6653eaeb0387114352e245ca
diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-20.ebuild b/gnome-extra/gnome-shell-extensions-topicons-plus/gnome-shell-extensions-topicons-plus-20.ebuild
new file mode 100644 (file)
index 0000000..ad6dd12
--- /dev/null
@@ -0,0 +1,42 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit vcs-snapshot
+
+DESCRIPTION="Moves legacy tray icons to top panel"
+HOMEPAGE="https://extensions.gnome.org/extension/1031/topicons/"
+SRC_URI="https://github.com/phocean/TopIcons-plus/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+# glib for glib-compile-schemas at build time, needed at runtime anyways
+COMMON_DEPEND="
+       dev-libs/glib:2
+"
+RDEPEND="${COMMON_DEPEND}
+       app-eselect/eselect-gnome-shell-extensions
+       >=gnome-base/gnome-shell-3.16
+"
+DEPEND="${COMMON_DEPEND}"
+
+#src_compile() {
+       # It redoes this with "make install" later due to a dumb Makefile, so don't bother
+       #make build
+#}
+
+src_install() {
+       # TODO: Figure out if we can get the schemas to standard location, in a way that works properly runtime too
+       make install INSTALL_PATH="${ED}usr/share/gnome-shell/extensions/"
+       rm "${ED}/usr/share/gnome-shell/extensions/TopIcons@phocean.net/README.md" || die
+       dodoc README.md
+}
+
+pkg_postinst() {
+       ebegin "Updating list of installed extensions"
+       eselect gnome-shell-extensions update
+       eend $?
+}
diff --git a/gnome-extra/gnome-shell-extensions-topicons-plus/metadata.xml b/gnome-extra/gnome-shell-extensions-topicons-plus/metadata.xml
new file mode 100644 (file)
index 0000000..3998080
--- /dev/null
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="project">
+       <email>gnome@gentoo.org</email>
+       <name>Gentoo GNOME Desktop</name>
+</maintainer>
+</pkgmetadata>
index 1c177189f83f596ec39a322597d7387e28a4a9b2..2d709c4cc2e0f41a345963eca3a01e9375610726 100644 (file)
@@ -24,6 +24,7 @@ gnome-extra/gnome-logs
 gnome-extra/gnome-shell-extensions
 gnome-extra/gnome-shell-frippery
 gnome-extra/gnome-shell-extensions-topicons
+gnome-extra/gnome-shell-extensions-topicons-plus
 gnome-extra/gnome-tweak-tool
 x11-themes/zukitwo-shell
 gnome-extra/office-runner