blob: 155e910a8dcafdddc1193f4f888798f123c51419 (
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
|
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="C++ JPEG-LS library implementation"
HOMEPAGE="https://github.com/team-charls/charls"
SRC_URI="https://github.com/team-charls/charls/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
src_configure() {
# It doesn't seem like there is an automated way to run the test programs
# The samples option builds them, but do not install the resulting binaries
local mycmakeargs=(
-DCHARLS_BUILD_TESTS=OFF
-DCHARLS_BUILD_FUZZ_TEST=OFF
-DCHARLS_BUILD_SAMPLES=OFF
-DBUILD_SHARED_LIBS=ON
)
cmake_src_configure
}
|