mirror of
https://anongit.gentoo.org/git/repo/gentoo.git
synced 2026-05-06 07:27:03 -04:00
gnome-extra/cjs: drop 128.0
Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com> Part-of: https://github.com/gentoo/gentoo/pull/46141 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
067af298d1
commit
e69859a17e
@@ -1,2 +1 @@
|
||||
DIST cjs-128.0.tar.gz 981542 BLAKE2B d4b516a8d02fcb297f23f277d8ac12f7cf3c8bf0eec41d22e01ea4ffd3995aedc1b20a173d44c3fc6827e4cb3366c277347fcd11e6362a66d682c47919f84fec SHA512 e7ad28a085788f05bc40dd8a86799c068e54e25d7ed349a610a8935c9de3bc556b72e4b7b2c158f84a4a62a4b10789a3b812ca9e3ae2b3e1b1db471e91ddee97
|
||||
DIST cjs-128.1.tar.gz 984034 BLAKE2B 4b6d0c4d5bb92e8862f0f3ad5703bac5181a68bfc0e3f4167da039d46e4f065d91b49b5345dc97a8b4f991575b6c15a703c36722f4bb47c59b3182263700b18f SHA512 41aff6bfbd64cec59a64eb49c8913637dd0a482316e6b138f3e3ebef071d2668847f0988d2c6bedd7eec394f538c78683d4c9aacb81f95d198722a0e597611aa
|
||||
|
||||
@@ -1,88 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{11..14} )
|
||||
|
||||
inherit flag-o-matic meson pax-utils python-any-r1 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="BSD CC0-1.0 MIT MPL-2.0 || ( MPL-1.1 GPL-2+ LGPL-2.1+ )"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 ~loong ~ppc64 ~riscv x86"
|
||||
IUSE="examples readline sysprof test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/spidermonkey:$(ver_cut 1)
|
||||
>=dev-libs/glib-2.66.0:2
|
||||
>=dev-libs/gobject-introspection-1.82.0-r2:=
|
||||
>=dev-libs/libffi-3.3:0=
|
||||
x11-libs/cairo[glib,svg(+),X]
|
||||
x11-libs/libX11
|
||||
readline? ( sys-libs/readline:0= )
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
sysprof? ( >=dev-util/sysprof-capture-3.40.1:4 )
|
||||
test? (
|
||||
sys-apps/dbus
|
||||
x11-libs/gtk+:3[introspection]
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
${PYTHON_DEPS}
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
python_fix_shebang build
|
||||
}
|
||||
|
||||
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
|
||||
|
||||
local emesonargs=(
|
||||
$(meson_feature readline)
|
||||
$(meson_feature sysprof profiler)
|
||||
-Dinstalled_tests=false
|
||||
-Dgobject-introspection-tests:install_dir=''
|
||||
$(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"
|
||||
}
|
||||
Reference in New Issue
Block a user