diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 01:00:42 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-03-23 01:00:42 +0000 |
commit | 6c169675dd21d25ad82ab0560f3d5b1e714219b6 (patch) | |
tree | ed786201c471d4535a5eca3a754866a856812bcb /dev-libs/gjs | |
parent | 7fe6984499f95d52b3c32af6ab771aa8f08c2dd4 (diff) |
gentoo auto-resync : 23:03:2024 - 01:00:42
Diffstat (limited to 'dev-libs/gjs')
-rw-r--r-- | dev-libs/gjs/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/gjs/gjs-1.78.5.ebuild | 68 |
2 files changed, 70 insertions, 0 deletions
diff --git a/dev-libs/gjs/Manifest b/dev-libs/gjs/Manifest index b06470c8c941..411468c36c20 100644 --- a/dev-libs/gjs/Manifest +++ b/dev-libs/gjs/Manifest @@ -1,5 +1,7 @@ DIST gjs-1.78.1.tar.xz 654556 BLAKE2B 1d723ad2fd15e7ba6b9194cb90f0c0bc7b89c150604beb11ad95e1628ead2bea7ed8b423e1836736013a31e8ff8f3e2400458faa26dcc95d3a6dc36c65957583 SHA512 9a5d02bacbf82364cf5daa69d6613eb38ef34121eb350b2773b87cf1027ccc1b9905b651275fd71036817e710d834d356ee1cecac2f7c83ff571c39e98360286 DIST gjs-1.78.4.tar.xz 655220 BLAKE2B 0adcc3d0cc88a36b94b2113a6d88ded9be7fa034392fa38abb9ac22a962fb8601a76b6c886500e48c40fbe8708b3164b1d403dd83cd4e77358a4a020e8c15632 SHA512 a402050cee011a84f0ebb6b1512a2e681e792cf559b3182ece0868e57191be64337d6683ebcb8a7ee89ba79c12947a8cbca85f015c6015d26901352b5255c2c4 +DIST gjs-1.78.5.tar.xz 656168 BLAKE2B e1458d000998b66fda90e448ca487e591729e003c3e11a939dc474958b6de55783d41db8de5b243a329361f12acc15a8e84f4131650705becb046b68c54a24a2 SHA512 bb25e52dff53bfbde6d2329027d4ff68849740cf753da58f9bdf5a19ea7b029e2517d67978f461f16660dd1aa48b223798e9c0a24cde0ccb62060e4a0c83a02e EBUILD gjs-1.78.1.ebuild 1957 BLAKE2B 19fde0ff5de1a7a910e2231afb6adc97b71db7355cc74c3a62f7e4275d928710ed3001e117568ef674496a9688dd3f6a90fbea72fba94dddfea7f97af93c42e5 SHA512 5d4f165c38216bdc44fb80dc8c74521b6bad8b6307059132261de23749fef4e93f0d3b93092ee1b3f40e3e1657f2cc721d33232a65f54bd9f6c392d7724d1853 EBUILD gjs-1.78.4.ebuild 1963 BLAKE2B 9d19ebb0ed14d760355e592dd385449644dede3b512247017e0f1f5d516afdfb3c65767bce9275796500c070594e690ba0a29d0443fcd96687cb2b92b4e15667 SHA512 0a863ef3882f04c7b61a7d16d8382c5169f3b526876c6cd2517b397586672fb3b6d2df9c69b1861ced3c43880ce372fe6d33e6b9e53af23144455c8a0e6d84ed +EBUILD gjs-1.78.5.ebuild 1963 BLAKE2B 9d19ebb0ed14d760355e592dd385449644dede3b512247017e0f1f5d516afdfb3c65767bce9275796500c070594e690ba0a29d0443fcd96687cb2b92b4e15667 SHA512 0a863ef3882f04c7b61a7d16d8382c5169f3b526876c6cd2517b397586672fb3b6d2df9c69b1861ced3c43880ce372fe6d33e6b9e53af23144455c8a0e6d84ed MISC metadata.xml 473 BLAKE2B 0d57ec402b3daaa00af170335374e711150ecccd019aea100484079a055015f36119c4564ae2d95e82e4ac8d6de6d84b83379aedfdcbfb7aaabaa752b51d8203 SHA512 a4f99ef450b30c381845a774865b4e82b2a554cc7f0a2edba7002096563943b58b290f704210cc00ca0508cf6e81a11be2fa0c6402117d2b05f0e4eb2e03a0c2 diff --git a/dev-libs/gjs/gjs-1.78.5.ebuild b/dev-libs/gjs/gjs-1.78.5.ebuild new file mode 100644 index 000000000000..f9d52d43c6ba --- /dev/null +++ b/dev-libs/gjs/gjs-1.78.5.ebuild @@ -0,0 +1,68 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic gnome.org meson virtualx + +DESCRIPTION="Javascript bindings for GNOME" +HOMEPAGE="https://wiki.gnome.org/Projects/Gjs https://gitlab.gnome.org/GNOME/gjs" + +LICENSE="MIT || ( MPL-1.1 LGPL-2+ GPL-2+ )" +SLOT="0" +IUSE="+cairo examples readline sysprof test" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/glib-2.66.0:2 + dev-libs/libffi:= + >=dev-libs/gobject-introspection-1.71.1:= + dev-lang/spidermonkey:115 + cairo? ( x11-libs/cairo[X,glib] ) + readline? ( sys-libs/readline:0= ) +" +DEPEND="${RDEPEND} + sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 ) + test? ( + sys-apps/dbus + >=x11-libs/gtk+-3.20:3[introspection] + ) +" +BDEPEND=" + virtual/pkgconfig +" + +src_configure() { + append-cppflags -DG_DISABLE_CAST_CHECKS + + # On musl, it's required that either gjs, pixman or gnome-shell to be built + # with a larger stack otherwise librsvg fails to render a particular SVG, as + # a result we fail to get gdm or gnome-shell running (greeted with a fail + # whale screen). The bug has been reported to librsvg. This is ideally just + # a temporary workaround until we understand what exactly needs a larger + # stack size, as it's not sufficient to do just librsvg. + # + # Please refer to: + # https://gitlab.gnome.org/GNOME/librsvg/-/issues/686 + # https://gitlab.gnome.org/GNOME/librsvg/-/issues/874 + # + # TODO: Find an actual fix instead of increasing the stack + use elibc_musl && append-ldflags -Wl,-z,stack-size=2097152 + + # FIXME: add systemtap/dtrace support, like in glib:2 + 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) + -Db_pch=True # TODO this has to go + ) + meson_src_configure +} + +src_test() { + virtx meson_src_test +} |