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: Mon, 29 Aug 2022 12:08:05 +0000 (UTC) [thread overview]
Message-ID: <1661774806.48d8e802ac708411bd972944996b6e1f8ed16e38.tomjbe@gentoo> (raw)
commit: 48d8e802ac708411bd972944996b6e1f8ed16e38
Author: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 29 12:06:46 2022 +0000
Commit: Thomas Beierlein <tomjbe <AT> gentoo <DOT> org>
CommitDate: Mon Aug 29 12:06:46 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d8e802
net-wireless/gr-osmosdr: Make building documentation optional
Signed-off-by: Thomas Beierlein <tomjbe <AT> gentoo.org>
.../gr-osmosdr-0.2.3_p20210128-r1.ebuild | 85 ++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128-r1.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128-r1.ebuild
new file mode 100644
index 000000000000..93c7e4a5661e
--- /dev/null
+++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.3_p20210128-r1.ebuild
@@ -0,0 +1,85 @@
+# 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 doc 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}"
+
+BDEPEND="
+ $(python_gen_cond_dep 'dev-python/pybind11[${PYTHON_USEDEP}]')
+ doc? ( app-doc/doxygen )
+ "
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-enable-python.patch
+)
+
+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)"
+ -DENABLE_DOXYGEN="$(usex doc ON OFF)"
+ )
+
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ if use python; then
+ find "${ED}" -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}"
+}
next reply other threads:[~2022-08-29 12:08 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-29 12:08 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-18 17:51 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=1661774806.48d8e802ac708411bd972944996b6e1f8ed16e38.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