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

Package-Manager: Portage-2.3.24, Repoman-2.3.6

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

diff --git a/net-wireless/soapyrtlsdr/Manifest b/net-wireless/soapyrtlsdr/Manifest
new file mode 100644 (file)
index 0000000..ee3b8c0
--- /dev/null
@@ -0,0 +1 @@
+DIST soapyrtlsdr-0.2.4.tar.gz 14003 BLAKE2B b638bc9795d722446cec4e2866e3cf8ee78665b874e44bb7249b6b8c465b024488284ccf3ac50aa504146253501d96c899abfa367732f14d90cf5d3641866de0 SHA512 3e5efd18793cc0404b833784c7d0b2f1786b38ed34529c12e949ce624d2488f04f0236e86bec7da08cd0baec5f36ccb6610d945d57622868e9e340c6f288b7a6
diff --git a/net-wireless/soapyrtlsdr/metadata.xml b/net-wireless/soapyrtlsdr/metadata.xml
new file mode 100644 (file)
index 0000000..dd49239
--- /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/SoapyRTLSDR</remote-id>
+       </upstream>
+</pkgmetadata>
diff --git a/net-wireless/soapyrtlsdr/soapyrtlsdr-0.2.4.ebuild b/net-wireless/soapyrtlsdr/soapyrtlsdr-0.2.4.ebuild
new file mode 100644 (file)
index 0000000..0527f6f
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="SoapySDR RTL-SDR Support Module"
+HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtlsdr-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyRTLSDR-soapy-rtlsdr-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               net-wireless/rtl-sdr"
+DEPEND="${RDEPEND}"
diff --git a/net-wireless/soapyrtlsdr/soapyrtlsdr-9999.ebuild b/net-wireless/soapyrtlsdr/soapyrtlsdr-9999.ebuild
new file mode 100644 (file)
index 0000000..0527f6f
--- /dev/null
@@ -0,0 +1,26 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="SoapySDR RTL-SDR Support Module"
+HOMEPAGE="https://github.com/pothosware/SoapyRTLSDR"
+
+if [ "${PV}" = "9999" ]; then
+       EGIT_REPO_URI="https://github.com/pothosware/SoapyRTLSDR.git"
+       inherit git-r3
+       KEYWORDS=""
+else
+       KEYWORDS="~amd64 ~x86"
+       SRC_URI="https://github.com/pothosware/SoapyRTLSDR/archive/soapy-rtlsdr-${PV}.tar.gz -> ${P}.tar.gz"
+       S="${WORKDIR}"/SoapyRTLSDR-soapy-rtlsdr-"${PV}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+
+RDEPEND="net-wireless/soapysdr
+               net-wireless/rtl-sdr"
+DEPEND="${RDEPEND}"