public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/chrome-gnome-shell/
Date: Fri, 11 Mar 2022 16:16:33 +0000 (UTC)	[thread overview]
Message-ID: <1647015383.32d820b41e659459f9f8e830bc15decc580159fe.sam@gentoo> (raw)

commit:     32d820b41e659459f9f8e830bc15decc580159fe
Author:     Yuri Konotopov <ykonotopov <AT> gnome <DOT> org>
AuthorDate: Fri Mar 11 15:41:57 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Mar 11 16:16:23 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32d820b4

gnome-extra/chrome-gnome-shell: move to cmake.eclass and update to EAPI-8

Bug: https://bugs.gentoo.org/834118
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org>
Closes: https://github.com/gentoo/gentoo/pull/24492
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../chrome-gnome-shell-10-r5.ebuild                | 54 ++++++++++++++++++++++
 1 file changed, 54 insertions(+)

diff --git a/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r5.ebuild b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r5.ebuild
new file mode 100644
index 000000000000..1e973b982b02
--- /dev/null
+++ b/gnome-extra/chrome-gnome-shell/chrome-gnome-shell-10-r5.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake 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="~amd64 ~arm ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}"
+RDEPEND="${PYTHON_DEPS}
+	$(python_gen_cond_dep '
+		dev-python/pygobject:3[${PYTHON_USEDEP}]
+		dev-python/requests[${PYTHON_USEDEP}]
+	')
+	gnome-base/gnome-shell
+"
+BDEPEND="
+	app-misc/jq
+	sys-apps/coreutils
+"
+
+src_configure() {
+	local mycmakeargs=( -DBUILD_EXTENSION=OFF )
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_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."
+}


             reply	other threads:[~2022-03-11 16:16 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11 16:16 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2022-03-13 17:26 [gentoo-commits] repo/gentoo:master commit in: gnome-extra/chrome-gnome-shell/ Sam James
2022-03-13 17:26 Sam James
2022-03-13 11:54 Jakov Smolić
2022-03-12 12:08 Jakov Smolić
2021-12-28  3:11 Georgy Yakovlev
2021-03-04  0:23 Sam James
2021-02-25 12:02 Ben Kohler
2021-01-01  0:59 Michał Górny
2020-04-25 21:14 Mart Raudsepp
2020-04-25 18:04 Matt Turner
2020-02-10 11:54 Michał Górny
2020-02-09 16:25 Michał Górny
2020-01-07 17:34 Ben Kohler
2020-01-07 17:26 Ben Kohler
2019-08-03 19:04 Aaron Bauman
2019-06-20  9:20 Mikle Kolyada
2019-04-19 12:52 Michał Górny
2018-11-18  9:51 Mikle Kolyada
2018-10-16  9:18 Tobias Klausmann
2018-04-25 20:27 Thomas Deutschmann
2018-04-06 14:43 Aaron Bauman
2018-02-17 15:26 Patrice Clement
2018-02-17 15:26 Patrice Clement
2017-09-17 11:42 Sergei Trofimovich
2017-09-17 11:14 Sergei Trofimovich
2017-07-10  7:08 Sergei Trofimovich
2017-04-26 21:03 Patrice Clement
2017-04-26 21:03 Patrice Clement
2017-03-02 10:41 Agostino Sarubbo
2017-03-02 10:40 Agostino Sarubbo
2017-02-18  4:37 Michael Palimaka
2017-01-26  3:14 Mart Raudsepp
2017-01-25 11:03 Mikhail Pukhlikov
2017-01-18 10:18 David Seifert
2017-01-04 23:18 Patrice Clement
2016-09-26 11:25 Patrice Clement
2016-09-17 14:44 Patrice Clement
2016-08-07 20:43 Patrice Clement
2016-05-18  6:30 Ian Delaney

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1647015383.32d820b41e659459f9f8e830bc15decc580159fe.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox