# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{10..13} ) inherit cmake gnome2-utils python-single-r1 udev DESCRIPTION="Universal Software Radio Peripheral (USRP) Hardware Driver" HOMEPAGE="https://kb.ettus.com" SRC_URI="https://github.com/EttusResearch/uhd/archive/v${PV}.tar.gz -> EttusResearch-UHD-${PV}.tar.gz \ https://github.com/EttusResearch/uhd/releases/download/v${PV}/uhd-images_${PV}.tar.xz" #https://github.com/EttusResearch/UHD-Mirror/tags #http://files.ettus.com/binaries/images/ S="${WORKDIR}/${P}/host" LICENSE="GPL-3" SLOT="0/$(ver_cut 1-3)" KEYWORDS="amd64 ~arm ~riscv ~x86" IUSE="+b100 +b200 doc cpu_flags_arm_neon cpu_flags_x86_ssse3 e300 examples +mpmd octoclock test +usb +usrp1 +usrp2 +utils +x300" RESTRICT="!test? ( test )" REQUIRED_USE="${PYTHON_REQUIRED_USE} b100? ( usb ) b200? ( usb ) usrp1? ( usb ) usrp2? ( usb ) || ( b100 b200 e300 mpmd usrp1 usrp2 x300 )" RDEPEND="${PYTHON_DEPS} e300? ( virtual/udev ) usb? ( virtual/libusb:1 )