public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/
@ 2018-08-25 19:22 Christian Ruppert
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ruppert @ 2018-08-25 19:22 UTC (permalink / raw
  To: gentoo-commits

commit:     92df2f31ca6a25c195b06a4f11fb51e51b80101e
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 25 18:30:47 2018 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Sat Aug 25 19:22:07 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=92df2f31

net-wireless/sdrplay: Initial import

Package-Manager: Portage-2.3.48, Repoman-2.3.10

 net-wireless/sdrplay/Manifest              |  1 +
 net-wireless/sdrplay/metadata.xml          |  8 +++++
 net-wireless/sdrplay/sdrplay-2.13.1.ebuild | 49 ++++++++++++++++++++++++++++++
 3 files changed, 58 insertions(+)

diff --git a/net-wireless/sdrplay/Manifest b/net-wireless/sdrplay/Manifest
new file mode 100644
index 00000000000..c4b3064aa0b
--- /dev/null
+++ b/net-wireless/sdrplay/Manifest
@@ -0,0 +1 @@
+DIST SDRplay_RSP_API-Linux-2.13.1.run 326016 BLAKE2B 7eff1aa35190db1ead5b1d96994d24ae2301e3a765d6701756c6304a1719aa32125fedacf6a6859d89b89db5dd6956ec0e8c7e814dbd6242db5614a53e89efb3 SHA512 576be63e18084cf3e74bfb20592a44836f22fd9efe74ba9e27e5865a9ab755b26b3f2894cd8331ff876ab664d4e533d2bdbc629d552e75fcfbb3e9814dd140ce

diff --git a/net-wireless/sdrplay/metadata.xml b/net-wireless/sdrplay/metadata.xml
new file mode 100644
index 00000000000..5840601f180
--- /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 00000000000..5528d10526f
--- /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"
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/
@ 2019-01-08  4:10 Rick Farina
  0 siblings, 0 replies; 5+ messages in thread
From: Rick Farina @ 2019-01-08  4:10 UTC (permalink / raw
  To: gentoo-commits

commit:     3b857e5323c89eaef8c5e2d4c2d6fc2b8e1dc963
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  8 04:09:08 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jan  8 04:10:27 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b857e53

net-wireless/sdrplay: fix deps

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 .../sdrplay/{sdrplay-2.13.1.ebuild => sdrplay-2.13.1-r1.ebuild}      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/net-wireless/sdrplay/sdrplay-2.13.1.ebuild b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
similarity index 93%
rename from net-wireless/sdrplay/sdrplay-2.13.1.ebuild
rename to net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
index 5528d10526f..fa57c1d27a1 100644
--- a/net-wireless/sdrplay/sdrplay-2.13.1.ebuild
+++ b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -19,7 +19,8 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND=""
+DEPEND="virtual/libusb
+	virtual/udev"
 RDEPEND="${DEPEND}"
 
 S="${WORKDIR}"


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/
@ 2019-01-08  4:10 Rick Farina
  0 siblings, 0 replies; 5+ messages in thread
From: Rick Farina @ 2019-01-08  4:10 UTC (permalink / raw
  To: gentoo-commits

commit:     19ef4d12e47e1d699d874492799043faa7a163c6
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Jan  8 04:10:11 2019 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Jan  8 04:10:28 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19ef4d12

net-wireless/sdrplay: please repoman

Package-Manager: Portage-2.3.54, Repoman-2.3.12
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
index fa57c1d27a1..0154f873ac5 100644
--- a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
+++ b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
@@ -19,7 +19,7 @@ SLOT="0"
 KEYWORDS="~amd64 ~x86"
 IUSE=""
 
-DEPEND="virtual/libusb
+DEPEND="virtual/libusb:1
 	virtual/udev"
 RDEPEND="${DEPEND}"
 


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/
@ 2022-09-29 14:52 Rick Farina
  0 siblings, 0 replies; 5+ messages in thread
From: Rick Farina @ 2022-09-29 14:52 UTC (permalink / raw
  To: gentoo-commits

commit:     f46874efc4f569304a66df348376228c831f366b
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 29 14:51:56 2022 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Thu Sep 29 14:52:26 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f46874ef

net-wireless/sdrplay: minor qa fix

Closes: https://bugs.gentoo.org/849644
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/sdrplay/sdrplay-3.07.1.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net-wireless/sdrplay/sdrplay-3.07.1.ebuild b/net-wireless/sdrplay/sdrplay-3.07.1.ebuild
index b43792e02f2a..904f5ace67bd 100644
--- a/net-wireless/sdrplay/sdrplay-3.07.1.ebuild
+++ b/net-wireless/sdrplay/sdrplay-3.07.1.ebuild
@@ -64,3 +64,11 @@ multilib_src_install() {
 	dosym libsdrplay_api.so.${MY_PV_12} "/usr/$(get_libdir)/libsdrplay_api.so.${MY_PV_1}"
 	dosym libsdrplay_api.so.${MY_PV_1} "/usr/$(get_libdir)/libsdrplay_api.so"
 }
+
+pkg_postinst() {
+	udev_reload
+}
+
+pkg_postrm() {
+	udev_reload
+}


^ permalink raw reply related	[flat|nested] 5+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/
@ 2024-05-21 14:54 Christian Ruppert
  0 siblings, 0 replies; 5+ messages in thread
From: Christian Ruppert @ 2024-05-21 14:54 UTC (permalink / raw
  To: gentoo-commits

commit:     bb60618fb5a9d873880b5b2d5388fd684068342e
Author:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
AuthorDate: Tue May 21 14:54:26 2024 +0000
Commit:     Christian Ruppert <idl0r <AT> gentoo <DOT> org>
CommitDate: Tue May 21 14:54:26 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb60618f

net-wireless/sdrplay: EAPI 6->8

Bug: https://bugs.gentoo.org/867280
Signed-off-by: Christian Ruppert <idl0r <AT> gentoo.org>

 net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
index 0154f873ac51..60f674d398fd 100644
--- a/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
+++ b/net-wireless/sdrplay/sdrplay-2.13.1-r1.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=8
 
 MULTILIB_COMPAT=( abi_x86_{32,64} )
 
-inherit versionator unpacker udev multilib-minimal
+inherit unpacker udev multilib-minimal
 
-MY_PV_1=$(get_major_version)
-MY_PV_12=$(get_version_component_range 1-2)
+MY_PV_1=$(ver_cut 1)
+MY_PV_12=$(ver_cut 1-2)
 
 DESCRIPTION="SDRplay API/HW driver for all RSPs"
 HOMEPAGE="https://www.sdrplay.com"
@@ -38,13 +38,13 @@ multilib_src_install_all() {
 
 multilib_src_install() {
 	if [ "${MULTILIB_ABI_FLAG}" = "abi_x86_32" ]; then
-		dolib "${S}/i686/libmirsdrapi-rsp.so.${MY_PV_12}"
+		dolib.so "${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}"
+		dolib.so "${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"
+	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"
 }


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2024-05-21 14:54 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-01-08  4:10 [gentoo-commits] repo/gentoo:master commit in: net-wireless/sdrplay/ Rick Farina
  -- strict thread matches above, loose matches on Subject: below --
2024-05-21 14:54 Christian Ruppert
2022-09-29 14:52 Rick Farina
2019-01-08  4:10 Rick Farina
2018-08-25 19:22 Christian Ruppert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox