From 6f65779c2312f656e6129c7e024e94cdb3c8fa32 Mon Sep 17 00:00:00 2001 From: Alexander Golubev Date: Wed, 23 Jul 2025 17:57:24 +0300 Subject: [PATCH] dev-libs/asmjit: add 2025.06.25 Closes: https://bugs.gentoo.org/961099 Signed-off-by: Alexander Golubev Part-of: https://github.com/gentoo/gentoo/pull/43126 Closes: https://github.com/gentoo/gentoo/pull/43126 Signed-off-by: Alfredo Tupone --- dev-libs/asmjit/Manifest | 1 + dev-libs/asmjit/asmjit-2025.06.28.ebuild | 33 ++++++++++++++++++++++++ dev-libs/asmjit/asmjit-9999.ebuild | 6 ++--- 3 files changed, 37 insertions(+), 3 deletions(-) create mode 100644 dev-libs/asmjit/asmjit-2025.06.28.ebuild diff --git a/dev-libs/asmjit/Manifest b/dev-libs/asmjit/Manifest index df923fb6f0b3c..d9fea3b67d4e2 100644 --- a/dev-libs/asmjit/Manifest +++ b/dev-libs/asmjit/Manifest @@ -1 +1,2 @@ DIST asmjit-2024.10.25.tar.gz 1184167 BLAKE2B 2b07a470f1b7a3886aa67bd3d8efeb35f7218622df0f21da398b724226fa7253c37c3548f9a3f29ce0d2306794af02642969e9623829750e7ed6a0e6abfd88de SHA512 aef778b28bfb7187c93f5a7c8edacbb4d57b79d32b09ce30eab52e1708f641b123d19d5501c14625a155b4add8499782f4207145addbdf670266bc121d11138b +DIST asmjit-2025.06.28.tar.gz 1213995 BLAKE2B 45dc438bafe1ec9fa606ed52e402fabd62f12ddafd8c3af60d18e1f14c42d9837ad2db86f09a51305c51313c28b5499dd50d674c7bb9cef482f457b6b3551d80 SHA512 09c5285eac5e613f8289985bbf9134c25e138b1609aee4127fac978cba3af55dd73596fb12727e2a43f041feee8cacc01efc1995a719bfc5e78662fe3b0b0b97 diff --git a/dev-libs/asmjit/asmjit-2025.06.28.ebuild b/dev-libs/asmjit/asmjit-2025.06.28.ebuild new file mode 100644 index 0000000000000..07f7d7bdc5d6a --- /dev/null +++ b/dev-libs/asmjit/asmjit-2025.06.28.ebuild @@ -0,0 +1,33 @@ +# Copyright 2022-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit cmake + +DESCRIPTION="Machine code generation for C++" +HOMEPAGE="https://asmjit.com/" +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/asmjit/asmjit" +else + CommitId=a3199e8857792cd10b7589ff5d58343d2c9008ea + SRC_URI="https://github.com/asmjit/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~x86" + S="${WORKDIR}"/${PN}-${CommitId} +fi + +LICENSE="ZLIB" +SLOT="0" +IUSE="test" + +BDEPEND="test? ( dev-cpp/gtest )" +RESTRICT="!test? ( test )" + +DOCS=( README.md CONTRIBUTING.md ) + +src_configure() { + local mycmakeargs=( + -DASMJIT_TEST=$(usex test) + ) + cmake_src_configure +} diff --git a/dev-libs/asmjit/asmjit-9999.ebuild b/dev-libs/asmjit/asmjit-9999.ebuild index 69fb1376fe46b..8c44bb7823a97 100644 --- a/dev-libs/asmjit/asmjit-9999.ebuild +++ b/dev-libs/asmjit/asmjit-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2022-2024 Gentoo Authors +# Copyright 2022-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -10,9 +10,9 @@ if [[ ${PV} == 9999 ]]; then inherit git-r3 EGIT_REPO_URI="https://github.com/asmjit/asmjit" else - CommitId=f1096428b87e9d16305de16e91f2a7f52aef5a88 + CommitId=REPLACE_ME SRC_URI="https://github.com/asmjit/${PN}/archive/${CommitId}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64" + KEYWORDS="~amd64 ~arm64 ~x86" S="${WORKDIR}"/${PN}-${CommitId} fi