mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-emulation/box64: Add QA checks
Signed-off-by: Richard Rogalski <rrogalski@tutanota.com>
This commit is contained in:
@@ -15,6 +15,18 @@ KEYWORDS="~arm64 ~ppc64"
|
||||
IUSE="aot"
|
||||
REQUIRED_USE="aot? ( arm64 )"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(tc-endian) == big ]]; then
|
||||
eerror "box86/box64 sadly does not support big endian systems."
|
||||
die "big endian not supported!"
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DNOGIT=1
|
||||
|
||||
@@ -14,6 +14,18 @@ SLOT="0"
|
||||
KEYWORDS="~arm64 ~ppc64"
|
||||
IUSE="static"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(tc-endian) == big ]]; then
|
||||
eerror "box86/box64 sadly does not support big endian systems."
|
||||
die "big endian not supported!"
|
||||
fi
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DNOGIT=1
|
||||
|
||||
@@ -14,6 +14,24 @@ SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="static"
|
||||
|
||||
pkg_setup() {
|
||||
if [[ $(tc-endian) == big ]]; then
|
||||
eerror "box86/box64 sadly does not support big endian systems."
|
||||
die "big endian not supported!"
|
||||
fi
|
||||
|
||||
if [[ ${CHOST} != *linux* ]]; then
|
||||
eerror "box86/64 requires a linux system."
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user