Gentoo Archives: gentoo-commits

From: Patrice Clement <monsieurp@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/chrome-gnome-shell/
Date: Sat, 17 Feb 2018 15:26:24
Message-Id: 1518881167.f9bc326b3b44013adac3f8931443f656a3430806.monsieurp@gentoo
1 commit: f9bc326b3b44013adac3f8931443f656a3430806
2 Author: Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
3 AuthorDate: Sun Feb 4 20:09:44 2018 +0000
4 Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 17 15:26:07 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9bc326b
7
8 gnome-extra/chrome-gnome-shell: drop old.
9
10 Closes: https://github.com/gentoo/gentoo/pull/7076
11
12 gnome-extra/chrome-gnome-shell/Manifest | 1 -
13 .../chrome-gnome-shell-8.1.ebuild | 60 ----------------------
14 2 files changed, 61 deletions(-)
15
16 diff --git a/gnome-extra/chrome-gnome-shell/Manifest b/gnome-extra/chrome-gnome-shell/Manifest
17 index 186c298084f..138c6e028b7 100644
18 --- a/gnome-extra/chrome-gnome-shell/Manifest
19 +++ b/gnome-extra/chrome-gnome-shell/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST chrome-gnome-shell-8.1.tar.xz 145404 BLAKE2B a974b9068dafd58eefc16be10c5758cc52c57dc620247f8d6d2586b981354e63d5a390e543bd2a0afa89e9989b01b4097a701664408ac45db9966c08e6533396 SHA512 90fc047aece51e8cee24d65033db1f32f6ddb90d24a63127248b0dc824f26dab3a5cb169e179a17c7b26aacb7d8417101f5a7695c979417e9f8464a9672b34d2
22 DIST chrome-gnome-shell-8.tar.xz 143224 BLAKE2B 9dcb94f7dcc263c6cc332c476bd652b0ea62443ffb154f67ba869ddc970e892a28ef96be13732d49dfbf5c3db9c4c8fed18918359f240e6b1b6218fa3a2bd462 SHA512 61acd4b0564892667bd1468430ddfff4c0cfbe92b573d8b7e4c5448c25266bd0ee6e89e9bebe08553de4f9661ceeea46f5af38d980051491c40ed7deb24e3277
23 DIST chrome-gnome-shell-9.tar.xz 151984 BLAKE2B 884906a308d864893664f499172c130b6ab7cc3ae7a5746f7430f3d779f43320de723c9757fc4c8a9328704b2b5c40c8a829d74280ac78d4f09e000f593c3805 SHA512 b9b5f913a74bdfa641ce35c62f15aa1ceff37e6e0fef43c127ff8ba31933ba2d9c93ee50809b013336ec63ae1020d4e1cacd56d9a86204e1ba4c0bd1d8ed50cf
24
25 diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.1.ebuild b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.1.ebuild
26 deleted file mode 100644
27 index 212495f9a51..00000000000
28 --- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-8.1.ebuild
29 +++ /dev/null
30 @@ -1,60 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -
36 -PYTHON_COMPAT=( python2_7 python3_{4,5} )
37 -
38 -inherit cmake-utils python-single-r1
39 -
40 -DESCRIPTION="GNOME Shell integration for Chrome/Chromium, Firefox, Vivaldi, Opera browsers"
41 -HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome"
42 -SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.xz"
43 -
44 -LICENSE="GPL-3+"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE=""
48 -
49 -REQUIRED_USE="${PYTHON_REQUIRED_USE}"
50 -
51 -DEPEND="${PYTHON_DEPS}
52 - app-misc/jq
53 - sys-apps/coreutils
54 -"
55 -RDEPEND="${PYTHON_DEPS}
56 - dev-python/pygobject:3[${PYTHON_USEDEP}]
57 - dev-python/requests[${PYTHON_USEDEP}]
58 - gnome-base/gnome-shell
59 -"
60 -
61 -src_configure() {
62 - local mycmakeargs=( -DBUILD_EXTENSION=OFF )
63 - cmake-utils_src_configure
64 -}
65 -
66 -src_install() {
67 - # Chrome policy files should be removed with package.
68 - # Otherwise it will not be possible to uninstall web extension
69 - # from browser.
70 - echo -n "CONFIG_PROTECT_MASK=\"" > 50"${PN}" || die
71 - echo -n "/etc/chromium/policies/managed/${PN}.json " >> 50"${PN}" || die
72 - echo "/etc/opt/chrome/policies/managed/${PN}.json\"" >> 50"${PN}" || die
73 - doenvd 50"${PN}"
74 -
75 - cmake-utils_src_install
76 -}
77 -
78 -pkg_postinst() {
79 - elog "Please note that this package provides native messaging connector only."
80 - elog
81 - elog "Managed policy was installed to force browser extension installation"
82 - elog "for Google Chrome, Chromium and Vivaldi browsers from Chrome Store"
83 - elog "https://chrome.google.com/webstore/detail/gphhapmejobijbbhgpjhcjognlahblep"
84 - elog
85 - elog "For Mozilla Firefox you should manualy install browser extension from"
86 - elog "https://addons.mozilla.org/firefox/addon/gnome-shell-integration/"
87 - elog
88 - elog "For Opera you should manualy install browser extension from"
89 - elog "https://addons.opera.com/extensions/details/gnome-shell-integration/"
90 -}