27 lines
700 B
Bash
27 lines
700 B
Bash
# Copyright 1999-2019 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit cmake-utils
|
|
|
|
DESCRIPTION="Soapy SDR plugin for the Pluto SDR"
|
|
HOMEPAGE="https://github.com/pothosware/SoapyPlutoSDR"
|
|
|
|
if [ "${PV}" = "9999" ]; then
|
|
EGIT_REPO_URI="https://github.com/pothosware/SoapyPlutoSDR.git"
|
|
inherit git-r3
|
|
else
|
|
KEYWORDS="~amd64 ~x86"
|
|
COMMIT="782650597b18f311cc97fbb7c6813539e6adef16"
|
|
SRC_URI="https://github.com/pothosware/SoapyPlutoSDR/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
|
S="${WORKDIR}"/SoapyPlutoSDR-${COMMIT}
|
|
fi
|
|
|
|
LICENSE="LGPL-2.1+"
|
|
SLOT="0"
|
|
|
|
RDEPEND="net-wireless/soapysdr:=
|
|
net-libs/libiio:=
|
|
net-libs/libad9361-iio:="
|
|
DEPEND="${RDEPEND}"
|