Files
gentoo/dev-libs/asmjit/asmjit-2026.02.15.ebuild
Alexander Golubev 9b6e9a0c32 dev-libs/asmjit: add 2026.02.15
The newer version is required for media-libs/blend2d in guru.
Note: it breaks both API&ABI once again.

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/45895
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
2026-03-06 16:30:00 +01:00

35 lines
805 B
Bash

# Copyright 2022-2026 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=64a88ed1d8abb2e2b17a938a5ce7c1b66dabb695
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"
# NOTE: subslot is last commit marked with [abi] in git
SLOT="0/2025.06.12"
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
}