games-emulation/geolith-jg - 0.4.1-r1 (gentoo)

Search

Install

Install this version:

emerge -a =games-emulation/geolith-jg-0.4.1-r1

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

autounmask =games-emulation/geolith-jg-0.4.1-r1

Or alternatively:

emerge --autounmask-write -a =games-emulation/geolith-jg-0.4.1-r1

Package Information

Description:
Jolly Good Neo Geo AES/MVS/CD/CDZ Emulator
Homepage:
https://gitlab.com/jgemu/geolith
License:
BSD MIT MIT-0

Ebuild Details

Version EAPI Keywords Slot
0.4.1-r1 8 ~amd64 ~arm ~arm64 ~x86 1
View Raw Ebuild
# Copyright 2022-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 Neo Geo AES/MVS/CD/CDZ Emulator"
HOMEPAGE="https://gitlab.com/jgemu/geolith"
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 ~arm ~arm64 ~x86"
fi

LICENSE="BSD MIT MIT-0"
SLOT="1"
IUSE="chdr"

DEPEND="
	dev-libs/miniz:=
	media-libs/jg:1=
	media-libs/speexdsp
	chdr? ( media-libs/libchdr:= )
"
RDEPEND="
	${DEPEND}
	games-emulation/jgrf
"
BDEPEND="
	virtual/pkgconfig
"

src_configure() {
	local makeopts=(
		PREFIX="${EPREFIX}"/usr
		ENABLE_CHDR=$(usex chdr 1 0)
		USE_EXTERNAL_MINIZ=1
	)
	export MY_MAKEOPTS="${makeopts[@]}"
}

src_compile() {
	local mymakeargs=(
		CC="$(tc-getCC)"
		PKG_CONFIG="$(tc-getPKG_CONFIG)"
		${MY_MAKEOPTS}
	)
	emake "${mymakeargs[@]}"
}

src_install() {
	local mymakeargs=(
		DESTDIR="${D}"
		DOCDIR="${EPREFIX}"/usr/share/doc/${PF}
		LIBDIR="${EPREFIX}/usr/$(get_libdir)"
		${MY_MAKEOPTS}
	)
	emake install "${mymakeargs[@]}"
}

USE Flags

Manage flags for this package: euse -i <flag> -p games-emulation/geolith-jg | euse -E <flag> -p games-emulation/geolith-jg | euse -D <flag> -p games-emulation/geolith-jg

Global/Standard Flags

Inherited Eclasses

Dependencies

DEPEND

	dev-libs/miniz:=
	media-libs/jg:1=
	media-libs/speexdsp
	chdr? ( media-libs/libchdr:= )

RDEPEND

	
	dev-libs/miniz:=
	media-libs/jg:1=
	media-libs/speexdsp
	chdr? ( media-libs/libchdr:= )

	games-emulation/jgrf

BDEPEND

	virtual/pkgconfig