summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Konotopov <ykonotopov@gmail.com>2016-09-10 11:59:43 +0300
committerPatrice Clement <monsieurp@gentoo.org>2016-09-17 16:44:31 +0200
commit9a6b733e64a7258aa86e721457eaf0893cb6441d (patch)
tree21b3f196e9e29edd7311faf014acbe641e8569b5 /gnome-extra/chrome-gnome-shell
parentsys-apps/baselayout-java: update HOMEPAGE and Copyright year. (diff)
downloadgentoo-9a6b733e64a7258aa86e721457eaf0893cb6441d.tar.gz
gentoo-9a6b733e64a7258aa86e721457eaf0893cb6441d.tar.bz2
gentoo-9a6b733e64a7258aa86e721457eaf0893cb6441d.zip
gnome-extra/chrome-gnome-shell: version bump, remove old.
Closes: https://github.com/gentoo/gentoo/pull/2252 Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'gnome-extra/chrome-gnome-shell')
-rw-r--r--gnome-extra/chrome-gnome-shell/Manifest2
-rw-r--r--gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.ebuild (renamed from gnome-extra/chrome-gnome-shell/chrome-gnome-shell-6.2.ebuild)20
2 files changed, 17 insertions, 5 deletions
diff --git a/gnome-extra/chrome-gnome-shell/Manifest b/gnome-extra/chrome-gnome-shell/Manifest
index 296c9c57d6b..30a48101fc0 100644
--- a/gnome-extra/chrome-gnome-shell/Manifest
+++ b/gnome-extra/chrome-gnome-shell/Manifest
@@ -1 +1 @@
-DIST chrome-gnome-shell-6.2.tar.xz 74668 SHA256 8686e464b1eb85e8f917607b0cd764e92a06bc9c6108e17dba6b71f058a41fe5 SHA512 8a4cf249bab8bea4551771c60f8afd16bb7ef2947f49f7abcdeb09d19305ce9d94da2b239ed38ae07da6e3a6b52c50c5562365df0573b6c7641980a2a24da9c9 WHIRLPOOL 3bf4240383dba35f6695c7e6744aaf5d98749e6d53f34ad9c0de7790c105978d96e58c7818c1a43597b63036cdae7a25842bf20b2b565af9f101d444eeb88682
+DIST chrome-gnome-shell-7.tar.xz 95952 SHA256 c91ff43ed959ed07dc0cc29b20ab21d7f0f2c3b7a49e32d2d45f361357d748f3 SHA512 cc57b9398d612a153dbc67eeb48ed3ef943985e4376b59bf683b20d230d4dd28394c2ae3b587ce3b39b9fcfeb56779473f23f27a06f7d8523f732b1e88cc6701 WHIRLPOOL 5181adf2d9e86fb314fa8bf184badc59823e66494ef0005aec7e6d4573f17eac8980c4fc4f4ad79796b36a8a7e3f08eb6d6aaec2bafdac85ed49cc09f5d65c52
diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-6.2.ebuild b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.ebuild
index 0d03946d399..69e17ffb715 100644
--- a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-6.2.ebuild
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-7.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python2_7 python3_{3,4,5} )
inherit cmake-utils python-single-r1
-DESCRIPTION="Provides integration with GNOME Shell extensions repository for Chrome browser"
+DESCRIPTION="GNOME Shell integration for Chrome/Chromium, Vivaldi, Opera browsers"
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome"
SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.xz"
@@ -19,15 +19,27 @@ IUSE=""
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+DEPEND="${PYTHON_DEPS}
+ sys-apps/coreutils
+"
RDEPEND="${PYTHON_DEPS}
dev-python/pygobject:3[${PYTHON_USEDEP}]
gnome-base/gnome-shell
"
src_configure() {
- python_setup
- python_fix_shebang ./connector
-
local mycmakeargs=( -DBUILD_EXTENSION=OFF )
cmake-utils_src_configure
}
+
+src_install() {
+ # Chrome policy files should be removed with package.
+ # Otherwise it will not be possible to uninstall web extension
+ # from browser.
+ echo -n "CONFIG_PROTECT_MASK=\"" > 50"${PN}" || die
+ echo -n "/etc/chromium/policies/managed/${PN}.json " >> 50"${PN}" || die
+ echo "/etc/opt/chrome/policies/managed/${PN}.json\"" >> 50"${PN}" || die
+ doenvd 50"${PN}"
+
+ cmake-utils_src_install
+}