Сравнение gnome-browser-connector-10-r5 с gnome-browser-connector-42.1

/usr/portage/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.1.ebuild 2023-10-09 14:52:31.156368392 +0300
2 2
# Distributed under the terms of the GNU General Public License v2
3 3

  
4 4
EAPI=8
5
PYTHON_COMPAT=( python3_{9..11} )
5 6

  
6
PYTHON_COMPAT=( python3_{9..10} )
7
MY_PN="chrome-gnome-shell"
8
MY_P="${MY_PN}-${PV}"
9

  
10
inherit cmake python-single-r1
11

  
12
DESCRIPTION="GNOME Shell integration for Chrome/Chromium, Firefox, Vivaldi, Opera browsers"
13
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegrationForChrome"
14
SRC_URI="mirror://gnome/sources/${MY_PN}/${PV}/${MY_P}.tar.xz"
15
S="${WORKDIR}/${MY_P}"
7
inherit gnome.org meson python-single-r1 xdg
8

  
9
DESCRIPTION="OS-native connector counterpart for GNOME Shell browser extension"
10
HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegration"
16 11

  
17 12
LICENSE="GPL-3+"
18 13
SLOT="0"
19
KEYWORDS="amd64 ~arm arm64 ~ppc64 x86"
20
IUSE=""
14
KEYWORDS="amd64 ~arm arm64 ~loong ~ppc64 x86"
21 15

  
22 16
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
23 17

  
24
DEPEND="${PYTHON_DEPS}"
25
RDEPEND="${PYTHON_DEPS}
26
	$(python_gen_cond_dep '
27
		dev-python/pygobject:3[${PYTHON_USEDEP}]
28
		dev-python/requests[${PYTHON_USEDEP}]
29
	')
30
	gnome-base/gnome-shell
18
DEPEND="${PYTHON_DEPS}
19
	$(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]')
31 20
"
32
BDEPEND="
33
	app-misc/jq
34
	sys-apps/coreutils
21
RDEPEND="${DEPEND}
22
	gnome-base/gnome-shell
35 23
"
36 24

  
37
src_configure() {
38
	local mycmakeargs=( -DBUILD_EXTENSION=OFF )
39
	cmake_src_configure
40
}
41

  
42 25
src_install() {
43
	cmake_src_install
26
	meson_src_install
27
	python_fix_shebang "${D}/usr/bin/${PN}"
28
	python_fix_shebang "${D}/usr/bin/${PN}-host"
29
	python_optimize
44 30

  
45 31
	if [[ $(get_libdir) != "lib" && "${SYMLINK_LIB}" != yes ]]; then
46 32
		# Workaround www-client/firefox-bin manifests location
47 33
		# Bug: https://bugs.gentoo.org/643522
48 34
		insinto /usr/lib/mozilla/native-messaging-hosts
49
		doins "${ED}"/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.chrome_gnome_shell.json
35
		for id in chrome_gnome_shell browser_connector; do
36
			doins "${ED}/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.${id}.json"
37
		done
50 38
	fi
51 39
}
52 40

  
53 41
pkg_postinst() {
54
	elog "Please note that this package provides native messaging connector only."
42
	xdg_pkg_postinst
43

  
44
	elog "Please note that this package provides OS-native connector only."
55 45
	elog "You can install browser extension using link provided at"
56 46
	elog "https://extensions.gnome.org website."
57 47
}
Спасибо!