* [gentoo-commits] repo/proj/guru:master commit in: app-emulation/rars/
@ 2023-10-04 9:41 Florian Schmaus
0 siblings, 0 replies; 3+ messages in thread
From: Florian Schmaus @ 2023-10-04 9:41 UTC (permalink / raw
To: gentoo-commits
commit: db511b4dee4db8b13511adf5821002369b485ea3
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Tue Oct 3 11:51:50 2023 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Tue Oct 3 11:52:29 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=db511b4d
app-emulation/rars: new package, add 1.6
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-emulation/rars/Manifest | 2 ++
app-emulation/rars/metadata.xml | 11 +++++++
app-emulation/rars/rars-1.6.ebuild | 59 ++++++++++++++++++++++++++++++++++++++
3 files changed, 72 insertions(+)
diff --git a/app-emulation/rars/Manifest b/app-emulation/rars/Manifest
new file mode 100644
index 0000000000..5d40f7a53c
--- /dev/null
+++ b/app-emulation/rars/Manifest
@@ -0,0 +1,2 @@
+DIST JSoftFloat-75c3a5d.gh.tar.gz 8612 BLAKE2B 214479edfcd3bd8b57908d201838cfaf37b9bf8f6cae69191a920fd6b9c197089b4e370f77c10a888117cad2baa189608119b3fbef4d66021dfe12d9fcd22820 SHA512 2fefce28475cdfbf7b7331e79b5c263021a31b4411803ae2bdd435dbfc2a3503d8711b56502d1cf2aadc52bc5bd7af80cbd33fb6cc077ddbb222bfe18cb19208
+DIST rars-1.6.gh.tar.gz 1596110 BLAKE2B dd30b5eca670741cf635418b149ec5fd24432bb10aede70e91b8f5d3469fe839207ef0d2c5f9e91fce3ff638b58e533528413330a46c80464060a5e6c5b2903d SHA512 543e4c16a023b25e330286315f095f2311dc4255c906dfbfe39cadd96cdc1856612ace805cfedf4a155e4fcd70ddea51493c25bf3cb30936d8b1aea4ece226d3
diff --git a/app-emulation/rars/metadata.xml b/app-emulation/rars/metadata.xml
new file mode 100644
index 0000000000..cc12615f14
--- /dev/null
+++ b/app-emulation/rars/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>gasc@eurecom.fr</email>
+ <name>Gasc Henri</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">TheThirdOne/rars</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-emulation/rars/rars-1.6.ebuild b/app-emulation/rars/rars-1.6.ebuild
new file mode 100644
index 0000000000..ca1429e680
--- /dev/null
+++ b/app-emulation/rars/rars-1.6.ebuild
@@ -0,0 +1,59 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+JAVA_PKG_IUSE="doc source test"
+
+inherit java-pkg-2 java-pkg-simple
+
+jsoft_hash="75c3a5d1ab1322ce4dde0b5994d6f9f6ff820529"
+
+DESCRIPTION="RARS -- RISC-V Assembler and Runtime Simulator"
+HOMEPAGE="https://github.com/TheThirdOne/rars"
+SRC_URI="
+ https://github.com/TheThirdOne/rars/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
+ https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+S="${WORKDIR}/${P}"
+
+CP_DEPEND=""
+
+RDEPEND=">=virtual/jre-1.8:*
+ ${CP_DEPEND}"
+DEPEND=">=virtual/jdk-1.8:*
+ ${CP_DEPEND}"
+
+src_unpack() {
+ default
+ mv "${WORKDIR}/JSoftFloat-${jsoft_hash}" "${S}/src/jsoftfloat"
+}
+
+src_prepare() {
+ default
+ java-pkg_clean
+}
+
+src_compile() {
+ # Using the build-jar.sh script
+ cd "${S}"
+ mkdir -p build
+ find src -name "*.java" | xargs javac -d build
+ find src -type f -not -name "*.java" -exec cp --parents {} build \;
+ cp -rf build/src/* build
+ rm -r build/src
+ cp README.md License.txt build
+ cd build
+ jar cfm ../rars.jar ./META-INF/MANIFEST.MF *
+}
+
+src_install() {
+ java-pkg_dojar "${S}/rars.jar"
+ mkdir -p "${D}/usr/bin"
+ echo "#!/bin/bash" > "${D}/usr/bin/rars"
+ echo "java -jar /usr/share/rars/lib/rars.jar" >> "${D}/usr/bin/rars"
+ chmod 755 "${D}/usr/bin/rars"
+}
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-emulation/rars/
@ 2024-06-01 22:03 Julien Roy
0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-06-01 22:03 UTC (permalink / raw
To: gentoo-commits
commit: b8bcd816709d553a65d3ac820125719906814474
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Fri May 31 22:15:24 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Fri May 31 22:16:02 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b8bcd816
app-emulation/rars: Fix value of S
Closes: https://bugs.gentoo.org/932128
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-emulation/rars/{rars-1.6.ebuild => rars-1.6-r1.ebuild} | 12 +++++-------
1 file changed, 5 insertions(+), 7 deletions(-)
diff --git a/app-emulation/rars/rars-1.6.ebuild b/app-emulation/rars/rars-1.6-r1.ebuild
similarity index 89%
rename from app-emulation/rars/rars-1.6.ebuild
rename to app-emulation/rars/rars-1.6-r1.ebuild
index 9e563f421..c68fc9d80 100644
--- a/app-emulation/rars/rars-1.6.ebuild
+++ b/app-emulation/rars/rars-1.6-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2023-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -13,7 +13,10 @@ DESCRIPTION="RARS -- RISC-V Assembler and Runtime Simulator"
HOMEPAGE="https://github.com/TheThirdOne/rars"
SRC_URI="
https://github.com/TheThirdOne/rars/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
- https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz"
+ https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz
+"
+# We need S to point to this directory
+S="${WORKDIR}/${P}"
LICENSE="MIT"
SLOT="0"
@@ -27,11 +30,6 @@ src_unpack() {
mv "${WORKDIR}/JSoftFloat-${jsoft_hash}" "${S}/src/jsoftfloat"
}
-src_prepare() {
- default
- java-pkg_clean
-}
-
src_compile() {
# Using the build-jar.sh script
cd "${S}"
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: app-emulation/rars/
@ 2024-06-03 0:06 Julien Roy
0 siblings, 0 replies; 3+ messages in thread
From: Julien Roy @ 2024-06-03 0:06 UTC (permalink / raw
To: gentoo-commits
commit: a20c0e36acfacdbfeff4e280052f5b0866ec01f8
Author: Henri Gasc <gasc <AT> eurecom <DOT> fr>
AuthorDate: Sun Jun 2 12:32:23 2024 +0000
Commit: Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sun Jun 2 12:33:15 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a20c0e36
app-emulation/rars: update SRC_URI
Signed-off-by: Henri Gasc <gasc <AT> eurecom.fr>
app-emulation/rars/Manifest | 2 +-
app-emulation/rars/rars-1.6-r1.ebuild | 6 ++----
2 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/app-emulation/rars/Manifest b/app-emulation/rars/Manifest
index 5d40f7a53..bc835b566 100644
--- a/app-emulation/rars/Manifest
+++ b/app-emulation/rars/Manifest
@@ -1,2 +1,2 @@
-DIST JSoftFloat-75c3a5d.gh.tar.gz 8612 BLAKE2B 214479edfcd3bd8b57908d201838cfaf37b9bf8f6cae69191a920fd6b9c197089b4e370f77c10a888117cad2baa189608119b3fbef4d66021dfe12d9fcd22820 SHA512 2fefce28475cdfbf7b7331e79b5c263021a31b4411803ae2bdd435dbfc2a3503d8711b56502d1cf2aadc52bc5bd7af80cbd33fb6cc077ddbb222bfe18cb19208
+DIST JSoftFloat-75c3a5d1ab1322ce4dde0b5994d6f9f6ff820529.gh.tar.gz 8612 BLAKE2B 214479edfcd3bd8b57908d201838cfaf37b9bf8f6cae69191a920fd6b9c197089b4e370f77c10a888117cad2baa189608119b3fbef4d66021dfe12d9fcd22820 SHA512 2fefce28475cdfbf7b7331e79b5c263021a31b4411803ae2bdd435dbfc2a3503d8711b56502d1cf2aadc52bc5bd7af80cbd33fb6cc077ddbb222bfe18cb19208
DIST rars-1.6.gh.tar.gz 1596110 BLAKE2B dd30b5eca670741cf635418b149ec5fd24432bb10aede70e91b8f5d3469fe839207ef0d2c5f9e91fce3ff638b58e533528413330a46c80464060a5e6c5b2903d SHA512 543e4c16a023b25e330286315f095f2311dc4255c906dfbfe39cadd96cdc1856612ace805cfedf4a155e4fcd70ddea51493c25bf3cb30936d8b1aea4ece226d3
diff --git a/app-emulation/rars/rars-1.6-r1.ebuild b/app-emulation/rars/rars-1.6-r1.ebuild
index c68fc9d80..eea8315fe 100644
--- a/app-emulation/rars/rars-1.6-r1.ebuild
+++ b/app-emulation/rars/rars-1.6-r1.ebuild
@@ -5,7 +5,7 @@ EAPI=8
JAVA_PKG_IUSE="doc source test"
-inherit java-pkg-2 java-pkg-simple
+inherit java-pkg-2
jsoft_hash="75c3a5d1ab1322ce4dde0b5994d6f9f6ff820529"
@@ -13,10 +13,8 @@ DESCRIPTION="RARS -- RISC-V Assembler and Runtime Simulator"
HOMEPAGE="https://github.com/TheThirdOne/rars"
SRC_URI="
https://github.com/TheThirdOne/rars/archive/refs/tags/v${PV}.tar.gz -> ${P}.gh.tar.gz
- https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-75c3a5d.gh.tar.gz
+ https://github.com/TheThirdOne/JSoftFloat/archive/${jsoft_hash}.tar.gz -> JSoftFloat-${jsoft_hash}.gh.tar.gz
"
-# We need S to point to this directory
-S="${WORKDIR}/${P}"
LICENSE="MIT"
SLOT="0"
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-06-03 0:06 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-01 22:03 [gentoo-commits] repo/proj/guru:master commit in: app-emulation/rars/ Julien Roy
-- strict thread matches above, loose matches on Subject: below --
2024-06-03 0:06 Julien Roy
2023-10-04 9:41 Florian Schmaus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox