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