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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 26830158094 for ; Sat, 23 Jul 2022 20:14:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 20E8BE08FF; Sat, 23 Jul 2022 20:14:39 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id F3785E08FF for ; Sat, 23 Jul 2022 20:14:38 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E045D340FC5 for ; Sat, 23 Jul 2022 20:14:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27D12548 for ; Sat, 23 Jul 2022 20:14:35 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1658607247.7b0ec8a96d8405d885f8df86ec232af1561ce3cd.mattst88@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-browser-connector/ X-VCS-Repository: repo/gentoo X-VCS-Files: gnome-extra/gnome-browser-connector/Manifest gnome-extra/gnome-browser-connector/gnome-browser-connector-42.0.ebuild X-VCS-Directories: gnome-extra/gnome-browser-connector/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 7b0ec8a96d8405d885f8df86ec232af1561ce3cd X-VCS-Branch: master Date: Sat, 23 Jul 2022 20:14:35 +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: 73a184bc-a164-404f-b7a6-d5487a07a8b8 X-Archives-Hash: b6a6ce7b5bd8999a0e379058e07db922 commit: 7b0ec8a96d8405d885f8df86ec232af1561ce3cd Author: Yuri Konotopov gnome org> AuthorDate: Sat Jul 23 09:36:46 2022 +0000 Commit: Matt Turner gentoo org> CommitDate: Sat Jul 23 20:14:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b0ec8a9 gnome-extra/gnome-browser-connector: Version bump to 42.0 Closes: https://github.com/gentoo/gentoo/pull/26537 Signed-off-by: Yuri Konotopov gnome.org> Signed-off-by: Matt Turner gentoo.org> gnome-extra/gnome-browser-connector/Manifest | 1 + .../gnome-browser-connector-42.0.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/gnome-extra/gnome-browser-connector/Manifest b/gnome-extra/gnome-browser-connector/Manifest index 12fb12f3debb..936d328e3861 100644 --- a/gnome-extra/gnome-browser-connector/Manifest +++ b/gnome-extra/gnome-browser-connector/Manifest @@ -1 +1,2 @@ DIST chrome-gnome-shell-10.tar.xz 158972 BLAKE2B fe4df942f885aee40d5c5e01dcd127a9deb46aeb57765336c91a7a9c56f7c953eb36d822ffa821300b99e3d765c1b162767fc5debc24e42a16bddb1404796c9c SHA512 cf0d108c3fb57deb4926a4cf043dd64d776eda4c01ec595a1472c6c45726b8460381b9bd7cb1b43d7a5bd8a585be0d1b648c720a2f0a7a377c133b8750e76cd6 +DIST gnome-browser-connector-v42.0.tar.gz 29652 BLAKE2B 59dde83ea62c7eb8c71f2ea23b4ef0bc0a2178de2236e35b1d6abf7ec0671ef69e923656a9e6c8cecb239a34c0d3b147433e5fec92aeb2d28f7a30387fc91482 SHA512 8679349245bd8f5a29367316fb3cdbd13b4d5f3ed7c8adfc4d83973f86e15de8a1155dda1b155e20ed1a5dccdc7fbbbe22e0c454fcb15fd6cc073ce63ec4c59e diff --git a/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.0.ebuild b/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.0.ebuild new file mode 100644 index 000000000000..cfe911015f90 --- /dev/null +++ b/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.0.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..11} ) + +inherit meson python-single-r1 xdg + +DESCRIPTION="OS-native connector counterpart for GNOME Shell browser extension" +HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegration" +SRC_URI="https://gitlab.gnome.org/nE0sIghT/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.gz" +S="${WORKDIR}/${PN}-v${PV}" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +DEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') +" +RDEPEND="${DEPEND} + gnome-base/gnome-shell +" + +src_install() { + meson_src_install + python_fix_shebang "${D}/usr/bin/${PN}" + python_fix_shebang "${D}/usr/bin/${PN}-host" + python_optimize + + 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 + for id in chrome_gnome_shell browser_connector; do + doins "${ED}/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.${id}.json" + done + fi +} + +pkg_postinst() { + xdg_pkg_postinst + + elog "Please note that this package provides OS-native connector only." + elog "You can install browser extension using link provided at" + elog "https://extensions.gnome.org website." +}