commit:     c4aaf04edbf009d815de680fb67de5097c9a1f48
Author:     Zero_Chaos <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  4 20:54:13 2018 +0000
Commit:     Richard Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Sep  4 20:54:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4aaf04e

net-wireless/soapyplutosdr: initial ebuild

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-wireless/soapyplutosdr/Manifest                |  1 +
 net-wireless/soapyplutosdr/metadata.xml            | 15 ++++++++++++
 .../soapyplutosdr-0.0_p20180825.ebuild             | 28 ++++++++++++++++++++++
 .../soapyplutosdr/soapyplutosdr-9999.ebuild        | 28 ++++++++++++++++++++++
 4 files changed, 72 insertions(+)

diff --git a/net-wireless/soapyplutosdr/Manifest 
b/net-wireless/soapyplutosdr/Manifest
new file mode 100644
index 00000000000..cae9271d95d
--- /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 00000000000..04bd48d30e5
--- /dev/null
+++ b/net-wireless/soapyplutosdr/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>zeroch...@gentoo.org</email>
+               <name>Rick Farina</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>ra...@gentoo.org</email>
+               <name>Radio</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">pothosware/SoapyPlutoSDR</remote-id>
+       </upstream>
+</pkgmetadata>

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 00000000000..a5f9a164f11
--- /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 00000000000..a5f9a164f11
--- /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}"

Reply via email to