From: "Richard Rogalski" <rrogalski@tutanota.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/box64/
Date: Sun, 1 Sep 2024 20:36:57 +0000 (UTC) [thread overview]
Message-ID: <1725223004.67203100706444ecb817d995013d77f21483080a.rrogalski@gentoo> (raw)
commit: 67203100706444ecb817d995013d77f21483080a
Author: Richard-Rogalski <rrogalski <AT> tutanota <DOT> com>
AuthorDate: Sun Sep 1 19:37:24 2024 +0000
Commit: Richard Rogalski <rrogalski <AT> tutanota <DOT> com>
CommitDate: Sun Sep 1 20:36:44 2024 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=67203100
app-emulation/box64: add versions 0.3.0 and 9999
Signed-off-by: Richard Rogalski <rrogalski <AT> tutanota.com>
app-emulation/box64/Manifest | 1 +
app-emulation/box64/box64-0.2.2.ebuild | 2 --
.../{box64-0.2.2.ebuild => box64-0.3.0.ebuild} | 18 +++++++++------
.../{box64-0.2.2.ebuild => box64-9999.ebuild} | 26 +++++++++++++---------
4 files changed, 27 insertions(+), 20 deletions(-)
diff --git a/app-emulation/box64/Manifest b/app-emulation/box64/Manifest
index ab6823137..c55f25849 100644
--- a/app-emulation/box64/Manifest
+++ b/app-emulation/box64/Manifest
@@ -1 +1,2 @@
DIST box64-0.2.2.tar.gz 3359829 BLAKE2B 52e4be1daadaffa16ed494d06441252dc27e68a82dbe13b1f3b0deeac59cc91a6f3c23e52fa9a574e5a1475fd38c8e41f05c3349b501cc1c6f338e70c7ad5c50 SHA512 3213e112aad44118209733960523d459bf74a07b7a1cc1b1b86d5938af2052fc298c8d2b28237cd7186751bdfcf791741a82fdf461c02b58f7e98461b794ef95
+DIST box64-0.3.0.tar.gz 13546774 BLAKE2B 143d25bb15af0296f750f7f74a4ea1146624a95fdc61a5f5b52d57af64d2be77d43cac5ad1946dc9d382a1c5076d9fc27f1ca88d4145e93bfcf2037170349dee SHA512 1ab9a329fa32dfb0ce4c6d3280b2ebc24158d46d583feeafd5efcce0d3d43c5cdeec165e0fd632e53ba8d7d6188978ed4a59151b9228d4c7fd7ec01e25c1eb58
diff --git a/app-emulation/box64/box64-0.2.2.ebuild b/app-emulation/box64/box64-0.2.2.ebuild
index ecbd4341b..1dcaf87e1 100644
--- a/app-emulation/box64/box64-0.2.2.ebuild
+++ b/app-emulation/box64/box64-0.2.2.ebuild
@@ -15,8 +15,6 @@ KEYWORDS="~arm64 ~ppc64"
IUSE="aot"
REQUIRED_USE="aot? ( arm64 )"
-RDEPEND="${DEPEND}"
-
src_configure() {
local -a mycmakeargs=(
-DNOGIT=1
diff --git a/app-emulation/box64/box64-0.2.2.ebuild b/app-emulation/box64/box64-0.3.0.ebuild
similarity index 66%
copy from app-emulation/box64/box64-0.2.2.ebuild
copy to app-emulation/box64/box64-0.3.0.ebuild
index ecbd4341b..e6b02b125 100644
--- a/app-emulation/box64/box64-0.2.2.ebuild
+++ b/app-emulation/box64/box64-0.3.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -12,25 +12,29 @@ SRC_URI="https://github.com/ptitSeb/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P
LICENSE="MIT"
SLOT="0"
KEYWORDS="~arm64 ~ppc64"
-IUSE="aot"
-REQUIRED_USE="aot? ( arm64 )"
-
-RDEPEND="${DEPEND}"
+IUSE="static"
src_configure() {
local -a mycmakeargs=(
-DNOGIT=1
- -DARM_DYNAREC=$(usex aot)
+ -DARM_DYNAREC=0
+ -DRV64_DYNAREC=0
)
+ (use arm || use arm64) && mycmakeargs+=( -DARM64=1 -DARM_DYNAREC=1 )
+ use riscv && mycmakeargs+=( -DRV64=1 -DRV64_DYNAREC=1 )
use ppc64 && mycmakeargs+=( -DPPC64LE=1 )
- use riscv && mycmakeargs+=( -DRV64=1 )
use loong && mycmakeargs+=( -DLARCH64=1 )
use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 )
+ use static && mycmakeargs+=( -DSTATICBUILD=1 )
cmake_src_configure
}
+src_install() {
+ dostrip -x "usr/lib/x86_64-linux-gnu/*"
+}
+
pkg_postinst() {
optfeature "OpenGL for GLES devices" \
"media-libs/gl4es"
diff --git a/app-emulation/box64/box64-0.2.2.ebuild b/app-emulation/box64/box64-9999.ebuild
similarity index 53%
copy from app-emulation/box64/box64-0.2.2.ebuild
copy to app-emulation/box64/box64-9999.ebuild
index ecbd4341b..91c4682ff 100644
--- a/app-emulation/box64/box64-0.2.2.ebuild
+++ b/app-emulation/box64/box64-9999.ebuild
@@ -1,36 +1,40 @@
-# Copyright 2023 Gentoo Authors
+# Copyright 2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
-inherit cmake optfeature
+inherit cmake optfeature git-r3
DESCRIPTION="Linux Userspace x86_64 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"
+EGIT_REPO_URI="https://github.com/ptitSeb/${PN}"
LICENSE="MIT"
SLOT="0"
-KEYWORDS="~arm64 ~ppc64"
-IUSE="aot"
-REQUIRED_USE="aot? ( arm64 )"
-
-RDEPEND="${DEPEND}"
+KEYWORDS=""
+IUSE="static"
src_configure() {
local -a mycmakeargs=(
- -DNOGIT=1
- -DARM_DYNAREC=$(usex aot)
+ -DNOGIT=0
+ -DARM_DYNAREC=0
+ -DRV64_DYNAREC=0
)
+ (use arm || use arm64) && mycmakeargs+=( -DARM64=1 -DARM_DYNAREC=1 )
+ use riscv && mycmakeargs+=( -DRV64=1 -DRV64_DYNAREC=1 )
use ppc64 && mycmakeargs+=( -DPPC64LE=1 )
- use riscv && mycmakeargs+=( -DRV64=1 )
use loong && mycmakeargs+=( -DLARCH64=1 )
use amd64 && mycmakeargs+=( -DLD80BITS=1 -DNOALIGN=1 )
+ use static && mycmakeargs+=( -DSTATICBUILD=1 )
cmake_src_configure
}
+src_install() {
+ dostrip -x "usr/lib/x86_64-linux-gnu/*"
+}
+
pkg_postinst() {
optfeature "OpenGL for GLES devices" \
"media-libs/gl4es"
next reply other threads:[~2024-09-01 20:37 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-01 20:36 Richard Rogalski [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-20 19:49 [gentoo-commits] repo/proj/guru:dev commit in: app-emulation/box64/ Richard Rogalski
2024-09-02 20:46 Lucio Sauer
2024-09-02 20:20 Richard Rogalski
2023-07-14 18:01 Richard Rogalski
2023-07-14 16:42 Richard Rogalski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1725223004.67203100706444ecb817d995013d77f21483080a.rrogalski@gentoo \
--to=rrogalski@tutanota.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox