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

Search

Install

Install this version:

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

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

autounmask =sci-mathematics/eventb-animate-5.0

Or alternatively:

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

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
5.0 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}/${PN}.jar -> ${P}.jar"
S="${WORKDIR}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND=">=virtual/jre-21:*"

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.
	java-pkg_dolauncher "${PN}" \
		--jar "${PN}.jar" \
		--java_args "-Dsun.misc.unsafe.memory.access=allow"
}

pkg_postinst() {
	if [[ -z ${REPLACING_VERSIONS} ]]; then
		elog "eventb-animate downloads the ProB kernel into ~/.prob on first use."
	fi
}

Inherited Eclasses

Dependencies

RDEPEND

>=virtual/jre-21:*

Manifest for 5.0

Type File Size Source URLs
DIST eventb-animate-5.0.jar 98365093 bytes https://github.com/eventb-rossi/eventb-animate/releases/download/v5.0/eventb-animate.jar