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: Thu, 16 Mar 2023 12:18:07
Message-Id: 1678969051.4e806a8c7fc38a757631153600b9a8b6db675326.pacho@gentoo
1 commit: 4e806a8c7fc38a757631153600b9a8b6db675326
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 16 11:39:41 2023 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 16 12:17:31 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e806a8c
7
8 gnome-extra/gnome-shell-extension-dash-to-panel: add 55
9
10 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
11
12 .../gnome-shell-extension-dash-to-panel/Manifest | 1 +
13 .../gnome-shell-extension-dash-to-panel-55.ebuild | 74 ++++++++++++++++++++++
14 2 files changed, 75 insertions(+)
15
16 diff --git a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
17 index c1fb0697a406..4f8b1cdfef6e 100644
18 --- a/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
19 +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gnome-shell-extension-dash-to-panel-52.tar.gz 21167738 BLAKE2B d3a53daf218f9c9e5eebdaa94c86e31d2eff54ec46ea1d31d31967f431b3d40f5a5349e9d8d9ea4cc31a780cd4683a25edfaf2917f4754c3ded291ee1655208a SHA512 be7b650c7cc2d91fe1dd5d58165fc485e3d19112821529ab4ed34bb2c957e9b14199eab3dbc372c54d1726fc8fa44053f8288b18849629066c2f4094255ed0ac
22 DIST gnome-shell-extension-dash-to-panel-53.tar.gz 21206375 BLAKE2B 53c5a9de423924c50734ad4a9d2c9363aebbf14fc63f59e1f15c39e4a3e88f73828c57695c115ac2a2f0c9d79e1de264b1bffda8f05331fe3bbff15b1aee53c5 SHA512 aec7fea713ab7ed2b2ccf21ca8b01794401265435b6a3836843337155776869fe22a5a8659f95c8a7d4d20b6e3b5710824e8e805fa46440c354cd99f4694bb3c
23 +DIST gnome-shell-extension-dash-to-panel-55.tar.gz 21206159 BLAKE2B 76a3f0b9ba90b84ff175f48d0896cb5e0db55bcac242a8581801bae0a755be98384408a3c55d0057121d1bd97df3006a7c3c5ca7fd615fd623ca69f794bb5750 SHA512 a3aa47c6c881a2adc1498a84b1592e0d4b0782bfbc59e9d1a08916ccc75304625d875c3ba59908a2bcacd386941ec3ffe9d0c4f842d77b85b4073e327b6803c0
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-55.ebuild b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild
27 new file mode 100644
28 index 000000000000..e52e3ff25663
29 --- /dev/null
30 +++ b/gnome-extra/gnome-shell-extension-dash-to-panel/gnome-shell-extension-dash-to-panel-55.ebuild
31 @@ -0,0 +1,74 @@
32 +# Copyright 1999-2023 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
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 ~ppc64 ~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-42
56 +"
57 +DEPEND="${COMMON_DEPEND}"
58 +BDEPEND="
59 + dev-util/intltool
60 + sys-devel/gettext
61 +"
62 +
63 +S="${WORKDIR}/${MY_P}"
64 +extension_uuid="dash-to-panel@×××××××××××××××.com"
65 +
66 +src_prepare() {
67 + default
68 +
69 + # Set correct version
70 + export VERSION="${PV}"
71 +
72 + # Don't install README and COPYING in unwanted locations
73 + sed -i -e 's/COPYING//g' -e 's/README.md//g' Makefile || die
74 +
75 + # Provide fancy Gentoo icon when requested
76 + use branding && eapply "${FILESDIR}"/${PN}-26-branding.patch
77 +}
78 +
79 +src_install() {
80 + default
81 + if use branding; then
82 + insinto /usr/share/gnome-shell/extensions/dash-to-panel@×××××××××××××××.com/img
83 + doins "${WORKDIR}/tango-gentoo-v1.1/scalable/gentoo.svg"
84 + fi
85 +
86 + # Install schemas system-wide
87 + dodir /usr/share/glib-2.0/schemas
88 + mv "${ED}/usr/share/gnome-shell/extensions/${extension_uuid}"/schemas/ "${ED}/usr/share/glib-2.0" || die
89 + rm "${ED}/usr/share/glib-2.0/schemas/gschemas.compiled" || die
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 +}