From: optyfr <17027109+optyfr@users.noreply.github.com> Date: Wed, 11 Jul 2018 10:05:26 +0000 (+0200) Subject: games-emulation/jrommanager: new package based on v1.6b20 release X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a94b03d774063ceea0a6d7b4a25787429665c612;p=gentoo.git games-emulation/jrommanager: new package based on v1.6b20 release Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9177 Closes: https://bugs.gentoo.org/660900 --- diff --git a/games-emulation/jrommanager/Manifest b/games-emulation/jrommanager/Manifest new file mode 100644 index 000000000000..ab279a242e65 --- /dev/null +++ b/games-emulation/jrommanager/Manifest @@ -0,0 +1 @@ +DIST JRomManager-1.6b20.zip 9284236 BLAKE2B a874837e90bdd8ec6c55850fd0e61cabeb767f4b4eba6517a11f3de036a6fd95f7507593da7b5247824c38077b12ac52c490f5ec0e72077bd972c78810c58ebd SHA512 5d4a98989bd9eb2ba94dd50fe451308d9a628414e33cdc84814c55bf9679c3779253a8fab895e2f7922e3b837949e8065f2799707aeaab94d79a12ba73d83638 diff --git a/games-emulation/jrommanager/jrommanager-1.6_p20-r1.ebuild b/games-emulation/jrommanager/jrommanager-1.6_p20-r1.ebuild new file mode 100644 index 000000000000..6db4f6fa4a94 --- /dev/null +++ b/games-emulation/jrommanager/jrommanager-1.6_p20-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_PN=JRomManager +MY_PV=${PV/_p/b} +MY_P="${MY_PN}-${MY_PV}" + +inherit desktop + +DESCRIPTION="A Mame and Retrogaming Rom Manager, Java alternative to ClrMamePro" +HOMEPAGE="https://github.com/optyfr/JRomManager" +SRC_URI="https://github.com/optyfr/${MY_PN}/releases/download/${MY_PV}/${MY_P}.zip" +QA_PREBUILT="*" + +S="${WORKDIR}" + +LICENSE="GPL-3 GPL-2-with-classpath-exception BSD-2 MIT Apache-2.0 LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +RDEPEND=">=virtual/jre-1.8" +DEPEND="${DEPEND} + app-arch/unzip" + +src_prepare() { + default + + sed -e "/dir=.*/s:.*:cd \"${EROOT}/usr/share/${PN}\" || exit:" -i *.sh || die "sed failed!" + unzip -j ${MY_PN}.jar "jrm/resources/rom.png" || die +} + +src_install() { + insinto "/usr/share/${PN}" + doins *.jar + doins -r lib + newbin "${MY_PN}-multi.sh" "${PN}" + newicon "rom.png" "${PN}.png" + make_desktop_entry "${PN}" '' '' 'Utility' +} diff --git a/games-emulation/jrommanager/metadata.xml b/games-emulation/jrommanager/metadata.xml new file mode 100644 index 000000000000..0387c7c893ea --- /dev/null +++ b/games-emulation/jrommanager/metadata.xml @@ -0,0 +1,21 @@ + + + + + opty@hotmail.fr + optyfr + + + proxy-maint@gentoo.org + Proxy Maintainers + + + JRomManager is a Rom manager made to work mostly anywhere, + with decent performance and minimal memory footprint, + some attention was also made to work correctly over shared networks. + It has also been made available open source to permit enhancements + from the retro gaming community. The main focus is to support MAME + and derivatives, but should work well with any Dat file from other + roms sets. + +