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

EAPI=7
inherit cmake

DESCRIPTION="DSP specific function for SDR in general and XTRX in specific"
HOMEPAGE="https://github.com/xtrx-sdr/libxtrxdsp"
if [ "${PV}" = "9999" ]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/xtrx-sdr/libxtrxdsp.git"
else
	COMMIT="eec28640c0ebd5639b642f07b310a0a0d02d9834"
	SRC_URI="https://github.com/xtrx-sdr/libxtrxdsp/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
	S="${WORKDIR}/${PN}-${COMMIT}"
	KEYWORDS="~amd64 ~x86"
fi

LICENSE="LGPL-2.1"
SLOT="0"