Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-shell-extension-dash-to-panel/
Date: Wed, 11 Mar 2020 16:18:19
Message-Id: 1583943487.015b8b87d071dea68447b1d4aff2f0509226b7b8.pacho@gentoo
1 commit: 015b8b87d071dea68447b1d4aff2f0509226b7b8
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 11 16:17:40 2020 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 11 16:18:07 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=015b8b87
7
8 gnome-extra/gnome-shell-extension-dash-to-panel: Bump to v29
9
10 Package-Manager: Portage-2.3.93, Repoman-2.3.20
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 .../gnome-shell-extension-dash-to-panel/Manifest | 1 +
14 .../gnome-shell-extension-dash-to-panel-29.ebuild | 74 ++++++++++++++++++++++
15 2 files changed, 75 insertions(+)
16
17 diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
18 index 74e23acc8ce..59949dedbd8 100644
19 --- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
20 +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
21 @@ -1,2 +1,3 @@
22 DIST gnome-shell-extension-dash-to-panel-26.tar.gz 21100594 BLAKE2B da90d4f496e10c14c554edb74065c95bf211f6778c097e3b81d863a46d0d3477f281cebac72f334b461f28b998284a861363b27d6c17ef5b1d47947a1f44bf01 SHA512 45bc148d2419db5943d0c2170ea3739a36c5a928c39d070501c5dfbec3910ba08058af1926c42f75d6b3e5918d8c30aef4f38db0af14115c11027520fa582a2f
23 +DIST gnome-shell-extension-dash-to-panel-29.tar.gz 21107847 BLAKE2B 1a5440208a61ddadd0f0a3f22cfe2d2d675ad2784757aef69eb16c305c5b1a86ecfe1a73e22457d2641f599ab1d8162b24cc573621c33cbd0298a24ef9faf4c1 SHA512 6ed189a5ac5ac00d9ce33701dbde898c81c37ac13da353c9e44cea835ca4b7ab748e42cca4639e9c1f4f6dafe2ba6c5b72ba524eca67eb8365aec354ddfca05c
24 DIST tango-gentoo-v1.1.tar.gz 29322 BLAKE2B 83fa2bf37727e60851dd679054fe1b153ebfea58c9a9a40f891f7d68d3b047b02e8effa1d1b4e08d64500a2072ce7200f159c92a352da7124de27e1b05bb6027 SHA512 87d47ddab68361db6d99866c51705dcb3e198f8345a1096859acf2c6cca5099dd23c7fb30d124f52c4933ea38fd45fadffbbe6ecbdfa84f5b60938a4824f9045
25
26 diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-29.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-29.ebuild
27 new file mode 100644
28 index 00000000000..c5470a35cce
29 --- /dev/null
30 +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-29.ebuild
31 @@ -0,0 +1,74 @@
32 +# Copyright 1999-2020 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +inherit gnome2-utils
37 +
38 +MY_PN="${PN/gnome-shell-extension-/}"
39 +MY_P="${MY_PN}-${PV}"
40 +DESCRIPTION="An icon taskbar for the Gnome Shell"
41 +HOMEPAGE="https://github.com/home-sweet-gnome/dash-to-panel"
42 +SRC_URI="
43 + https://github.com/home-sweet-gnome/${MY_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
44 + branding? ( https://www.mail-archive.com/tango-artists@×××××××××××××××××.org/msg00043/tango-gentoo-v1.1.tar.gz )
45 +"
46 +
47 +LICENSE="GPL-2+"
48 +SLOT="0"
49 +KEYWORDS="~amd64 ~x86"
50 +IUSE="branding"
51 +
52 +COMMON_DEPEND="dev-libs/glib:2"
53 +RDEPEND="${COMMON_DEPEND}
54 + app-eselect/eselect-gnome-shell-extensions
55 + >=gnome-base/gnome-shell-3.18.0
56 +"
57 +DEPEND="${COMMON_DEPEND}"
58 +BDEPEND="
59 + dev-util/intltool
60 + sys-devel/gettext
61 +"
62 +
63 +S="${WORKDIR}/${MY_P}"
64 +
65 +PATCHES=(
66 + # Enable by default custom opacity to get panel slightly transparent
67 + # as was done in older Gnome versions
68 + "${FILESDIR}"/${PN}-26-opacity.patch
69 +)
70 +
71 +src_prepare() {
72 + default
73 +
74 + # Set correct version
75 + export VERSION="${PV}"
76 +
77 + # Don't install README and COPYING in unwanted locations
78 + sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die
79 +
80 + # Provide fancy Gentoo icon when requested
81 + use branding && eapply "${FILESDIR}"/${PN}-26-branding.patch
82 +}
83 +
84 +src_install() {
85 + default
86 + if use branding; then
87 + insinto /usr/share/gnome-shell/extensions/dash-to-panel@×××××××××××××××.com/img
88 + doins "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg"
89 + fi
90 +}
91 +
92 +pkg_preinst() {
93 + gnome2_schemas_savelist
94 +}
95 +
96 +pkg_postinst() {
97 + gnome2_schemas_update
98 + ebegin "Updating list of installed extensions"
99 + eselect gnome-shell-extensions update
100 + eend $?
101 +}
102 +
103 +pkg_postrm() {
104 + gnome2_schemas_update
105 +}