From: Zero_Chaos Date: Tue, 4 Sep 2018 20:54:13 +0000 (+0000) Subject: net-wireless/soapyplutosdr: initial ebuild X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=c4aaf04edbf009d815de680fb67de5097c9a1f48;p=gentoo.git net-wireless/soapyplutosdr: initial ebuild Package-Manager: Portage-2.3.48, Repoman-2.3.10 --- diff --git a/net-wireless/soapyplutosdr/Manifest b/net-wireless/soapyplutosdr/Manifest new file mode 100644 index 000000000000..cae9271d95de --- /dev/null +++ b/net-wireless/soapyplutosdr/Manifest @@ -0,0 +1 @@ +DIST soapyplutosdr-0.0_p20180825.tar.gz 17597 BLAKE2B d5b6205da7aa64406ccf84d198088094c10397ca874925926dfe2ee3134e045c3ab80b68db06ee84448ae8966e2d8edecb2517ef70b10bbddd9681fcbf09385a SHA512 40cc7c83c13f1d81212c5b0b6028d49de6c9e0b4df9e479c5cb577f60a92b415f76e159d45ecf19aad2deac507f7bd779b7cce1f7bc5e6fd2ea9a3f24399dfe7 diff --git a/net-wireless/soapyplutosdr/metadata.xml b/net-wireless/soapyplutosdr/metadata.xml new file mode 100644 index 000000000000..04bd48d30e55 --- /dev/null +++ b/net-wireless/soapyplutosdr/metadata.xml @@ -0,0 +1,15 @@ + + + + + zerochaos@gentoo.org + Rick Farina + + + radio@gentoo.org + Radio + + + pothosware/SoapyPlutoSDR + + diff --git a/net-wireless/soapyplutosdr/soapyplutosdr-0.0_p20180825.ebuild b/net-wireless/soapyplutosdr/soapyplutosdr-0.0_p20180825.ebuild new file mode 100644 index 000000000000..a5f9a164f11d --- /dev/null +++ b/net-wireless/soapyplutosdr/soapyplutosdr-0.0_p20180825.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 + KEYWORDS="" +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}" diff --git a/net-wireless/soapyplutosdr/soapyplutosdr-9999.ebuild b/net-wireless/soapyplutosdr/soapyplutosdr-9999.ebuild new file mode 100644 index 000000000000..a5f9a164f11d --- /dev/null +++ b/net-wireless/soapyplutosdr/soapyplutosdr-9999.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 + KEYWORDS="" +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}"