summaryrefslogtreecommitdiff
path: root/media-libs/sheenbidi/sheenbidi-3.0.0.ebuild
blob: bab1ffa72a8da9541b0e96fe5baa149ae296bff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

# Use cmake instead of meson to get the cmake configuration file for libsfml.
# Also meson builds tests unconditionally
inherit cmake

DESCRIPTION="A sophisticated implementation of Unicode Bidirectional Algorithm"
HOMEPAGE="https://github.com/Tehreer/SheenBidi"
SRC_URI="
	https://github.com/Tehreer/SheenBidi/archive/refs/tags/v${PV}.tar.gz
		-> ${P}.tar.gz
"
S="${WORKDIR}/SheenBidi-${PV}"

LICENSE="Apache-2.0"
SLOT="0/$(ver_cut 1)"
KEYWORDS="~amd64"

IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DSB_CONFIG_UNITY=OFF
		#-DBUILD_GENERATOR= use flag?
		-DBUILD_TESTING=$(usex test)
	)
	cmake_src_configure
}