commit: a622dc90cc05332c12dc855556b6bcc3d2d7425c Author: orbea <orbea <AT> riseup <DOT> net> AuthorDate: Sat Mar 8 18:51:53 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Mon Mar 10 02:05:11 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a622dc90
games-emulation/cega-jg: add 0.6.1 Signed-off-by: orbea <orbea <AT> riseup.net> Closes: https://github.com/gentoo/gentoo/pull/40638 Signed-off-by: Sam James <sam <AT> gentoo.org> games-emulation/cega-jg/Manifest | 1 + games-emulation/cega-jg/cega-jg-0.6.1.ebuild | 46 ++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/games-emulation/cega-jg/Manifest b/games-emulation/cega-jg/Manifest index cde9e1f9beb7..0903f75baa3e 100644 --- a/games-emulation/cega-jg/Manifest +++ b/games-emulation/cega-jg/Manifest @@ -1 +1,2 @@ DIST cega-0.6.0.tar.bz2 224108 BLAKE2B 0ecbdcc05c4d7de405e78723117a5c09f7d26a39355a25e516a68c6473ee403cab55d7d12e57e3382db6730a406d7b639153ebcb6a6b038bf661af0eb08cfa72 SHA512 64d05bdc9dbc123400a2bd718e2e6b65edb87eaed7ef7915ce5bc9b86ce5ed9a801ffb9192103ac08a58a9c06193d7588dbe47b78143edb90a89139cf75cdc68 +DIST cega-0.6.1.tar.bz2 375688 BLAKE2B 287d7afa6ef28a6a3ee2467300cfe8c86534156269a3060bd31a28b85400fcfbb9ef9c42f82c809353321bece205753c53bc1f01fed48df6d35755d450f638e7 SHA512 8d9b1fa92abea3e99833832078780e50a3d9d9f984501a776f7cd182f15d32cc6c3df4fe7c898bf30ce7b562d6b8adc1603cf7e24d676866a14964ddc0f25c06 diff --git a/games-emulation/cega-jg/cega-jg-0.6.1.ebuild b/games-emulation/cega-jg/cega-jg-0.6.1.ebuild new file mode 100644 index 000000000000..862b730fc1d0 --- /dev/null +++ b/games-emulation/cega-jg/cega-jg-0.6.1.ebuild @@ -0,0 +1,46 @@ +# Copyright 2022-2025 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:1= + 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)" +}
