public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rick Farina" <zerochaos@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/
Date: Tue,  4 Apr 2023 19:56:51 +0000 (UTC)	[thread overview]
Message-ID: <1680638112.09269b4821e5a1d02a8c2c5769ca813499b1e59e.zerochaos@gentoo> (raw)

commit:     09269b4821e5a1d02a8c2c5769ca813499b1e59e
Author:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
AuthorDate: Tue Apr  4 19:54:53 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Tue Apr  4 19:55:12 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=09269b48

net-wireless/soapysdr: add 0.8.1

Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/soapysdr/Manifest              |  1 +
 net-wireless/soapysdr/soapysdr-0.8.1.ebuild | 60 +++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/net-wireless/soapysdr/Manifest b/net-wireless/soapysdr/Manifest
index 8736fc69bae5..608bd6bf2e48 100644
--- a/net-wireless/soapysdr/Manifest
+++ b/net-wireless/soapysdr/Manifest
@@ -1 +1,2 @@
 DIST soapysdr-0.7.2.tar.gz 124607 BLAKE2B 534480574e2085bddea52141f26e0da8c70157e2c89a0af1236f3d1eb5b996d4ae5231cd209c610fc22d099bd9db665c4c7aea54081eeca2bb293b9eb1fe7c8e SHA512 2454b9b6bf4542f3bce2c6a8e1c886cee9179ca0e13e3c1e22817a05ef671428a3cb8fea69e496c8b62573f360c248508edf3d0871ec5063dfac8211b122d371
+DIST soapysdr-0.8.1.tar.gz 131252 BLAKE2B 4dc97b683063a1bc52717f15b12a2471a338cebc30dccfd58723792119a496f5170b67eeda1ff4dbcd34811948f70b9f0e5df11b5b1738b46839ca7377fe557b SHA512 50c8f1652bf9ca09215f9c4115175427ca7b5338add7591e31ca0e627093c94b73e7cf7f84fa71ff419cc010d3c1263931506c728bbaa00413a7915d56a87787

diff --git a/net-wireless/soapysdr/soapysdr-0.8.1.ebuild b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
new file mode 100644
index 000000000000..d05998052986
--- /dev/null
+++ b/net-wireless/soapysdr/soapysdr-0.8.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..11} )
+
+inherit cmake python-r1
+
+DESCRIPTION="vendor and platform neutral SDR support library"
+HOMEPAGE="https://github.com/pothosware/SoapySDR"
+
+if [ "${PV}" = "9999" ]; then
+	EGIT_REPO_URI="https://github.com/pothosware/SoapySDR.git"
+	EGIT_CLONE_TYPE="shallow"
+	inherit git-r3
+else
+	KEYWORDS="~amd64 ~arm ~riscv ~x86"
+	SRC_URI="https://github.com/pothosware/SoapySDR/archive/soapy-sdr-${PV}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}"/SoapySDR-soapy-sdr-"${PV}"
+fi
+
+LICENSE="Boost-1.0"
+SLOT="0/${PV}"
+
+IUSE="bladerf hackrf python rtlsdr plutosdr uhd"
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+RDEPEND="python? ( ${PYTHON_DEPS} )"
+DEPEND="${RDEPEND}
+	python? ( dev-lang/swig:0 )
+"
+PDEPEND="bladerf? ( net-wireless/soapybladerf )
+		hackrf? ( net-wireless/soapyhackrf )
+		rtlsdr? ( net-wireless/soapyrtlsdr )
+		plutosdr? ( net-wireless/soapyplutosdr )
+		uhd? ( net-wireless/soapyuhd )"
+
+src_configure() {
+	configuration() {
+		mycmakeargs+=(
+			-DENABLE_PYTHON=ON
+			-DBUILD_PYTHON3=ON
+		)
+	}
+
+	if use python; then
+		python_foreach_impl configuration
+	fi
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	if use python; then
+		python_foreach_impl python_optimize
+	fi
+}


             reply	other threads:[~2023-04-04 19:57 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-04 19:56 Rick Farina [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-02  1:46 [gentoo-commits] repo/gentoo:master commit in: net-wireless/soapysdr/ Sam James
2024-06-02  1:44 Sam James
2024-05-18  8:18 Arthur Zamarin
2023-08-19 13:41 Rick Farina
2023-08-19 13:41 Rick Farina
2023-08-19 13:41 Rick Farina
2023-04-06  2:18 Rick Farina
2023-04-04 19:56 Rick Farina
2022-07-13  6:15 Sam James
2022-06-10 13:03 Thomas Beierlein
2022-04-30 19:09 Marek Szuba
2021-06-10  3:37 Sam James
2020-12-04  3:16 Rick Farina
2020-08-14 23:22 Andreas Sturmlechner
2020-02-10 21:25 Michał Górny
2019-12-20 19:41 Rick Farina
2019-08-28 14:52 Rick Farina
2018-11-07 20:01 Rick Farina
2018-09-04 20:54 Richard Farina
2018-08-26 10:03 Christian Ruppert
2018-02-19 17:29 Richard Farina

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1680638112.09269b4821e5a1d02a8c2c5769ca813499b1e59e.zerochaos@gentoo \
    --to=zerochaos@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox