games-emulation/jrommanager: version bump to 1.7_p24-r1
authoroptyfr <opty@hotmail.fr>
Thu, 9 Aug 2018 19:54:13 +0000 (21:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Wed, 15 Aug 2018 20:22:24 +0000 (22:22 +0200)
Closes: https://bugs.gentoo.org/663254
Closes: https://github.com/gentoo/gentoo/pull/9522
Package-Manager: Portage-2.3.40, Repoman-2.3.9

games-emulation/jrommanager/Manifest
games-emulation/jrommanager/jrommanager-1.7_p24-r1.ebuild [new file with mode: 0644]

index ab279a242e65cb79aa3eaa37c531296aceb7d4ce..158fd6ea7e8b15a178dcfbeef0590c71d99a51c8 100644 (file)
@@ -1 +1,2 @@
 DIST JRomManager-1.6b20.zip 9284236 BLAKE2B a874837e90bdd8ec6c55850fd0e61cabeb767f4b4eba6517a11f3de036a6fd95f7507593da7b5247824c38077b12ac52c490f5ec0e72077bd972c78810c58ebd SHA512 5d4a98989bd9eb2ba94dd50fe451308d9a628414e33cdc84814c55bf9679c3779253a8fab895e2f7922e3b837949e8065f2799707aeaab94d79a12ba73d83638
+DIST JRomManager-1.7b24.zip 9293410 BLAKE2B e73456273e6b2ef960bf94f9c0b4f241829474187fbe7205f98f1bf03abfc3e5eeed4803303ede6e937168daf9eed0ea47499addc00eb153269e9228f4bded61 SHA512 e10ad63348d9eba20175b5d620b32876730900abbe2d8bf9add1ba58f2b7f1d54fbd5a94ec937ab8b94f69c29979302630f2e81cba8d10176b83ec65ba55333f
diff --git a/games-emulation/jrommanager/jrommanager-1.7_p24-r1.ebuild b/games-emulation/jrommanager/jrommanager-1.7_p24-r1.ebuild
new file mode 100644 (file)
index 0000000..2087498
--- /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-2 GPL-2-with-classpath-exception BSD-2 MIT Apache-2.0 LGPL-2.1 unRAR"
+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'
+}