1 |
commit: 183c0a3a83a2f8ab0d7278b6d961733e108d9752 |
2 |
Author: Matthew S. Turnbull <sparky <AT> bluefang-logic <DOT> com> |
3 |
AuthorDate: Tue Dec 28 06:58:22 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Jan 21 17:14:55 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=183c0a3a |
7 |
|
8 |
gnome-extra/cjs: 5.2.0 version bump |
9 |
|
10 |
Add Python 3.10 support. |
11 |
|
12 |
Bug: https://bugs.gentoo.org/831754 |
13 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
14 |
Signed-off-by: Matthew S. Turnbull <sparky <AT> bluefang-logic.com> |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
gnome-extra/cjs/Manifest | 1 + |
18 |
gnome-extra/cjs/cjs-5.2.0.ebuild | 77 ++++++++++++++++++++++++++++++++++++++++ |
19 |
2 files changed, 78 insertions(+) |
20 |
|
21 |
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest |
22 |
index e1ed405bf2db..fc9f06a925ba 100644 |
23 |
--- a/gnome-extra/cjs/Manifest |
24 |
+++ b/gnome-extra/cjs/Manifest |
25 |
@@ -1 +1,2 @@ |
26 |
DIST cjs-5.0.1.tar.gz 602005 BLAKE2B 7592b5b0be8fed1efc9fe1c7baca081515b8010935e24ba0cb1e30ce78890941f5c3b2384ee3846a02c3ba5a50c6d6ce5df232f02507743cf15ac089e29d7f23 SHA512 a341e8deae33baf51ed21ea0b03484ba459d83be8689f3928acbd286ebe878719cdd6b4c576907b08b117b3c5738a11f95d0e37ae21f94ae6b88631fad5d3375 |
27 |
+DIST cjs-5.2.0.tar.gz 601982 BLAKE2B 99fe183add425e5178863aa6b0af6aa0579de0dabee72ad9bcc86e2edf0ad13093ce659ac60ed365edb33ff1eb54d54766a7e0df1a65aa64b7da34e5559297c7 SHA512 0ce5cc07be036fa9af93c7d98a179881789f883578a2034c3c28255ef9da96d32b4203fc39311eaea0bdbe5148f13920d72dd24acb717c4e60302b390097a825 |
28 |
|
29 |
diff --git a/gnome-extra/cjs/cjs-5.2.0.ebuild b/gnome-extra/cjs/cjs-5.2.0.ebuild |
30 |
new file mode 100644 |
31 |
index 000000000000..0cf34e53e088 |
32 |
--- /dev/null |
33 |
+++ b/gnome-extra/cjs/cjs-5.2.0.ebuild |
34 |
@@ -0,0 +1,77 @@ |
35 |
+# Copyright 1999-2021 Gentoo Authors |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=7 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python3_{7,8,9,10} ) |
41 |
+ |
42 |
+inherit meson pax-utils python-any-r1 virtualx |
43 |
+ |
44 |
+DESCRIPTION="Linux Mint's fork of gjs for Cinnamon" |
45 |
+HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cjs" |
46 |
+SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" |
49 |
+SLOT="0" |
50 |
+IUSE="+cairo examples gtk readline sysprof test" |
51 |
+KEYWORDS="~amd64 ~arm64 ~riscv ~x86" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ dev-lang/spidermonkey:78 |
55 |
+ >=dev-libs/glib-2.58.0:2 |
56 |
+ >=dev-libs/gobject-introspection-1.58.3:= |
57 |
+ >=dev-libs/libffi-3.2.1:0= |
58 |
+ |
59 |
+ cairo? ( x11-libs/cairo[glib,X] ) |
60 |
+ readline? ( sys-libs/readline:0= ) |
61 |
+" |
62 |
+DEPEND=" |
63 |
+ ${RDEPEND} |
64 |
+ sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) |
65 |
+ test? ( |
66 |
+ sys-apps/dbus |
67 |
+ |
68 |
+ gtk? ( x11-libs/gtk+:3[introspection] ) |
69 |
+ ) |
70 |
+" |
71 |
+BDEPEND=" |
72 |
+ ${PYTHON_DEPS} |
73 |
+ virtual/pkgconfig |
74 |
+" |
75 |
+ |
76 |
+PATCHES=( |
77 |
+ "${FILESDIR}/cjs-5.0.1-meson-0.60.2.patch" |
78 |
+) |
79 |
+ |
80 |
+src_prepare() { |
81 |
+ default |
82 |
+ python_fix_shebang build |
83 |
+} |
84 |
+ |
85 |
+src_configure() { |
86 |
+ local emesonargs=( |
87 |
+ $(meson_feature cairo) |
88 |
+ $(meson_feature readline) |
89 |
+ $(meson_feature sysprof profiler) |
90 |
+ -Dinstalled_tests=false |
91 |
+ $(meson_use !test skip_dbus_tests) |
92 |
+ $(meson_use !test skip_gtk_tests) |
93 |
+ ) |
94 |
+ meson_src_configure |
95 |
+} |
96 |
+ |
97 |
+src_test() { |
98 |
+ virtx meson_src_test |
99 |
+} |
100 |
+ |
101 |
+src_install() { |
102 |
+ meson_src_install |
103 |
+ |
104 |
+ if use examples; then |
105 |
+ docinto examples |
106 |
+ dodoc "${S}"/examples/* |
107 |
+ fi |
108 |
+ |
109 |
+ # Required for cjs-console to run correctly on PaX systems |
110 |
+ pax-mark mr "${ED}/usr/bin/cjs-console" |
111 |
+} |