games-emulation/jrommanager: new package based on v1.6b20 release
authoroptyfr <17027109+optyfr@users.noreply.github.com>
Wed, 11 Jul 2018 10:05:26 +0000 (12:05 +0200)
committerMichał Górny <mgorny@gentoo.org>
Sat, 28 Jul 2018 11:32:15 +0000 (13:32 +0200)
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Closes: https://github.com/gentoo/gentoo/pull/9177
Closes: https://bugs.gentoo.org/660900

games-emulation/jrommanager/Manifest [new file with mode: 0644]
games-emulation/jrommanager/jrommanager-1.6_p20-r1.ebuild [new file with mode: 0644]
games-emulation/jrommanager/metadata.xml [new file with mode: 0644]

diff --git a/games-emulation/jrommanager/Manifest b/games-emulation/jrommanager/Manifest
new file mode 100644 (file)
index 0000000..ab279a2
--- /dev/null
@@ -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 (file)
index 0000000..6db4f6f
--- /dev/null
@@ -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 (file)
index 0000000..0387c7c
--- /dev/null
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>opty@hotmail.fr</email>
+    <name>optyfr</name>
+  </maintainer>
+  <maintainer type="project">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
+  <longdescription>
+    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.
+  </longdescription>
+</pkgmetadata>