public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Thomas Beierlein" <tomjbe@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-osmosdr/
Date: Thu, 18 Aug 2022 17:51:28 +0000 (UTC)	[thread overview]
Message-ID: <1660845046.7572f95b8cdc8dfae8a302af446c7f4b1481dcc5.tomjbe@gentoo> (raw)

commit:     7572f95b8cdc8dfae8a302af446c7f4b1481dcc5
Author:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 18 17:50:46 2022 +0000
Commit:     Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Thu Aug 18 17:50:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7572f95b

net-wireless/gr-osmosdr: add 0.2.3_p20210128

Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>

 net-wireless/gr-osmosdr/Manifest                   |  1 +
 .../gr-osmosdr/gr-osmosdr-0.2.3_p20210128.ebuild   | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/net-wireless/gr-osmosdr/Manifest b/net-wireless/gr-osmosdr/Manifest
index 436343f9a5f7..0eba2d41db44 100644
--- a/net-wireless/gr-osmosdr/Manifest
+++ b/net-wireless/gr-osmosdr/Manifest
@@ -1 +1,2 @@
 DIST gr-osmosdr-0.2.3.tar.gz 252727 BLAKE2B 04fe86496c09a274058bfd812fc14d7843d7e9db2648cf2cf5292e50494a859e22b1ab211f7078f2b6964c786c5f5ad5c3c9d2dd44ec5fc96d240b96f2cb63f4 SHA512 3c82a39972a309aa5b023b9c5e61f1fc80b797380b7a6c6c23cd4fe278cfaba3ab3019f32d38ebc01300868bb892f6aaaa7f12c9ee9b7ab5ba3e38817a40bf3e
+DIST gr-osmosdr-0.2.3_p20210128.tar.gz 257938 BLAKE2B 1bdb3b57ec6a2f942769770c34d41b4e3db5b62f8c337d724b0099f9a2fe5bdb7231bc0727dfe4bd01cd62918b4847ea2f8780208c0960bced5853c716ec6f02 SHA512 4dcb6b2c10eeb2252111ba691be179fe5b6dc9598fa7e6129a3b214ee74d43ca2d67ab5eafa73cea2abb25729c24be0592585d149e13c7285f2ce330e52a6470

diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128.ebuild
new file mode 100644
index 000000000000..518b27caa2a1
--- /dev/null
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf"
+HOMEPAGE="http://sdr.osmocom.org/trac/wiki/GrOsmoSDR"
+
+if [[ ${PV} == 9999* ]]; then
+	inherit git-r3
+	EGIT_REPO_URI="https://github.com/osmocom/gr-osmosdr.git"
+else
+	COMMIT="a100eb024c0210b95e4738b6efd836d48225bd03"
+	SRC_URI="https://github.com/osmocom/gr-osmosdr/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+	S="${WORKDIR}/${PN}-${COMMIT}"
+	KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+IUSE="airspy bladerf hackrf iqbalance python rtlsdr sdrplay soapy uhd xtrx"
+
+RDEPEND="${PYTHON_DEPS}
+	dev-libs/boost:=
+	dev-libs/log4cpp
+	>=net-wireless/gnuradio-3.9.0.0:0=[${PYTHON_SINGLE_USEDEP}]
+	sci-libs/volk:=
+	airspy? ( net-wireless/airspy )
+	bladerf? ( >=net-wireless/bladerf-2018.08_rc1:= )
+	hackrf? ( net-libs/libhackrf:= )
+	iqbalance? ( net-wireless/gr-iqbal:=[${PYTHON_SINGLE_USEDEP}] )
+	rtlsdr? ( >=net-wireless/rtl-sdr-0.5.4:= )
+	sdrplay? ( net-wireless/sdrplay )
+	soapy? ( net-wireless/soapysdr:= )
+	uhd? ( net-wireless/uhd:=[${PYTHON_SINGLE_USEDEP}] )
+	xtrx? ( net-wireless/libxtrx )
+	"
+DEPEND="${RDEPEND}
+	dev-lang/swig
+	"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_DEFAULT=OFF
+		-DPYTHON_EXECUTABLE="${PYTHON}"
+		-DENABLE_FILE=ON
+		-DENABLE_AIRSPY="$(usex airspy ON OFF)"
+		-DENABLE_BLADERF="$(usex bladerf ON OFF)"
+		-DENABLE_HACKRF="$(usex hackrf ON OFF)"
+		-DENABLE_IQBALANCE="$(usex iqbalance ON OFF)"
+		-DENABLE_PYTHON="$(usex python ON OFF)"
+		-DENABLE_RTL="$(usex rtlsdr ON OFF)"
+		-DENABLE_RTL_TCP="$(usex rtlsdr ON OFF)"
+		-DENABLE_SDRPLAY="$(usex sdrplay ON OFF)"
+		-DENABLE_NONFREE="$(usex sdrplay ON OFF)"
+		-DENABLE_SOAPY="$(usex soapy ON OFF)"
+		-DENABLE_UHD="$(usex uhd ON OFF)"
+		-DENABLE_XTRX="$(usex xtrx ON OFF)"
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+	if use python; then
+		find "${D}" -name '*.py[oc]' -delete || die
+		python_fix_shebang "${ED}"/usr/bin
+		python_optimize
+	fi
+	mv "${ED}/usr/share/doc/${PN}" "${ED}/usr/share/doc/${P}"
+}


             reply	other threads:[~2022-08-18 17:51 UTC|newest]

