From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8AD74158066 for ; Tue, 3 Sep 2024 10:53:10 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3F2A5E2A3D; Tue, 3 Sep 2024 10:53:09 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 22D99E2A3D for ; Tue, 3 Sep 2024 10:53:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 187B634315B for ; Tue, 3 Sep 2024 10:53:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 792DD1F39 for ; Tue, 3 Sep 2024 10:53:06 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1725308374.880eda7f6da058451b191f7c29978716ff609e57.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/box64/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/box64/box64-0.2.2.ebuild app-emulation/box64/box64-0.3.0.ebuild app-emulation/box64/box64-9999.ebuild X-VCS-Directories: app-emulation/box64/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 880eda7f6da058451b191f7c29978716ff609e57 X-VCS-Branch: master Date: Tue, 3 Sep 2024 10:53:06 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 599d0974-a471-49e6-aab6-b57230c67fda X-Archives-Hash: a6a6e4f831c92f03ba18c6df35db4d47 commit: 880eda7f6da058451b191f7c29978716ff609e57 Author: Richard-Rogalski tutanota com> AuthorDate: Mon Sep 2 20:19:34 2024 +0000 Commit: David Roman gmail com> CommitDate: Mon Sep 2 20:19:34 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=880eda7f app-emulation/box64: Add QA checks Signed-off-by: Richard Rogalski tutanota.com> app-emulation/box64/box64-0.2.2.ebuild | 12 ++++++++++++ app-emulation/box64/box64-0.3.0.ebuild | 12 ++++++++++++ app-emulation/box64/box64-9999.ebuild | 18 ++++++++++++++++++ 3 files changed, 42 insertions(+) diff --git a/app-emulation/box64/box64-0.2.2.ebuild b/app-emulation/box64/box64-0.2.2.ebuild index 1dcaf87e1..71cef82cd 100644 --- a/app-emulation/box64/box64-0.2.2.ebuild +++ b/app-emulation/box64/box64-0.2.2.ebuild @@ -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 diff --git a/app-emulation/box64/box64-0.3.0.ebuild b/app-emulation/box64/box64-0.3.0.ebuild index e6b02b125..b882fa8dc 100644 --- a/app-emulation/box64/box64-0.3.0.ebuild +++ b/app-emulation/box64/box64-0.3.0.ebuild @@ -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 diff --git a/app-emulation/box64/box64-9999.ebuild b/app-emulation/box64/box64-9999.ebuild index 91c4682ff..6d30a199a 100644 --- a/app-emulation/box64/box64-9999.ebuild +++ b/app-emulation/box64/box64-9999.ebuild @@ -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