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 36FDC138334 for ; Sat, 20 Apr 2019 23:25:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2CC2E08FE; Sat, 20 Apr 2019 23:20:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 A6E40E08D6 for ; Sat, 20 Apr 2019 23:20:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 9A28D341BA8 for ; Fri, 19 Apr 2019 12:52:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8C23157F for ; Fri, 19 Apr 2019 12:52:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1555678337.3d78ce7f7d4173f0cd57b958a5702ac5a63e44ec.mgorny@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-r1.ebuild X-VCS-Directories: gnome-extra/chrome-gnome-shell/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 3d78ce7f7d4173f0cd57b958a5702ac5a63e44ec X-VCS-Branch: master Date: Fri, 19 Apr 2019 12:52:23 +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: d03bb5ea-7fab-467e-a09b-5e3befeede0d X-Archives-Hash: 2ccdf42be49a22d6e7bf19337df05c10 commit: 3d78ce7f7d4173f0cd57b958a5702ac5a63e44ec Author: Yuri Konotopov gnome org> AuthorDate: Mon Nov 12 16:35:54 2018 +0000 Commit: Michał Górny gentoo org> CommitDate: Fri Apr 19 12:52:17 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d78ce7f gnome-extra/chrome-gnome-shell: properly support firefox-bin. www-client/firefox-bin is built on Debian host which doesn't have /usr/lib{32,64}, so it expects native host manifest in /usr/lib. With this change native host manifest will be additionally installed in /usr/lib when needed. Closes: https://bugs.gentoo.org/643522 Signed-off-by: Yuri Konotopov gnome.org> Closes: https://github.com/gentoo/gentoo/pull/10401 Signed-off-by: Michał Górny gentoo.org> .../chrome-gnome-shell-10-r1.ebuild | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild new file mode 100644 index 00000000000..5e66e29d679 --- /dev/null +++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python2_7 python3_{5,6} ) + +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 ~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." +}