summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRick Farina <zerochaos@gentoo.org>2023-08-19 09:29:42 -0400
committerRick Farina <zerochaos@gentoo.org>2023-08-19 09:29:42 -0400
commitbe01aa24e231481250444690b94f6fb7660db483 (patch)
tree3d89ea75df3ae838a1edf02e8f53498ac1a8d781 /net-wireless
parentnet-wireless/uhd: drop 4.2.0.0 (diff)
downloadgentoo-be01aa24e231481250444690b94f6fb7660db483.tar.gz
gentoo-be01aa24e231481250444690b94f6fb7660db483.tar.bz2
gentoo-be01aa24e231481250444690b94f6fb7660db483.zip
net-wireless/uhd: drop 4.3.0.0
Signed-off-by: Rick Farina <zerochaos@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r--net-wireless/uhd/Manifest2
-rw-r--r--net-wireless/uhd/uhd-4.3.0.0.ebuild153
2 files changed, 0 insertions, 155 deletions
diff --git a/net-wireless/uhd/Manifest b/net-wireless/uhd/Manifest
index 2000dd6e75a4..91a65be5da1c 100644
--- a/net-wireless/uhd/Manifest
+++ b/net-wireless/uhd/Manifest
@@ -1,4 +1,2 @@
-DIST EttusResearch-UHD-4.3.0.0.tar.gz 38204958 BLAKE2B 64b30d97611a96ed15b8a4bbe91065301d7b8b20e61b69e2dafd93088dcd7780c9c897462c482dff548b9b52081fa2832b09ff4a682208fed0a9a86aa3a3d957 SHA512 8907e134747b853dd3fa457ac097287783b362a56ac9fdf6fb44157baa1ddabfe3934e110bfac81180b42ea7ec2defefc444736955091a072b1166b5d27253fc
DIST EttusResearch-UHD-4.4.0.0.tar.gz 38210999 BLAKE2B defc2ae91c1422491c0c434f76852c253d84e2bdc43f6768069e23c40803d33aac8f087d51c28037102ab4760c5f3d5e04dc090655ddca26eef3440bf703db61 SHA512 3c9b57dc776e0fadc991ffeede84c2367f7403bfae6fd30a045baf1c9cfb21889310b9a8340a35ea13eea00208bf678cccd7b82e190dfb6b9d61e42bdef3b21a
-DIST uhd-images_4.3.0.0.tar.xz 126848556 BLAKE2B d352b0cbb5e23b0c16c540be756f23342aa63b14679bf19ae940cfd9f686ef2c7830b7feb0b3dc53aaec3cca502e8ab1ab9b8754c95edb116fd34f03ac378843 SHA512 3b34d7b2d3d957284cd8a94043158ba5d7b9999d3da4ed6f97f6d38b427c3af54129e7b5a9840d7ec8ff1e8c5c61ef31f62994d81d7ea8a36cbd098274a999d7
DIST uhd-images_4.4.0.0.tar.xz 127558912 BLAKE2B bb7135241c4e39db2450e0fca8c8c6b0421d76f512dca08e50732ee0a2dbfa5f330df168101607d52b6215aba083cd966027a9da8f14331f6bac17fdd76d766b SHA512 17b364128155bf850ff5ae72eeb8fa52446881d0234254943d27524610f0efc4d5bf5da7be248982fc603101d4f76f5a8019fbecb044d2637a1022cdccde0463
diff --git a/net-wireless/uhd/uhd-4.3.0.0.ebuild b/net-wireless/uhd/uhd-4.3.0.0.ebuild
deleted file mode 100644
index 5586a4dae981..000000000000
--- a/net-wireless/uhd/uhd-4.3.0.0.ebuild
+++ /dev/null
@@ -1,153 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{9..11} )
-
-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/
-
-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 )
- dev-libs/boost:=
- sys-libs/ncurses:0=
- $(python_gen_cond_dep '
- dev-python/numpy[${PYTHON_USEDEP}]
- dev-python/requests[${PYTHON_USEDEP}]
- ')
-"
-DEPEND="${RDEPEND}"
-#zip and gzip are directly used by the build system
-BDEPEND="
- doc? ( app-doc/doxygen )
- $(python_gen_cond_dep '
- dev-python/mako[${PYTHON_USEDEP}]
- ')
- app-arch/unzip
- app-arch/gzip
-"
-
-S="${WORKDIR}/${P}/host"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-4.3.0.0-gcc-13.patch
-)
-
-src_unpack() {
- default
- mv "uhd-images_${PV}" images || die
-}
-
-src_prepare() {
- cmake_src_prepare
-
- gnome2_environment_reset #534582
-}
-
-src_configure() {
- #https://gitlab.kitware.com/cmake/cmake/-/issues/23236
- #https://github.com/EttusResearch/uhd/pull/560
- local mycmakeargs=(
- -DCURSES_NEED_NCURSES=ON
- -DENABLE_LIBUHD=ON
- -DENABLE_C_API=ON
- -DENABLE_MAN_PAGES=ON
- -DENABLE_MAN_PAGE_COMPRESSION=OFF
- -DENABLE_EXAMPLES="$(usex examples)"
- -DENABLE_TESTS="$(usex test)"
- -DENABLE_USB="$(usex usb)"
- -DENABLE_UTILS="$(usex utils)"
- -DENABLE_MANUAL="$(usex doc)"
- -DENABLE_DOXYGEN="$(usex doc)"
- -DENABLE_B100="$(usex b100)"
- -DENABLE_B200="$(usex b200)"
- -DENABLE_E300="$(usex e300)"
- -DENABLE_USRP1="$(usex usrp1)"
- -DENABLE_USRP2="$(usex usrp2)"
- -DENABLE_X300="$(usex x300)"
- -DENABLE_MPMD="$(usex mpmd)"
- -DENABLE_OCTOCLOCK="$(usex octoclock)"
- -DENABLE_SSSE3="$(usex cpu_flags_x86_ssse3)"
- -DNEON_SIMD_ENABLE="$(usex cpu_flags_arm_neon)"
- -DPYTHON_EXECUTABLE="${PYTHON}"
- -DPKG_DOC_DIR="${EPREFIX}/usr/share/doc/${PF}"
- -DUHD_VERSION="${PV}"
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
- python_optimize
- if use utils; then
- python_fix_shebang "${ED}"/usr/$(get_libdir)/${PN}/utils/
- if [[ "${PV}" != "9999" ]]; then
- rm -r "${ED}/usr/bin/uhd_images_downloader" || die
- fi
- fi
- # do not install test files (bug #857492)
- if use test; then
- rm "${ED}/usr/lib64/${PN}/tests" -R || die
- fi
-
- udev_dorules "${S}/utils/uhd-usrp.rules"
-
- rm -r "${WORKDIR}/images/winusb_driver" || die
- if ! use b100; then
- rm "${WORKDIR}"/images/usrp_b100* || die
- fi
- if ! use b200; then
- rm "${WORKDIR}"/images/usrp_b2[01]* || die
- fi
- if ! use e300; then
- rm "${WORKDIR}"/images/usrp_e3* || die
- fi
- if ! use mpmd; then
- rm "${WORKDIR}"/images/usrp_n310* || die
- fi
- if ! use octoclock; then
- rm "${WORKDIR}"/images/octoclock* || die
- fi
- if ! use usrp1; then
- rm "${WORKDIR}"/images/usrp1* || die
- fi
- if ! use usrp2; then
- rm "${WORKDIR}"/images/usrp2* || die
- rm "${WORKDIR}"/images/usrp_n2[01]* || die
- rm -r "${WORKDIR}"/images/bit || die
- fi
- if ! use x300; then
- rm "${WORKDIR}/"images/usrp_x3* || die
- fi
- insinto /usr/share/${PN}
- doins -r "${WORKDIR}/images"
-}
-
-pkg_postinst() {
- udev_reload
-}
-
-pkg_postrm() {
- udev_reload
-}