summaryrefslogtreecommitdiff
blob: 1ab71952dffc823c2f8b88471a2460d081a40993 (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
# Copyright 2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

inherit cmake-utils

DESCRIPTION="power spectrum for RTLSDR dongles"
HOMEPAGE="https://github.com/AD-Vega/rtl-power-fftw"

LICENSE="GPL-3"
SLOT="0"
if [ "${PV}" = "9999" ]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/AD-Vega/rtl-power-fftw.git"
else
	KEYWORDS="~amd64 ~x86"
	COMMIT="d567a454a6c96a67c61242178363e29d4cc84d64"
	SRC_URI="https://github.com/AD-Vega/rtl-power-fftw/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/${PN//_/-}-${COMMIT}"
fi

IUSE=""

RDEPEND="dev-cpp/tclap
	sci-libs/fftw:=
	net-wireless/rtl-sdr:="
DEPEND="${RDEPEND}
	virtual/pkgconfig"