blob: 279551841bf98860d1c4ad9cd2d64f8f05e81185 (
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 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake
DESCRIPTION="Library for reading AES SOFA (Spatially Oriented Format for Acoustics) files"
HOMEPAGE="https://github.com/hoene/libmysofa"
SRC_URI="https://github.com/hoene/libmysofa/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="virtual/zlib:="
DEPEND="${RDEPEND}"
BDEPEND="
test? ( dev-util/cunit )
"
src_configure() {
local mycmakeargs=(
-DBUILD_STATIC_LIBS=OFF
-DBUILD_TESTS=$(usex test)
)
cmake_src_configure
}
|