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 EF49F15800A for ; Sun, 16 Jul 2023 06:18:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE22EE08A4; Sun, 16 Jul 2023 06:18:43 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C34CAE08A0 for ; Sun, 16 Jul 2023 06:18:43 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1838E340D30 for ; Sun, 16 Jul 2023 06:18:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D67D5B65 for ; Sun, 16 Jul 2023 06:18:39 +0000 (UTC) From: "Haelwenn Monnier" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Haelwenn Monnier" Message-ID: <1689384809.f49b095e877b110aaa8a524c7ad1bf2aa40025d4.lanodan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-emulation/box86/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-emulation/box86/Manifest app-emulation/box86/box86-0.3.0.ebuild app-emulation/box86/metadata.xml X-VCS-Directories: app-emulation/box86/ X-VCS-Committer: lanodan X-VCS-Committer-Name: Haelwenn Monnier X-VCS-Revision: f49b095e877b110aaa8a524c7ad1bf2aa40025d4 X-VCS-Branch: master Date: Sun, 16 Jul 2023 06:18:39 +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: 4bfb0e23-b5f2-48d7-830b-0bc7905e72e6 X-Archives-Hash: db0284de0fefa76319507800b9468ae5 commit: f49b095e877b110aaa8a524c7ad1bf2aa40025d4 Author: Richard-Rogalski tutanota com> AuthorDate: Sat Jul 15 01:33:29 2023 +0000 Commit: Haelwenn Monnier hacktivis me> CommitDate: Sat Jul 15 01:33:29 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f49b095e app-emulation/box86: new package, add 0.3.0 Signed-off-by: Richard-Rogalski tutanota.com> app-emulation/box86/Manifest | 1 + app-emulation/box86/box86-0.3.0.ebuild | 38 ++++++++++++++++++++++++++++++++++ app-emulation/box86/metadata.xml | 15 ++++++++++++++ 3 files changed, 54 insertions(+) diff --git a/app-emulation/box86/Manifest b/app-emulation/box86/Manifest new file mode 100644 index 000000000..608cb619f --- /dev/null +++ b/app-emulation/box86/Manifest @@ -0,0 +1 @@ +DIST box86-0.3.0.tar.gz 3175056 BLAKE2B 4fdef0301a53278da82eb18f235c38694d3d5b59c1386e4be14f6efd676499c5082c061f56fe9222f5994f7f043a0aa82019c42bf9b867ab8215c11ed3782f82 SHA512 133957b5b3194a034f383dd2cba503797468b973127b10b3a4bac458e1dce43b4f61efd4ff9ad0cabf7935f9b34a5287cbf3b9fee8c40c9b4bfbe206b0566957 diff --git a/app-emulation/box86/box86-0.3.0.ebuild b/app-emulation/box86/box86-0.3.0.ebuild new file mode 100644 index 000000000..e32f3b2c1 --- /dev/null +++ b/app-emulation/box86/box86-0.3.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake optfeature flag-o-matic + +DESCRIPTION="Linux Userspace x86 Emulator with a twist" +HOMEPAGE="https://box86.org" +SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~arm ~arm64" +IUSE="aot" +REQUIRED_USE="aot? ( || ( arm arm64 ) )" #depends on NEON, VFPv3, and non-thumb ABI, I see no good way to check + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local -a mycmakeargs=( + -DNOGIT=1 + -DARM_DYNAREC=$(usex aot) + ) + + use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 ) + + append-flags "-m32" + + cmake_src_configure +} + +pkg_postinst() { + optfeature "OpenGL for GLES devices" \ + "media-libs/gl4es" +} diff --git a/app-emulation/box86/metadata.xml b/app-emulation/box86/metadata.xml new file mode 100644 index 000000000..bba51e27a --- /dev/null +++ b/app-emulation/box86/metadata.xml @@ -0,0 +1,15 @@ + + + + + rrogalski@tutanota.com + Richard Rogalski + + + + Enables the dynamic ahead of time recompiler for increased performance on ARM + + + ptitSeb/box86 + +