sci-mathematics/eventb-animate - 6.2 (eventb-rossi)

Search

Install

Install this version:

emerge -a =sci-mathematics/eventb-animate-6.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =sci-mathematics/eventb-animate-6.2

Or alternatively:

emerge --autounmask-write -a =sci-mathematics/eventb-animate-6.2

Package Information

Description:
Animate Event-B models with the ProB model checker
Homepage:
https://github.com/eventb-rossi/eventb-animate
License:
Apache-2.0

Ebuild Details

Version EAPI Keywords Slot
6.2 8 ~amd64 0
View Raw Ebuild
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit java-pkg-2

DESCRIPTION="Animate Event-B models with the ProB model checker"
HOMEPAGE="https://github.com/eventb-rossi/eventb-animate"
SRC_URI="https://github.com/eventb-rossi/${PN}/releases/download/v${PV}/${P}.jar"
S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="ltsmin system-prob"

RDEPEND="
	>=virtual/jre-21:*
	ltsmin? ( sci-mathematics/ltsmin[prob] )
	system-prob? ( ~sci-mathematics/prob-bin-1.15.1[ltsmin?] )
"

src_unpack() {
	# Prebuilt jar, nothing to unpack.
	:
}

src_install() {
	java-pkg_newjar "${DISTDIR}/${P}.jar" "${PN}.jar"
	# Silence sun.misc.Unsafe deprecation warnings triggered by the
	# bundled Guice on JDK 23+. The system property is the
	# implementation detail behind --sun-misc-unsafe-memory-access
	# (verified against JDK 25) and is ignored gracefully by older
	# JVMs where that option does not exist; re-check on JDK bumps.
	local java_args="-Dsun.misc.unsafe.memory.access=allow"
	use system-prob && java_args+=" -Dprob.home=/opt/prob"
	java-pkg_dolauncher "${PN}" \
		--jar "${PN}.jar" \
		--java_args "${java_args}"
}

pkg_postinst() {
	if [[ -z ${REPLACING_VERSIONS} ]] && ! use system-prob; then
		elog "eventb-animate extracts its bundled ProB kernel to a private temporary directory at runtime."
	fi
}

USE Flags

Manage flags for this package: euse -i <flag> -p sci-mathematics/eventb-animate | euse -E <flag> -p sci-mathematics/eventb-animate | euse -D <flag> -p sci-mathematics/eventb-animate

Global/Standard Flags

Inherited Eclasses

Dependencies

RDEPEND

	>=virtual/jre-21:*
	ltsmin? ( sci-mathematics/ltsmin[prob] )
	system-prob? ( ~sci-mathematics/prob-bin-1.15.1[ltsmin?] )

Manifest for 6.2

Type File Size Source URLs
DIST eventb-animate-6.2.jar 98581904 bytes https://github.com/eventb-rossi/eventb-animate/releases/download/v6.2/eventb-animate-6.2.jar