diff options
author | orbea <orbea@riseup.net> | 2023-04-24 08:02:26 -0700 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-04-26 04:47:15 +0100 |
commit | c346baf966c3f33d0ba171722e1eb6ac10677c20 (patch) | |
tree | 61a7a93cfb11cb6d777ed6233d41f4686ddeb198 | |
parent | app-office/libreoffice: Don't require X for dbus (diff) | |
download | gentoo-c346baf966c3f33d0ba171722e1eb6ac10677c20.tar.gz gentoo-c346baf966c3f33d0ba171722e1eb6ac10677c20.tar.bz2 gentoo-c346baf966c3f33d0ba171722e1eb6ac10677c20.zip |
games-emulation/mgba-jg: add 0.10.2
Signed-off-by: orbea <orbea@riseup.net>
Closes: https://github.com/gentoo/gentoo/pull/30733
Signed-off-by: Sam James <sam@gentoo.org>
-rw-r--r-- | games-emulation/mgba-jg/Manifest | 1 | ||||
-rw-r--r-- | games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index cc60171758b9..eed77a8b3f25 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1 +1,2 @@ DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 +DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b diff --git a/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild new file mode 100644 index 000000000000..11cad347f454 --- /dev/null +++ b/games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2023 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 Port of mGBA" +HOMEPAGE="https://gitlab.com/jgemu/mgba" +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-2 MPL-2.0" +SLOT="1" + +DEPEND=" + media-libs/jg:1= +" +RDEPEND=" + ${DEPEND} + games-emulation/jgrf +" +BDEPEND=" + virtual/pkgconfig +" + +src_compile() { + emake -C jollygood CC="$(tc-getCC)" PKG_CONFIG="$(tc-getPKG_CONFIG)" +} + +src_install() { + emake -C jollygood install \ + DESTDIR="${D}" \ + PREFIX="${EPREFIX}"/usr \ + DOCDIR="${EPREFIX}"/usr/share/doc/${PF} \ + LIBDIR="${EPREFIX}/usr/$(get_libdir)" +} |