From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3505315817D for ; Sat, 22 Jun 2024 14:54:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5499DE2AAE; Sat, 22 Jun 2024 14:54:42 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 31B84E2AAE for ; Sat, 22 Jun 2024 14:54:42 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 2E96B335CB9 for ; Sat, 22 Jun 2024 14:54:41 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26A4A1682 for ; Sat, 22 Jun 2024 14:54:39 +0000 (UTC) From: "Thomas Beierlein" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Thomas Beierlein" Message-ID: <1719068039.0d7e78a2c5af74227f743fe464574c478c69a001.tomjbe@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-wireless/gr-osmosdr/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-wireless/gr-osmosdr/Manifest net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild X-VCS-Directories: net-wireless/gr-osmosdr/ X-VCS-Committer: tomjbe X-VCS-Committer-Name: Thomas Beierlein X-VCS-Revision: 0d7e78a2c5af74227f743fe464574c478c69a001 X-VCS-Branch: master Date: Sat, 22 Jun 2024 14:54:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e2fa2093-8665-4b25-b96f-db1439695d7e X-Archives-Hash: ad59e358d1b62d6bdbd9d2245aef72c3 commit: 0d7e78a2c5af74227f743fe464574c478c69a001 Author: Thomas Beierlein gentoo org> AuthorDate: Sat Jun 22 14:53:59 2024 +0000 Commit: Thomas Beierlein gentoo org> CommitDate: Sat Jun 22 14:53:59 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d7e78a2 net-wireless/gr-osmosdr: add 0.2.6 Signed-off-by: Thomas Beierlein gentoo.org> net-wireless/gr-osmosdr/Manifest | 1 + net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild | 84 +++++++++++++++++++++++++ 2 files changed, 85 insertions(+) diff --git a/net-wireless/gr-osmosdr/Manifest b/net-wireless/gr-osmosdr/Manifest index 5c2f7e00a90c..954c47c9680f 100644 --- a/net-wireless/gr-osmosdr/Manifest +++ b/net-wireless/gr-osmosdr/Manifest @@ -1 +1,2 @@ DIST gr-osmosdr-0.2.5.tar.gz 267914 BLAKE2B cec3790513a8e050610cb4b7f928c7b1d47e5b34e372f577c7f90a929a7353e2d7a86d04b8fcde57b24cc08554c5bee7257c052263de55e0f5ba3201f19a275c SHA512 d1c126d94accbd292624022df6ff7febecb1c73c3a1a0c3e8d0e3e4d882076df5b77ad14d79966a150e2c9d889c391239b1dc831acf49cdf891a19db7f830901 +DIST gr-osmosdr-0.2.6.tar.gz 268003 BLAKE2B e9826301e2836dbe937aa69bcc8078769a44889b19aa8981224ab4b0de96bd93cd3b6a0b42366b85e44854fc4300c5846cd07fdd5d9e3f7695082be3a29cb249 SHA512 2afac3503e74b67c8fb20b51dbe3c4d25f8247a9da4bfd9aec6d68412381e5e2319e8cc5b411faa9909a6c2b00c4844307c94d63e4efd613a2ddba027fd2e570 diff --git a/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild new file mode 100644 index 000000000000..45b04b67fe12 --- /dev/null +++ b/net-wireless/gr-osmosdr/gr-osmosdr-0.2.6.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +PYTHON_COMPAT=( python3_{9..12} ) + +inherit cmake python-single-r1 + +DESCRIPTION="GNU Radio source block for OsmoSDR and rtlsdr and hackrf" +HOMEPAGE=" + https://sdr.osmocom.org/trac/wiki/GrOsmoSDR + https://gitea.osmocom.org/sdr/gr-osmosdr +" + +if [[ ${PV} == 9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://gitea.osmocom.org/sdr/gr-osmosdr.git" +else + SRC_URI="https://gitea.osmocom.org/sdr/gr-osmosdr/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm ~riscv ~x86" + S="${WORKDIR}/${PN}" +fi + +LICENSE="GPL-3" +SLOT="0/${PV}" +IUSE="airspy bladerf doc hackrf iqbalance rtlsdr sdrplay soapy uhd xtrx" + +RDEPEND="${PYTHON_DEPS} + dev-libs/boost:= + dev-libs/log4cpp + net-wireless/gnuradio: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-text/doxygen ) + " + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +PATCHES=( + "${FILESDIR}/${PN}-0.2.3_p20210128-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=ON + -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 + find "${ED}" -name '*.py[oc]' -delete || die + python_fix_shebang "${ED}"/usr/bin + python_optimize +}