media-libs/blend2d: add 0.12.0

Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
This commit is contained in:
Alexander Golubev
2025-07-23 18:18:48 +03:00
parent cec394f5db
commit 7dcd4ff425
3 changed files with 40 additions and 1 deletions

View File

@@ -1 +1,2 @@
DIST blend2d-0.11.4.tar.gz 2047624 BLAKE2B d2d9985e365a465d36e8a500a7fdf55e392370aec92af5d0059bcddd16ef590122fdfeff74c3ee4cacc06ca63e2434e56bbc477e25989d842c7512143d771323 SHA512 23d22e7aeccea66345cf9d2f3a6c96a16f899aaec611a8bdaa29a1f03ea40d02d2627d6b12661f0a9bc49405258e90bf23cf008310bf1f25309fb27a05d5f533
DIST blend2d-0.12.0.tar.gz 2113309 BLAKE2B 174def212ac2c01405a3e6340fe0d42cb0a1a40b6b6c9bf26a93ec517e3b3b29a047a3a1d018c2af87a6a7f164974c52cf232f893ed2956a5d58d4b8a2126d9b SHA512 16d4338b012d6c9e066359d587fca6a1432b742fad948f22776df09598678e06b3b668964376c0297af2d7b7475d34313351c6e72071b5034454518d773ec7b1

View File

@@ -0,0 +1,38 @@
# 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="+jit test"
RESTRICT="!test? ( test )"
RDEPEND="jit? ( >=dev-libs/asmjit-2024.10.25 )"
DEPEND="${RDEPEND}"
DOCS=( README.md CONTRIBUTING.md )
PATCHES=(
"${FILESDIR}/blend2d-0.11.4-avoid-adding-O2-to-cflags-gentoo-bug-943226.patch"
)
src_configure() {
local mycmakeargs=(
-DBLEND2D_NO_JIT=$(usex !jit)
-DBLEND2D_TEST=$(usex test)
-DBLEND2D_EXTERNAL_ASMJIT=ON
)
cmake_src_configure
}

View File

@@ -20,7 +20,7 @@ SLOT="0"
IUSE="+jit test"
RESTRICT="!test? ( test )"
RDEPEND="jit? ( >=dev-libs/asmjit-2024.10.25 )"
RDEPEND="jit? ( >=dev-libs/asmjit-2025.06.15 )"
DEPEND="${RDEPEND}"
DOCS=( README.md CONTRIBUTING.md )