media-libs/blend2d - 0.21.2 (guru)

Search

Install

Install this version:

emerge -a =media-libs/blend2d-0.21.2

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =media-libs/blend2d-0.21.2

Or alternatively:

emerge --autounmask-write -a =media-libs/blend2d-0.21.2

Package Information

Description:
2D vector graphics library powered by a JIT compiler.
Homepage:
https://blend2d.com/
License:
ZLIB

Ebuild Details

Version EAPI Keywords Slot
0.21.2 8 ~amd64 0/$(ver_cut 1-2)
View Raw Ebuild
# Copyright 2022-2026 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/$(ver_cut 1-2)"
IUSE="+jit test"
RESTRICT="!test? ( test )"

RDEPEND="jit? ( >=dev-libs/asmjit-2025.10.12:= )"
DEPEND="${RDEPEND}"

DOCS=( README.md CONTRIBUTING.md )
PATCHES=(
	"${FILESDIR}/${PN}-0.21.2-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
}

USE Flags

Manage flags for this package: euse -i <flag> -p media-libs/blend2d | euse -E <flag> -p media-libs/blend2d | euse -D <flag> -p media-libs/blend2d

Global/Standard Flags

jit
Default: Enabled (+)

Inherited Eclasses

Dependencies

DEPEND

jit? ( >=dev-libs/asmjit-2025.10.12:= )

RDEPEND

jit? ( >=dev-libs/asmjit-2025.10.12:= )

Manifest for 0.21.2

Type File Size Source URLs
DIST blend2d-0.21.2.tar.gz 2707380 bytes https://blend2d.com/download/blend2d-0.21.2.tar.gz