mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
gnome-extra/cjs: drop old
Package-Manager: Portage-3.0.18, Repoman-3.0.2 Signed-off-by: Matthew S. Turnbull <sparky@bluefang-logic.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
186eaa51ad
commit
308478c39b
@@ -1,3 +1,2 @@
|
||||
DIST cjs-4.6.0.tar.gz 463060 BLAKE2B 466f807539ea95eece8b468287582f2c085ce86a63cf37ed1489f6ed20c98dfcb7028c7679102526009b71aba7d737f6f56c9544bc926fbf5a0be540afeaee53 SHA512 b7b457b43b756918670c9acc1064fc5b424d7bb7ab826ec207595c98159f407411ceb6d3043d305570f21f7675e1b699d7e95466688835034e178e079e118dfe
|
||||
DIST cjs-4.8.2.tar.gz 600711 BLAKE2B d1506e599c05301083479df4145d3177c9cbb057d3ed260e9744994da70fe392eb2cd872dc00b1ef6269efe9442e32e16878ba975f57f1abc35851cb15e7bb97 SHA512 c607198847a3229443bbfa6906b05036295b6d7f95d3b355780b28e69382407a8f6ef5f637f411fbf2ae474c4c7c5f68f64fec6dd7a2e7f944945927f5efac91
|
||||
DIST cjs-5.0.0.tar.gz 601928 BLAKE2B b8d4e64472eefe15678fd2ebcd270161b779e5081b1f9fdff61c4410fdef601cff9bc948b423308059aa73de0b960d430711e8741c10511f758b41da8d96892f SHA512 32524de39e17ffc3e70f83188aed5d6bcb39e9ac4d4a1aa980a1f45dfc7970c103868f270775fcd290de0a6c70035b61b04dc575c6bcc1375972aaa0abdd8e59
|
||||
|
||||
@@ -1,74 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit autotools gnome2-utils pax-utils virtualx xdg-utils
|
||||
|
||||
DESCRIPTION="Linux Mint's fork of gjs for Cinnamon"
|
||||
HOMEPAGE="https://projects.linuxmint.com/cinnamon/"
|
||||
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 test"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-lang/spidermonkey:52
|
||||
>=dev-libs/glib-2.42:2
|
||||
>=dev-libs/gobject-introspection-1.41.4:=
|
||||
sys-libs/readline:0=
|
||||
dev-libs/libffi:0=
|
||||
cairo? ( x11-libs/cairo[X,glib] )
|
||||
gtk? ( x11-libs/gtk+:3 )
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( sys-apps/dbus )
|
||||
"
|
||||
BDEPEND="
|
||||
sys-devel/autoconf-archive
|
||||
sys-devel/gettext
|
||||
virtual/pkgconfig
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
xdg_environment_reset
|
||||
default
|
||||
eautoreconf
|
||||
gnome2_disable_deprecation_warning
|
||||
|
||||
sed -ie "s/'Gjs'/'Cjs'/g" \
|
||||
"${S}"/installed-tests/js/testExceptions.js \
|
||||
"${S}"/installed-tests/js/testEverythingBasic.js || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# FIXME: add systemtap/dtrace support, like in glib:2
|
||||
# FIXME: --enable-systemtap installs files in ${D}/${D} for some reason
|
||||
econf \
|
||||
--disable-maintainer-mode \
|
||||
--enable-compile-warnings=minimum \
|
||||
--disable-systemtap \
|
||||
--disable-dtrace \
|
||||
$(use_with cairo) \
|
||||
$(use_with gtk)
|
||||
}
|
||||
|
||||
src_test() {
|
||||
virtx emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# installation sometimes fails in parallel
|
||||
default -j1
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
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