From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7C0B0138346 for ; Tue, 7 Jan 2020 17:26:38 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4045CE08F9; Tue, 7 Jan 2020 17:26:36 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23A3AE08F9 for ; Tue, 7 Jan 2020 17:26:36 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 670F734DDDD for ; Tue, 7 Jan 2020 17:26:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 16EEF90 for ; Tue, 7 Jan 2020 17:26:32 +0000 (UTC) From: "Ben Kohler" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ben Kohler" Message-ID: <1578417868.d82e7f3c3326f1beb816ea6f442cc53c82d5c188.bkohler@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/chrome-gnome-shell/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild X-VCS-Directories: gnome-extra/chrome-gnome-shell/ X-VCS-Committer: bkohler X-VCS-Committer-Name: Ben Kohler X-VCS-Revision: d82e7f3c3326f1beb816ea6f442cc53c82d5c188 X-VCS-Branch: master Date: Tue, 7 Jan 2020 17:26:32 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b1a3017d-52f7-4f8e-aef8-29b0d1bb1c9c X-Archives-Hash: e9d6c204d79127701ab10429b3e6683a commit: d82e7f3c3326f1beb816ea6f442cc53c82d5c188 Author: Yuri Konotopov gnome org> AuthorDate: Tue Dec 10 15:24:30 2019 +0000 Commit: Ben Kohler gentoo org> CommitDate: Tue Jan 7 17:24:28 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d82e7f3c gnome-extra/chrome-gnome-shell: added python3_{7,8} targets Closes: https://bugs.gentoo.org/684988 Package-Manager: Portage-2.3.79, Repoman-2.3.16 Signed-off-by: Yuri Konotopov gnome.org> Signed-off-by: Ben Kohler gentoo.org> .../chrome-gnome-shell-10-r2.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild new file mode 100644 index 00000000000..cc94f8f1db7 --- /dev/null +++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r2.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python2_7 python3_{5,6,7,8} ) + +inherit cmake-utils python-single-r1 + +DESCRIPTION="GNOME Shell integration for Chrome/Chromium, Firefox, Vivaldi, Opera browsers" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome" +SRC_URI="mirror://gnome/sources/${PN}/${PV}/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~x86" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + app-misc/jq + sys-apps/coreutils +" +RDEPEND="${PYTHON_DEPS} + dev-python/pygobject:3[${PYTHON_USEDEP}] + dev-python/requests[${PYTHON_USEDEP}] + gnome-base/gnome-shell +" + +src_configure() { + local mycmakeargs=( -DBUILD_EXTENSION=OFF ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + if [[ $(get_libdir) != "lib" && "${SYMLINK_LIB}" != yes ]]; then + # Workaround www-client/firefox-bin manifests location + # Bug: https://bugs.gentoo.org/643522 + insinto /usr/lib/mozilla/native-messaging-hosts + doins "${ED}"/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json + fi +} + +pkg_postinst() { + elog "Please note that this package provides native messaging connector only." + elog "You can install browser extension using link provided at" + elog "https://extensions.gnome.org website." +}