mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
app-emulation/box86: new package, add 0.3.0
Signed-off-by: Richard-Rogalski <rrogalski@tutanota.com>
This commit is contained in:
1
app-emulation/box86/Manifest
Normal file
1
app-emulation/box86/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST box86-0.3.0.tar.gz 3175056 BLAKE2B 4fdef0301a53278da82eb18f235c38694d3d5b59c1386e4be14f6efd676499c5082c061f56fe9222f5994f7f043a0aa82019c42bf9b867ab8215c11ed3782f82 SHA512 133957b5b3194a034f383dd2cba503797468b973127b10b3a4bac458e1dce43b4f61efd4ff9ad0cabf7935f9b34a5287cbf3b9fee8c40c9b4bfbe206b0566957
|
||||
38
app-emulation/box86/box86-0.3.0.ebuild
Normal file
38
app-emulation/box86/box86-0.3.0.ebuild
Normal file
@@ -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"
|
||||
}
|
||||
15
app-emulation/box86/metadata.xml
Normal file
15
app-emulation/box86/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>rrogalski@tutanota.com</email>
|
||||
<name>Richard Rogalski</name>
|
||||
</maintainer>
|
||||
|
||||
<use>
|
||||
<flag name="aot">Enables the dynamic ahead of time recompiler for increased performance on ARM</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<remote-id type="github">ptitSeb/box86</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
Reference in New Issue
Block a user