games-emulation/cega-jg: add 0.6.2

Signed-off-by: orbea <orbea@riseup.net>
Signed-off-by: Michael Orlitzky <mjo@gentoo.org>
This commit is contained in:
orbea
2026-08-10 21:22:22 -04:00
committed by Michael Orlitzky
parent a7eaa03da5
commit f5ebd3d5df
2 changed files with 47 additions and 0 deletions
+1
View File
@@ -1 +1,2 @@
DIST cega-0.6.1.tar.bz2 375688 BLAKE2B 287d7afa6ef28a6a3ee2467300cfe8c86534156269a3060bd31a28b85400fcfbb9ef9c42f82c809353321bece205753c53bc1f01fed48df6d35755d450f638e7 SHA512 8d9b1fa92abea3e99833832078780e50a3d9d9f984501a776f7cd182f15d32cc6c3df4fe7c898bf30ce7b562d6b8adc1603cf7e24d676866a14964ddc0f25c06
DIST cega-0.6.2.tar.bz2 377336 BLAKE2B d49b3635ae5197e93e95ae041a8960db4e7b6ed1a93ae6cfddb6749cda7fc2ba5ee1ec117407372aa8b40dbeabc12c20afe161c21b4c9c08a3730b0c2fd691b9 SHA512 ee25d000db78a8b431db31347f3e078a10ecb54f80748dcb6ffa368ed3eb98f2e5f9055ce9f87d74116d46c5bb0ced3e06aa5ee4bfdefb1ede0c5c8cf04c07c9
@@ -0,0 +1,46 @@
# 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 SG-1000, SMS, and Game Gear Emulator"
HOMEPAGE="https://gitlab.com/jgemu/cega"
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 ~ppc ~ppc64 ~x86"
fi
LICENSE="BSD MIT MPL-2.0 ZLIB"
SLOT="1"
DEPEND="
>=media-libs/jg-2.0.0
media-libs/speexdsp
"
RDEPEND="
${DEPEND}
games-emulation/jgrf
"
BDEPEND="
virtual/pkgconfig
"
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)"
}