net-wireless/soapyplutosdr: initial ebuild
authorZero_Chaos <zerochaos@gentoo.org>
Tue, 4 Sep 2018 20:54:13 +0000 (20:54 +0000)
committerZero_Chaos <zerochaos@gentoo.org>
Tue, 4 Sep 2018 20:54:31 +0000 (20:54 +0000)
Package-Manager: Portage-2.3.48, Repoman-2.3.10

net-wireless/soapyplutosdr/Manifest [new file with mode: 0644]
net-wireless/soapyplutosdr/metadata.xml [new file with mode: 0644]
net-wireless/soapyplutosdr/soapyplutosdr-0.0_p20180825.ebuild [new file with mode: 0644]
net-wireless/soapyplutosdr/soapyplutosdr-9999.ebuild [new file with mode: 0644]

diff --git a/net-wireless/soapyplutosdr/Manifest b/net-wireless/soapyplutosdr/Manifest
new file mode 100644 (file)
index 0000000..cae9271
--- /dev/null
@@ -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 (file)
index 0000000..04bd48d
--- /dev/null
@@ -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>zerochaos@gentoo.org</email>
+               <name>Rick Farina</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>radio@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 (file)
index 0000000..a5f9a16
--- /dev/null
@@ -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 (file)
index 0000000..a5f9a16
--- /dev/null
@@ -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}"