summaryrefslogtreecommitdiff
blob: 9694b30ce2ef5c5d22a99e8ac721ed39ed3820cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8
inherit cmake

DESCRIPTION="DSP IIR realtime filter library written in C++"
HOMEPAGE="https://github.com/berndporr/iir1"
SRC_URI="https://github.com/berndporr/iir1/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DIIR1_BUILD_DEMO=no
		-DIIR1_BUILD_TESTING=$(usex test)
	)
	cmake_src_configure
}