summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Beierlein <tomjbe@gentoo.org>2022-08-18 19:41:33 +0200
committerThomas Beierlein <tomjbe@gentoo.org>2022-08-18 19:44:20 +0200
commita9814f4ab3da9c50f0c52121ce625fd7dd321c20 (patch)
tree943fb9308aba1360837d1cb83632db64b715cfde /net-wireless/gr-iqbal
parentdev-python/sphinxcontrib-apidoc: keyword 0.3.0-r1 for ~arm, ~arm64, ~riscv (diff)
downloadgentoo-a9814f4ab3da9c50f0c52121ce625fd7dd321c20.tar.gz
gentoo-a9814f4ab3da9c50f0c52121ce625fd7dd321c20.tar.bz2
gentoo-a9814f4ab3da9c50f0c52121ce625fd7dd321c20.zip
net-wireless/gr-iqbal: add 0.38.2_p20210108
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
Diffstat (limited to 'net-wireless/gr-iqbal')
-rw-r--r--net-wireless/gr-iqbal/Manifest1
-rw-r--r--net-wireless/gr-iqbal/gr-iqbal-0.38.2_p20210108.ebuild45
2 files changed, 46 insertions, 0 deletions
diff --git a/net-wireless/gr-iqbal/Manifest b/net-wireless/gr-iqbal/Manifest
index 18a1da7d9444..d41286bd8cbf 100644
--- a/net-wireless/gr-iqbal/Manifest
+++ b/net-wireless/gr-iqbal/Manifest
@@ -1 +1,2 @@
DIST gr-iqbal-0.38.2.tar.gz 106408 BLAKE2B 8c9eb0880f527708cb304d9b70d0ab46c1f430aecf520366f85f3b74e1e1e2b612360cebc0dc9d6431f42adf2602baaaf1ebbe3b58ad08791d30f9604c96fd6c SHA512 39ca96769c3d7910c6ca7da973fdfbab816b45ec339adb5bbf32d07d2e967fb3e7265e907f9abbdf4e2b754dc03e9eac970c0cef3df4f07470ec4ba947900cb6
+DIST gr-iqbal-0.38.2_p20210108.tar.gz 84577 BLAKE2B f12ab4965e5f896698843c9ef8907cd8263f6fba3365ea26420750ab221106a3fbbee6750cf587299a9528cecbb504c23d4f2085596683cb85eb6f6fb7ab814b SHA512 b9866f6ff3d6dba1e94428efed029356e436059fa1d6cb7f4c3da0b37842c025161f1532da6048c9b9cc5ce426eea14622ac6680176cff52f85bc0b2fda8c698
diff --git a/net-wireless/gr-iqbal/gr-iqbal-0.38.2_p20210108.ebuild b/net-wireless/gr-iqbal/gr-iqbal-0.38.2_p20210108.ebuild
new file mode 100644
index 000000000000..fc0b2d8b3fc0
--- /dev/null
+++ b/net-wireless/gr-iqbal/gr-iqbal-0.38.2_p20210108.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit cmake python-single-r1
+
+DESCRIPTION="gnuradio I/Q balancing"
+HOMEPAGE="http://git.osmocom.org/gr-iqbal/"
+
+if [[ ${PV} == 9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/osmocom/gr-iqbal.git"
+else
+ COMMIT="fbee239a6fb36dd2fb564f6e6a0d393c4bc844db"
+ SRC_URI="https://github.com/osmocom/gr-iqbal/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+ S="${WORKDIR}/${PN}-${COMMIT}"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0/${PV}"
+IUSE="doc"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RDEPEND=">=net-wireless/gnuradio-3.9.0.0:0=[${PYTHON_SINGLE_USEDEP}]
+ net-libs/libosmo-dsp:=
+ dev-libs/boost:=
+ ${PYTHON_DEPS}"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_DOXYGEN="$(usex doc)"
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ cmake_src_install
+ find "${D}" -name '__init__.py[co]' -delete || die
+ python_optimize
+ mv "${ED}/usr/share/doc/gr-iqbalance" "${ED}/usr/share/doc/${P}"
+}