summaryrefslogtreecommitdiff
path: root/net-wireless/sdrplay
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-08-29 20:19:23 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-08-29 20:19:23 +0100
commit12bb627384ddfd47382b9f1b6464481a58d01ebb (patch)
treef9760c04ccd4fcd7de214e2acd5b0e43fb530aa9 /net-wireless/sdrplay
parent5fdd950c7ae03e12746a45c86d85861beaacc846 (diff)
gentoo resync : 29.08.2018
Diffstat (limited to 'net-wireless/sdrplay')
-rw-r--r--net-wireless/sdrplay/Manifest3
-rw-r--r--net-wireless/sdrplay/metadata.xml8
-rw-r--r--net-wireless/sdrplay/sdrplay-2.13.1.ebuild49
3 files changed, 60 insertions, 0 deletions
diff --git a/net-wireless/sdrplay/Manifest b/net-wireless/sdrplay/Manifest
new file mode 100644
index 000000000000..761ad3a547dd
--- /dev/null
+++ b/net-wireless/sdrplay/Manifest
@@ -0,0 +1,3 @@
+DIST SDRplay_RSP_API-Linux-2.13.1.run 326016 BLAKE2B 7eff1aa35190db1ead5b1d96994d24ae2301e3a765d6701756c6304a1719aa32125fedacf6a6859d89b89db5dd6956ec0e8c7e814dbd6242db5614a53e89efb3 SHA512 576be63e18084cf3e74bfb20592a44836f22fd9efe74ba9e27e5865a9ab755b26b3f2894cd8331ff876ab664d4e533d2bdbc629d552e75fcfbb3e9814dd140ce
+EBUILD sdrplay-2.13.1.ebuild 1196 BLAKE2B e13102454dde509398819dd1fd1513b6f68bdfbdb0813e937f059ba7dbbbd7737405a8457d662361ca4ff615ddd4cf86a8a466660fb3bfdf287ca64e2e5f188e SHA512 cf4e0b819c8d83efca8baf6481bafbb3183798cd41f56ea19cbcb3611adffa840dffcc44a6539c3f563edcdbb00862e17dd2dcb57c1fedcfb586c28913926602
+MISC metadata.xml 249 BLAKE2B f870f9dc7bc1a515f782f4c1c544b6473b3ec16235b88a9930783ed8f7aa7f010838c37e225840b61a56c5f01c70ac3b50560fc2f5bc908418c341f51620ffe7 SHA512 1723b9b2663814b898832e18aea1a02520775e545e256fb70a8829e2b0515e59b5abab985c995b9ae2f509d95ea4601ac0085ab0d1653cdda0ebe90f775f6e5b
diff --git a/net-wireless/sdrplay/metadata.xml b/net-wireless/sdrplay/metadata.xml
new file mode 100644
index 000000000000..5840601f180f
--- /dev/null
+++ b/net-wireless/sdrplay/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>idl0r@gentoo.org</email>
+ <name>Christian Ruppert</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/net-wireless/sdrplay/sdrplay-2.13.1.ebuild b/net-wireless/sdrplay/sdrplay-2.13.1.ebuild
new file mode 100644
index 000000000000..5528d10526f9
--- /dev/null
+++ b/net-wireless/sdrplay/sdrplay-2.13.1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+MULTILIB_COMPAT=( abi_x86_{32,64} )
+
+inherit versionator unpacker udev multilib-minimal
+
+MY_PV_1=$(get_major_version)
+MY_PV_12=$(get_version_component_range 1-2)
+
+DESCRIPTION="SDRplay API/HW driver for all RSPs"
+HOMEPAGE="https://www.sdrplay.com"
+SRC_URI="http://www.sdrplay.com/software/SDRplay_RSP_API-Linux-${PV}.run"
+
+LICENSE="SDRplay"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+QA_PREBUILT="usr/lib64/libmirsdrapi-rsp.so.${MY_PV_12}
+usr/lib32/libmirsdrapi-rsp.so.${MY_PV_12}"
+
+multilib_src_install_all() {
+ insinto /usr/include/
+ doins mirsdrapi-rsp.h
+
+ udev_dorules 66-mirics.rules
+ udev_reload
+}
+
+multilib_src_install() {
+ if [ "${MULTILIB_ABI_FLAG}" = "abi_x86_32" ]; then
+ dolib "${S}/i686/libmirsdrapi-rsp.so.${MY_PV_12}"
+ fi
+
+ if [ "${MULTILIB_ABI_FLAG}" = "abi_x86_64" ]; then
+ dolib "${S}/x86_64/libmirsdrapi-rsp.so.${MY_PV_12}"
+ fi
+
+ dosym libmirsdrapi-rsp.so.${MY_PV_12} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so.${MY_PV_1}"
+ dosym libmirsdrapi-rsp.so.${MY_PV_1} "${EROOT}usr/$(get_libdir)/libmirsdrapi-rsp.so"
+}