Files
guru/media-libs/blend2d/blend2d-9999.ebuild
Takuya Wakazono 05bbbba763 media-libs/blend2d: disable JIT for now
Disable JIT until a newer version of dev-libs/asmjit is available in
::gentoo.

Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2024-11-10 12:35:51 +09:00

36 lines
788 B
Bash

# Copyright 2022-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="2D vector graphics library powered by a JIT compiler."
HOMEPAGE="https://blend2d.com/"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}"
else
SRC_URI="https://blend2d.com/download/${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}"
fi
LICENSE="ZLIB"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
DOCS=( README.md CONTRIBUTING.md )
src_configure() {
local mycmakeargs=(
-DBLEND2D_TEST=$(usex test)
-DBLEND2D_EXTERNAL_ASMJIT=ON
# dev-libs/asmjit-2022.07.02 is incompatible, disable JIT for now.
# https://github.com/gentoo/gentoo/pull/39251
-DBLEND2D_NO_JIT=ON
)
cmake_src_configure
}