public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Julien Roy" <julien@jroy.ca>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/box64/
Date: Wed, 20 Nov 2024 22:18:14 +0000 (UTC)	[thread overview]
Message-ID: <1732131775.7dba85b28bb07631e154b340e4a8a5978cffc117.julien@gentoo> (raw)

commit:     7dba85b28bb07631e154b340e4a8a5978cffc117
Author:     Richard-Rogalski <rrogalski <AT> tutanota <DOT> com>
AuthorDate: Wed Nov 20 19:42:55 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Wed Nov 20 19:42:55 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7dba85b2

app-emulation/box64: Fix src_install (ty jbara)

Signed-off-by: Richard Rogalski <rrogalski <AT> tutanota.com>

 .../{box64-9999.ebuild => box64-0.3.0-r1.ebuild}      | 19 +++++++------------
 app-emulation/box64/box64-9999.ebuild                 |  1 +
 2 files changed, 8 insertions(+), 12 deletions(-)

diff --git a/app-emulation/box64/box64-9999.ebuild b/app-emulation/box64/box64-0.3.0-r1.ebuild
similarity index 72%
copy from app-emulation/box64/box64-9999.ebuild
copy to app-emulation/box64/box64-0.3.0-r1.ebuild
index 02e652d71..8893fe9bb 100644
--- a/app-emulation/box64/box64-9999.ebuild
+++ b/app-emulation/box64/box64-0.3.0-r1.ebuild
@@ -3,15 +3,15 @@
 
 EAPI=8
 
-inherit cmake git-r3 toolchain-funcs optfeature
+inherit cmake toolchain-funcs optfeature
 
 DESCRIPTION="Linux Userspace x86_64 Emulator with a twist"
 HOMEPAGE="https://box86.org"
-EGIT_REPO_URI="https://github.com/ptitSeb/${PN}"
+SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS=""
+KEYWORDS="~arm64 ~ppc64"
 IUSE="static"
 
 pkg_setup() {
@@ -20,21 +20,15 @@ pkg_setup() {
 		die "big endian not supported!"
 	fi
 
-	if [[ ${CHOST} != *linux* ]]; then
-		eerror "box86/64 requires a linux system."
+	if [[ ${CHOST} != *gnu* || ${CHOST} != *linux* ]]; then
+		eerror "box86/64 requires a glibc and a linux system. Musl support is possible, upstream welcomes PRs!"
 		die "Not a GNU+Linux system"
 	fi
-
-	if [[ ${CHOST} != *gnu* ]]; then #in case musl support is added in master branch
-		ewarn ""
-		ewarn "box86/64 will likely not build or run on a non-glibc system."
-		ewarn ""
-	fi
 }
 
 src_configure() {
 	local -a mycmakeargs=(
-		-DNOGIT=0
+		-DNOGIT=1
 		-DARM_DYNAREC=0
 		-DRV64_DYNAREC=0
 	)
@@ -50,6 +44,7 @@ src_configure() {
 }
 
 src_install() {
+	cmake_src_install
 	dostrip -x "usr/lib/x86_64-linux-gnu/*"
 }
 

diff --git a/app-emulation/box64/box64-9999.ebuild b/app-emulation/box64/box64-9999.ebuild
index 02e652d71..64564d457 100644
--- a/app-emulation/box64/box64-9999.ebuild
+++ b/app-emulation/box64/box64-9999.ebuild
@@ -50,6 +50,7 @@ src_configure() {
 }
 
 src_install() {
+	cmake_src_install
 	dostrip -x "usr/lib/x86_64-linux-gnu/*"
 }
 


             reply	other threads:[~2024-11-20 22:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-20 22:18 Julien Roy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-09-03 10:53 [gentoo-commits] repo/proj/guru:master commit in: app-emulation/box64/ David Roman
2024-09-03 10:53 David Roman
2024-09-02  9:58 David Roman
2023-07-16  6:18 Haelwenn Monnier
2023-07-16  6:18 Haelwenn Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1732131775.7dba85b28bb07631e154b340e4a8a5978cffc117.julien@gentoo \
    --to=julien@jroy.ca \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox