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 via email to