diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-04-26 06:14:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-04-26 06:14:16 +0100 |
commit | d5d36fc823b7189d033e69314ae2764f1eed9168 (patch) | |
tree | 7ad153046482fd6c121d0654933c134a72aab4d6 /games-emulation/mgba-jg | |
parent | 81a92c310907a51d2a03b6d470f4276a7d7ac00c (diff) |
gentoo auto-resync : 26:04:2023 - 06:14:16
Diffstat (limited to 'games-emulation/mgba-jg')
-rw-r--r-- | games-emulation/mgba-jg/Manifest | 2 | ||||
-rw-r--r-- | games-emulation/mgba-jg/mgba-jg-0.10.2.ebuild | 45 |
2 files changed, 47 insertions, 0 deletions
diff --git a/games-emulation/mgba-jg/Manifest b/games-emulation/mgba-jg/Manifest index f8f45927bf9d..3b941eaf2d07 100644 --- a/games-emulation/mgba-jg/Manifest +++ b/games-emulation/mgba-jg/Manifest @@ -1,4 +1,6 @@ DIST mgba-0.10.1.tar.bz2 12984463 BLAKE2B 8cdd3ee302ba29febbdd255582b2c071543bbe9e483a302c2e2116444662ace9e8988acead32be2b84361b6145099a1a76c2391a938069e3dddba83e76070842 SHA512 69d7f1a8973159cf6dab21aa669bd29e8344efad1a5ffaa77fc94ad02ce1f3c2f74692bdce896cee394ffcdbecfe7d91c0f51bc89fbb65a16cf44801e26d8412 +DIST mgba-0.10.2.tar.bz2 12925327 BLAKE2B 73a4a969ea99cde7d928d04ef43208b378784c73f39f6e8bc62f02da3df31ff45c82360cd3184b94e835a355bb3ccb05c2f7b70290aa886a1df7619e319cfb56 SHA512 6bf50bf4ec172fae8a8f5495bbed646f32f978ffcf271531aecea1b56b69788da1ea84bbbab4d22ae5bec0a4e64035209d5719bb5d574981770b7cd3a531798b EBUILD mgba-jg-0.10.1.ebuild 888 BLAKE2B ee8e405f906bc0ede8713fd99d2975a815ee1081e1fb01587ba032f125b3297111bcadf542d1339ad0566cada5a0dd06c3d9f467dec7afb0653b7ebb74351fe8 SHA512 44f9db8e85200d32d65f366ed3b12041206474d3e02247803cdd3b3994ae75635e660c905a2eefd24a1da85dbb36c934837bb2c202044635a82eecfff6f3b44a +EBUILD mgba-jg-0.10.2.ebuild 893 BLAKE2B 0c7753dcd138a0c346d236f86668d79e92fc079172f722a767f2663ca7e5b88d5c8a143840434249ca7a16e523b308eacecd728cd52452a7c33542ad558a6c2d SHA512 1b547a8feb0f584bf5f46e87bf4175f16b9f8cfa544d122fb5edfbacaa67c2cc2c5b23d54ddf6b99ceb41eaecbf62be4753b33e5486e0f7b3365805684b032a6 EBUILD mgba-jg-9999.ebuild 888 BLAKE2B ee8e405f906bc0ede8713fd99d2975a815ee1081e1fb01587ba032f125b3297111bcadf542d1339ad0566cada5a0dd06c3d9f467dec7afb0653b7ebb74351fe8 SHA512 44f9db8e85200d32d65f366ed3b12041206474d3e02247803cdd3b3994ae75635e660c905a2eefd24a1da85dbb36c934837bb2c202044635a82eecfff6f3b44a MISC metadata.xml 690 BLAKE2B 8155ebe1de08c1dda23493846710833c25267314ae04735f2fd0da2e26a5a42772a2f3d36238dd37974c85c395b6ed50137e8112f6a3d5f477fc754dc8cca7a9 SHA512 f55f48b8e0091fcd7986fffb307daa50bafe4b3a05159e146df74fb944517a259eff76d8fcb4fc3f23cb0a8e1bf8cfa3c0066651cffff5d391977786846a543d 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)" +} |