games-emulation/cen64-jg - 0.4.1 (gentoo)

Search

Install

Install this version:

emerge -a =games-emulation/cen64-jg-0.4.1

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

autounmask =games-emulation/cen64-jg-0.4.1

Or alternatively:

emerge --autounmask-write -a =games-emulation/cen64-jg-0.4.1

Package Information

Description:
Jolly Good fork of CEN64
Homepage:
https://gitlab.com/jgemu/cen64
License:
BSD BSD-2

Ebuild Details

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

EAPI=8

inherit toolchain-funcs

MY_PN=${PN%-*}
MY_P=${MY_PN}-${PV}
DESCRIPTION="Jolly Good fork of CEN64"
HOMEPAGE="https://gitlab.com/jgemu/cen64"
if [[ "${PV}" == *9999 ]] ; then
	inherit git-r3
	EGIT_REPO_URI="https://gitlab.com/jgemu/${MY_PN}.git"
else
	SRC_URI="https://gitlab.com/jgemu/${MY_PN}/-/archive/${PV}/${MY_P}.tar.bz2"
	S="${WORKDIR}/${MY_P}"
	KEYWORDS="~amd64"
fi

LICENSE="BSD BSD-2"
SLOT="0"

DEPEND="
	media-libs/speexdsp
	>=media-libs/jg-2.0.0
"
RDEPEND="
	${DEPEND}
	games-emulation/jgrf
"
BDEPEND="
	virtual/pkgconfig
"

pkg_setup() {
	if ! tc-is-lto; then
		einfo "It is recommended to use LTO for increased performance."
		einfo "Consult the wiki at https://wiki.gentoo.org/wiki/LTO#Enabling_LTO_per_package"
	fi
}

src_compile() {
	emake CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
}

src_install() {
	emake install \
		DESTDIR="${D}" \
		PREFIX="${EPREFIX}"/usr \
		DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \
		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
}

Inherited Eclasses

Dependencies

DEPEND

	media-libs/speexdsp
	>=media-libs/jg-2.0.0

RDEPEND

	
	media-libs/speexdsp
	>=media-libs/jg-2.0.0

	games-emulation/jgrf

BDEPEND

	virtual/pkgconfig

Manifest for 0.4.1

Type File Size Source URLs
DIST cen64-0.4.1.tar.bz2 452339 bytes https://gitlab.com/jgemu/cen64/-/archive/0.4.1/cen64-0.4.1.tar.bz2