net-wireless/soapyuhd: import from pentoo
authorZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 16:48:36 +0000 (11:48 -0500)
committerZero_Chaos <zerochaos@gentoo.org>
Mon, 19 Feb 2018 17:29:13 +0000 (12:29 -0500)
module for soapysdr

Package-Manager: Portage-2.3.24, Repoman-2.3.6

net-wireless/soapyuhd/Manifest [new file with mode: 0644]
net-wireless/soapyuhd/metadata.xml [new file with mode: 0644]
net-wireless/soapyuhd/soapyuhd-0.3.4.ebuild [new file with mode: 0644]
net-wireless/soapyuhd/soapyuhd-9999.ebuild [new file with mode: 0644]

diff --git a/net-wireless/soapyuhd/Manifest b/net-wireless/soapyuhd/Manifest
new file mode 100644 (file)
index 0000000..b360091
--- /dev/null
@@ -0,0 +1 @@
+DIST soapyuhd-0.3.4.tar.gz 32111 BLAKE2B 77e976f0d5ba671fb7ff2f9822b62ab6de9b6992dc57e7824fbf7972fa52e864a33673c3620094871117a33008cf86e834d7401b2ddd060a96662d2caa48d6e4 SHA512 2eda4d0ed65d86e915ad24c5221c41716ad838ea444d92ade5eb19959bc6992132dc208ceafe994cd14e4c4a429a21341c7c5d67d354999b85e96f388cb3aa4e
diff --git a/net-wireless/soapyuhd/metadata.xml b/net-wireless/soapyuhd/metadata.xml
new file mode 100644 (file)
index 0000000..711cc17
--- /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/SoapyUHD</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/net-wireless/soapyuhd/soapyuhd-0.3.4.ebuild b/net-wireless/soapyuhd/soapyuhd-0.3.4.ebuild
new file mode 100644 (file)
index 0000000..626e902
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Soapy SDR plugins for UHD supported SDR devices "
+HOMEPAGE="https://github.com/pothosware/SoapyUHD"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyUHD.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyUHD/archive/soapy-uhd-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyUHD-soapy-uhd-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               net-wireless/uhd:=
+               dev-libs/boost:="
+DEPEND="${RDEPEND}"
diff --git a/net-wireless/soapyuhd/soapyuhd-9999.ebuild b/net-wireless/soapyuhd/soapyuhd-9999.ebuild
new file mode 100644 (file)
index 0000000..626e902
--- /dev/null
@@ -0,0 +1,27 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Soapy SDR plugins for UHD supported SDR devices "
+HOMEPAGE="https://github.com/pothosware/SoapyUHD"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyUHD.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyUHD/archive/soapy-uhd-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyUHD-soapy-uhd-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               net-wireless/uhd:=
+               dev-libs/boost:="
+DEPEND="${RDEPEND}"