Thread overview: 49+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-18 17:51 Thomas Beierlein [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-06-22 14:54 [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-osmosdr/ Thomas Beierlein
2024-05-31 10:43 Thomas Beierlein
2024-01-03 19:31 Rick Farina
2024-01-03 19:31 Rick Farina
2024-01-03 19:31 Rick Farina
2023-12-16  3:04 Rick Farina
2023-04-06  2:18 Rick Farina
2023-04-04 23:55 Sam James
2023-02-17 22:26 Rick Farina
2023-02-17 22:26 Rick Farina
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2023-01-25  6:10 Sam James
2022-11-22 16:42 Thomas Beierlein
2022-11-22  7:16 Thomas Beierlein
2022-11-22  7:16 Thomas Beierlein
2022-11-19  1:07 Yixun Lan
2022-11-18  6:38 Arthur Zamarin
2022-08-29 12:08 Thomas Beierlein
2022-07-19  1:50 Sam James
2022-07-19  1:50 Sam James
2022-06-10 13:45 Thomas Beierlein
2021-06-02 17:31 Rick Farina
2021-03-25 18:29 Rick Farina
2021-02-15  2:19 Rick Farina
2020-12-18 19:41 Rick Farina
2020-11-24 18:22 Rick Farina
2020-10-11 14:33 Mikle Kolyada
2020-09-04 16:22 Rick Farina
2020-09-04 16:22 Rick Farina
2020-09-04 16:22 Rick Farina
2020-06-01 20:45 Rick Farina
2020-02-09 16:34 Michał Górny
2019-12-04  0:25 Rick Farina
2019-08-28 16:14 Rick Farina
2019-07-03  5:22 Rick Farina
2018-11-07 20:01 Rick Farina
2018-11-07 20:01 Rick Farina
2018-08-25 19:22 Christian Ruppert
2018-08-16 20:45 Richard Farina
2018-08-16 20:45 Richard Farina
2018-06-06  8:17 Andreas Sturmlechner
2018-06-06  8:13 Andreas Sturmlechner
2018-02-22  3:14 Richard Farina
2018-02-19 17:29 Richard Farina
2015-12-19 14:04 Chí-Thanh Christopher Nguyễn

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=1660845046.7572f95b8cdc8dfae8a302af446c7f4b1481dcc5.tomjbe@gentoo \
    --to=tomjbe@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