1 |
commit: 78779bbfc179a1c7c7657f0a6363219e5e956e2b |
2 |
Author: Yuri Konotopov <ykonotopov <AT> gnome <DOT> org> |
3 |
AuthorDate: Wed Sep 7 08:15:36 2022 +0000 |
4 |
Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 1 19:23:15 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78779bbf |
7 |
|
8 |
gnome-extra/gnome-browser-connector: Version bump to 42.1 |
9 |
|
10 |
Signed-off-by: Yuri Konotopov <ykonotopov <AT> gnome.org> |
11 |
Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org> |
12 |
|
13 |
gnome-extra/gnome-browser-connector/Manifest | 1 + |
14 |
.../gnome-browser-connector-42.1.ebuild | 47 ++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/gnome-extra/gnome-browser-connector/Manifest b/gnome-extra/gnome-browser-connector/Manifest |
18 |
index 936d328e3861..a92104f90d2a 100644 |
19 |
--- a/gnome-extra/gnome-browser-connector/Manifest |
20 |
+++ b/gnome-extra/gnome-browser-connector/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST chrome-gnome-shell-10.tar.xz 158972 BLAKE2B fe4df942f885aee40d5c5e01dcd127a9deb46aeb57765336c91a7a9c56f7c953eb36d822ffa821300b99e3d765c1b162767fc5debc24e42a16bddb1404796c9c SHA512 cf0d108c3fb57deb4926a4cf043dd64d776eda4c01ec595a1472c6c45726b8460381b9bd7cb1b43d7a5bd8a585be0d1b648c720a2f0a7a377c133b8750e76cd6 |
23 |
+DIST gnome-browser-connector-42.1.tar.xz 26732 BLAKE2B e7236d01f8da7497ef7eecf750009f5c5b68688fcb756133d9a5a4d1e6c98bba4de258f7992c41e9060880b38f6f7f3354580bf8dec7afb33c50060ebb565a2f SHA512 f8f7c0e7f3fb6bd50eddc674c48f521d07aa03b5b36674e8dfcb6b6d8203bbdf4fc4de1f7cbbcc805a3da3cf098a27bda281b7a0ac5b98d7144dffe85698b7d7 |
24 |
DIST gnome-browser-connector-v42.0.tar.gz 29652 BLAKE2B 59dde83ea62c7eb8c71f2ea23b4ef0bc0a2178de2236e35b1d6abf7ec0671ef69e923656a9e6c8cecb239a34c0d3b147433e5fec92aeb2d28f7a30387fc91482 SHA512 8679349245bd8f5a29367316fb3cdbd13b4d5f3ed7c8adfc4d83973f86e15de8a1155dda1b155e20ed1a5dccdc7fbbbe22e0c454fcb15fd6cc073ce63ec4c59e |
25 |
|
26 |
diff --git a/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.1.ebuild b/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.1.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000000..6b5b05530200 |
29 |
--- /dev/null |
30 |
+++ b/gnome-extra/gnome-browser-connector/gnome-browser-connector-42.1.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+PYTHON_COMPAT=( python3_{8..11} ) |
37 |
+ |
38 |
+inherit gnome.org meson python-single-r1 xdg |
39 |
+ |
40 |
+DESCRIPTION="OS-native connector counterpart for GNOME Shell browser extension" |
41 |
+HOMEPAGE="https://wiki.gnome.org/Projects/GnomeShellIntegration" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" |
46 |
+ |
47 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
48 |
+ |
49 |
+DEPEND="${PYTHON_DEPS} |
50 |
+ $(python_gen_cond_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') |
51 |
+" |
52 |
+RDEPEND="${DEPEND} |
53 |
+ gnome-base/gnome-shell |
54 |
+" |
55 |
+ |
56 |
+src_install() { |
57 |
+ meson_src_install |
58 |
+ python_fix_shebang "${D}/usr/bin/${PN}" |
59 |
+ python_fix_shebang "${D}/usr/bin/${PN}-host" |
60 |
+ python_optimize |
61 |
+ |
62 |
+ if [[ $(get_libdir) != "lib" && "${SYMLINK_LIB}" != yes ]]; then |
63 |
+ # Workaround www-client/firefox-bin manifests location |
64 |
+ # Bug: https://bugs.gentoo.org/643522 |
65 |
+ insinto /usr/lib/mozilla/native-messaging-hosts |
66 |
+ for id in chrome_gnome_shell browser_connector; do |
67 |
+ doins "${ED}/usr/$(get_libdir)/mozilla/native-messaging-hosts/org.gnome.${id}.json" |
68 |
+ done |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ xdg_pkg_postinst |
74 |
+ |
75 |
+ elog "Please note that this package provides OS-native connector only." |
76 |
+ elog "You can install browser extension using link provided at" |
77 |
+ elog "https://extensions.gnome.org website." |
78 |
+} |