summaryrefslogtreecommitdiff
blob: e43f315a2581542dc3609ae2cd72b868e7e19463 (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
33
34
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake-utils

DESCRIPTION="vector optimized library of kernels"
HOMEPAGE="http://libvolk.org"
SRC_URI="https://github.com/gnuradio/volk/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+orc"

RDEPEND="!<net-wireless/gnuradio-3.8
	dev-libs/boost
	dev-lang/orc"
DEPEND="${RDEPEND}
	dev-python/mako
	dev-python/six"

#https://github.com/gnuradio/volk/issues/382
RESTRICT=test

CMAKE_BUILD_TYPE=Release

src_configure() {
	local mycmakeargs=(
		-DENABLE_ORC=$(usex orc)
	)
	cmake-utils_src_configure
}