diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-29 18:03:51 +0000 |
commit | d7ed2b01311f15ba54fe8ea872aab7d59ab2b193 (patch) | |
tree | 1814dd2b5bbf2e7639fdafbeef48d228cfaf5e9b /gnome-extra/cjs | |
parent | abaa75b10f899ada8dd05b23cc03205064394bc6 (diff) |
gentoo resync : 29.01.2021
Diffstat (limited to 'gnome-extra/cjs')
-rw-r--r-- | gnome-extra/cjs/Manifest | 4 | ||||
-rw-r--r-- | gnome-extra/cjs/cjs-4.8.2.ebuild | 65 | ||||
-rw-r--r-- | gnome-extra/cjs/metadata.xml | 3 |
3 files changed, 71 insertions, 1 deletions
diff --git a/gnome-extra/cjs/Manifest b/gnome-extra/cjs/Manifest index b28330432700..e0456c0cc0fb 100644 --- a/gnome-extra/cjs/Manifest +++ b/gnome-extra/cjs/Manifest @@ -1,3 +1,5 @@ DIST cjs-4.6.0.tar.gz 463060 BLAKE2B 466f807539ea95eece8b468287582f2c085ce86a63cf37ed1489f6ed20c98dfcb7028c7679102526009b71aba7d737f6f56c9544bc926fbf5a0be540afeaee53 SHA512 b7b457b43b756918670c9acc1064fc5b424d7bb7ab826ec207595c98159f407411ceb6d3043d305570f21f7675e1b699d7e95466688835034e178e079e118dfe +DIST cjs-4.8.2.tar.gz 600711 BLAKE2B d1506e599c05301083479df4145d3177c9cbb057d3ed260e9744994da70fe392eb2cd872dc00b1ef6269efe9442e32e16878ba975f57f1abc35851cb15e7bb97 SHA512 c607198847a3229443bbfa6906b05036295b6d7f95d3b355780b28e69382407a8f6ef5f637f411fbf2ae474c4c7c5f68f64fec6dd7a2e7f944945927f5efac91 EBUILD cjs-4.6.0.ebuild 1693 BLAKE2B 0e85f00c9a38a3b83231a5770ea9e906fd3754de9a78c70ccb05f9be4764c4764335c8af557dcf18f1caccbe2cd5d734f5553c1668d0f53b59c478a3b2112fbe SHA512 9a84918c0453f47af3e65400dfd9ff8b021e94f289d402888b06b0639135588649625e73ba1e086a07011ec9ceb3018a0a2d631f55d4ff3840c21b2cb3a12aa7 -MISC metadata.xml 452 BLAKE2B 14171fbd087539a58381694472c27a76b85400df2a910427386755db2418ffe514ad17df2058d67e454fbe9c720793664556df787a7008341530b8b52763b553 SHA512 370917c429954d9a72be84416b7a3675f54b355a0093cf138796dec8f94e55a8f127e96456b2a5025ceb93d4bcc14e378c9f78e3d6a43a3be1e61a46e70fc38a +EBUILD cjs-4.8.2.ebuild 1383 BLAKE2B 87d62b29c5b744834cc6020bdf11722695e27b66d3646a8c9d2f0d3188ff911d82d10eb0add33ed446add1d389cba985c973f00621c830813e9a126b65be9632 SHA512 030b1363087aeac571d7e422dc8ece1672b025de2792523ccc0fbb6c6b5f106557023a0f14b7594d5729c6be3ede07b151fc11cb5d7f7f464cddb6a880ba931d +MISC metadata.xml 577 BLAKE2B 7b78b21cf3c8fa925625a56ece9a134b4c3ce3d40a8ab2dc33449c0fc37702ba6284c95f21404a864ff920b3fee2e53a5dcf85ed03b5f72fca4c8bfb32d3ef65 SHA512 e7524b00348868c07b931d72bf765f5d1690ca8c273c5d9a61123f78e57fd5d0680efc8074c6ef19322047fe9d26b8d7de843260dcf745006e585dd990c37c47 diff --git a/gnome-extra/cjs/cjs-4.8.2.ebuild b/gnome-extra/cjs/cjs-4.8.2.ebuild new file mode 100644 index 000000000000..2daead9e520a --- /dev/null +++ b/gnome-extra/cjs/cjs-4.8.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson pax-utils virtualx + +DESCRIPTION="Linux Mint's fork of gjs for Cinnamon" +HOMEPAGE="https://projects.linuxmint.com/cinnamon/ https://github.com/linuxmint/cjs" +SRC_URI="https://github.com/linuxmint/cjs/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples gtk readline sysprof test" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + dev-lang/spidermonkey:78 + >=dev-libs/glib-2.58.0:2 + >=dev-libs/gobject-introspection-1.58.3:= + >=dev-libs/libffi-3.2.1:0= + + cairo? ( x11-libs/cairo[glib,X] ) + readline? ( sys-libs/readline:0= ) +" +DEPEND=" + ${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.38.1:4 ) + test? ( + sys-apps/dbus + + gtk? ( x11-libs/gtk+:3[introspection] ) + ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + local emesonargs=( + $(meson_feature cairo) + $(meson_feature readline) + $(meson_feature sysprof profiler) + -Dinstalled_tests=false + $(meson_use !test skip_dbus_tests) + $(meson_use !test skip_gtk_tests) + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} + +src_install() { + meson_src_install + + if use examples; then + docinto examples + dodoc "${S}"/examples/* + fi + + # Required for cjs-console to run correctly on PaX systems + pax-mark mr "${ED}/usr/bin/cjs-console" +} diff --git a/gnome-extra/cjs/metadata.xml b/gnome-extra/cjs/metadata.xml index 5951e2df228d..3964c39d71af 100644 --- a/gnome-extra/cjs/metadata.xml +++ b/gnome-extra/cjs/metadata.xml @@ -12,4 +12,7 @@ <upstream> <remote-id type="github">linuxmint/cjs</remote-id> </upstream> + <use> + <flag name="sysprof">Enable profiling data capture support using <pkg>dev-util/sysprof-capture</pkg></flag> + </use> </pkgmetadata> |