diff options
author | Yuri Konotopov <ykonotopov@gnome.org> | 2022-07-23 13:21:24 +0400 |
---|---|---|
committer | Matt Turner <mattst88@gentoo.org> | 2022-07-23 16:14:07 -0400 |
commit | 03c42903c33db440fd283aa7a4d8d4e50b174561 (patch) | |
tree | 1690ef709afda67fc4f77c4fd3206c262d4c244c /gnome-extra/gnome-browser-connector | |
parent | app-benchmarks/pipebench: EAPI8, minor improvements (diff) | |
download | gentoo-03c42903c33db440fd283aa7a4d8d4e50b174561.tar.gz gentoo-03c42903c33db440fd283aa7a4d8d4e50b174561.tar.bz2 gentoo-03c42903c33db440fd283aa7a4d8d4e50b174561.zip |
gnome-extra/gnome-browser-connector: Move from gnome-extra/chrome-gnome-shell
Signed-off-by: Yuri Konotopov <ykonotopov@gnome.org>
Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'gnome-extra/gnome-browser-connector')
3 files changed, 73 insertions, 0 deletions
diff --git a/gnome-extra/gnome-browser-connector/Manifest b/gnome-extra/gnome-browser-connector/Manifest new file mode 100644 index 000000000000..12fb12f3debb --- /dev/null +++ b/gnome-extra/gnome-browser-connector/Manifest @@ -0,0 +1 @@ +DIST chrome-gnome-shell-10.tar.xz 158972 BLAKE2B fe4df942f885aee40d5c5e01dcd127a9deb46aeb57765336c91a7a9c56f7c953eb36d822ffa821300b99e3d765c1b162767fc5debc24e42a16bddb1404796c9c SHA512 cf0d108c3fb57deb4926a4cf043dd64d776eda4c01ec595a1472c6c45726b8460381b9bd7cb1b43d7a5bd8a585be0d1b648c720a2f0a7a377c133b8750e76cd6 diff --git a/gnome-extra/gnome-browser-connector/gnome-browser-connector-10-r5.ebuild b/gnome-extra/gnome-browser-connector/gnome-browser-connector-10-r5.ebuild new file mode 100644 index 000000000000..950eda443d11 --- /dev/null +++ b/gnome-extra/gnome-browser-connector/gnome-browser-connector-10-r5.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +MY_PN="chrome-gnome-shell" +MY_P="${MY_PN}-${PV}" + +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/${MY_PN}/${PV}/${MY_P}.tar.xz" +S="${WORKDIR}/${MY_P}" + +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." +} diff --git a/gnome-extra/gnome-browser-connector/metadata.xml b/gnome-extra/gnome-browser-connector/metadata.xml new file mode 100644 index 000000000000..69a4f4e1a20c --- /dev/null +++ b/gnome-extra/gnome-browser-connector/metadata.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person" proxied="yes"> + <email>ykonotopov@gnome.org</email> + <name>Yuri Konotopov</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <upstream> + <bugs-to>https://gitlab.gnome.org/nE0sIghT/gnome-browser-connector/-/issues</bugs-to> + </upstream> +</pkgmetadata> |