From 3f9d66f66927c38c9b1765177b4c5562e3f3c032 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Wed, 20 Dec 2023 14:06:00 -0500 Subject: [PATCH] srsran: drop 22.10 and 23.04.1 --- net-wireless/srsran/srsran-22.10.ebuild | 106 ---------------------- net-wireless/srsran/srsran-23.04.1.ebuild | 106 ---------------------- 2 files changed, 212 deletions(-) delete mode 100644 net-wireless/srsran/srsran-22.10.ebuild delete mode 100644 net-wireless/srsran/srsran-23.04.1.ebuild diff --git a/net-wireless/srsran/srsran-22.10.ebuild b/net-wireless/srsran/srsran-22.10.ebuild deleted file mode 100644 index caa0e7e72..000000000 --- a/net-wireless/srsran/srsran-22.10.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Open source SDR 4G software suite from Software Radio Systems" -HOMEPAGE="https://www.srsran.com/" - -# Possible issues to look into -#https://bugs.gentoo.org/713684 -#https://bugs.gentoo.org/731720 -#https://bugs.gentoo.org/733662 -#https://bugs.gentoo.org/832618 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/srsran/srsRAN_4G.git" -else - inherit vcs-snapshot - KEYWORDS="~amd64 ~x86" - MY_PV=${PV//./_} - SRC_URI="https://github.com/srsran/srsRAN_4G/archive/refs/tags/release_${MY_PV}.tar.gz -> ${P}.tar.gz" -fi - -RESTRICT="!test? ( test )" - -LICENSE="GPL-3" -SLOT="0" -IUSE="bladerf cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_fma3 cpu_flags_x86_sse simcard soapysdr test uhd zeromq" - -#Add cpu_flags_x86_avx2= after fixing whatever build failure -DEPEND=" - dev-libs/boost:= - dev-libs/elfutils - dev-libs/libconfig:=[cxx] - net-misc/lksctp-tools - net-libs/mbedtls:= - sci-libs/fftw:3.0=[cpu_flags_x86_avx=,cpu_flags_x86_fma3=,cpu_flags_x86_sse=] - bladerf? ( net-wireless/bladerf:= ) - simcard? ( sys-apps/pcsc-lite ) - soapysdr? ( net-wireless/soapysdr:= ) - uhd? ( net-wireless/uhd:= ) - zeromq? ( net-libs/zeromq:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - sed -i '/ -Werror"/d' CMakeLists.txt || die - #break upstream hijacking of cflags - sed -i \ - -e 's/"GNU"/"NERF"/g' \ - -e 's/"Clang"/"NERF"/g' \ - -e 's/Ninja/NERF/g' \ - -e 's/GNUCXX/NERF/g' \ - -e 's/set(CMAKE_C_FLAGS/set(CMAKE_C_FLAGS_NERF/g' \ - CMakeLists.txt - cmake_src_prepare -} - -src_configure() { - #This may be a bad idea, and it is a bad idea for sure when other tests are failing - #-DENABLE_ALL_TEST="$(usex test)" - #-DENABLE_TTCN3="$(usex test)" - #Maybe make this one depend on zmq instead? - #-DENABLE_ZMQ_TEST="$(usex test)" - - # Add missing srsGUI - #-DENABLE_GUI="$(usex gui)" - mycmakeargs=( - -DENABLE_UHD="$(usex uhd)" - -DENABLE_BLADERF="$(usex bladerf)" - -DENABLE_SOAPYSDR="$(usex soapysdr)" - -DENABLE_ZEROMQ="$(usex zeromq)" - -DENABLE_HARDSIM="$(usex simcard)" - -DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}" - ) - # readd nerfed cflags that are required - append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE" - append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE" - # "fix" "auto-detection" from use flags, this is probably horrible - if use cpu_flags_x86_sse; then - append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1" - append-cxxflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1" - fi - if use cpu_flags_x86_avx; then - append-cflags "-DLV_HAVE_AVX -mavx" - append-cxxflags "-DLV_HAVE_AVX -mavx" - fi - #if use cpu_flags_x86_avx2; then - # append-cflags "-DLV_HAVE_AVX2 -mavx2" - # append-cxxflags "-DLV_HAVE_AVX2 -mavx2" - #fi - #https://github.com/pentoo/pentoo-overlay/issues/1491 - #if use cpu_flags_x86_avx512f; then - # append-cflags "-DLV_HAVE_AVX512 -mavx512f" - # append-cxxflags "-DLV_HAVE_AVX512 -mavx512f" - #fi - if use cpu_flags_x86_fma3; then - append-cflags "-DLV_HAVE_FMA -mfma" - append-cxxflags "-DLV_HAVE_FMA -mfma" - fi - cmake_src_configure -} diff --git a/net-wireless/srsran/srsran-23.04.1.ebuild b/net-wireless/srsran/srsran-23.04.1.ebuild deleted file mode 100644 index caa0e7e72..000000000 --- a/net-wireless/srsran/srsran-23.04.1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# Copyright 2019-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -DESCRIPTION="Open source SDR 4G software suite from Software Radio Systems" -HOMEPAGE="https://www.srsran.com/" - -# Possible issues to look into -#https://bugs.gentoo.org/713684 -#https://bugs.gentoo.org/731720 -#https://bugs.gentoo.org/733662 -#https://bugs.gentoo.org/832618 - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/srsran/srsRAN_4G.git" -else - inherit vcs-snapshot - KEYWORDS="~amd64 ~x86" - MY_PV=${PV//./_} - SRC_URI="https://github.com/srsran/srsRAN_4G/archive/refs/tags/release_${MY_PV}.tar.gz -> ${P}.tar.gz" -fi - -RESTRICT="!test? ( test )" - -LICENSE="GPL-3" -SLOT="0" -IUSE="bladerf cpu_flags_x86_avx cpu_flags_x86_avx2 cpu_flags_x86_avx512f cpu_flags_x86_fma3 cpu_flags_x86_sse simcard soapysdr test uhd zeromq" - -#Add cpu_flags_x86_avx2= after fixing whatever build failure -DEPEND=" - dev-libs/boost:= - dev-libs/elfutils - dev-libs/libconfig:=[cxx] - net-misc/lksctp-tools - net-libs/mbedtls:= - sci-libs/fftw:3.0=[cpu_flags_x86_avx=,cpu_flags_x86_fma3=,cpu_flags_x86_sse=] - bladerf? ( net-wireless/bladerf:= ) - simcard? ( sys-apps/pcsc-lite ) - soapysdr? ( net-wireless/soapysdr:= ) - uhd? ( net-wireless/uhd:= ) - zeromq? ( net-libs/zeromq:= ) -" -RDEPEND="${DEPEND}" -BDEPEND="virtual/pkgconfig" - -src_prepare() { - sed -i '/ -Werror"/d' CMakeLists.txt || die - #break upstream hijacking of cflags - sed -i \ - -e 's/"GNU"/"NERF"/g' \ - -e 's/"Clang"/"NERF"/g' \ - -e 's/Ninja/NERF/g' \ - -e 's/GNUCXX/NERF/g' \ - -e 's/set(CMAKE_C_FLAGS/set(CMAKE_C_FLAGS_NERF/g' \ - CMakeLists.txt - cmake_src_prepare -} - -src_configure() { - #This may be a bad idea, and it is a bad idea for sure when other tests are failing - #-DENABLE_ALL_TEST="$(usex test)" - #-DENABLE_TTCN3="$(usex test)" - #Maybe make this one depend on zmq instead? - #-DENABLE_ZMQ_TEST="$(usex test)" - - # Add missing srsGUI - #-DENABLE_GUI="$(usex gui)" - mycmakeargs=( - -DENABLE_UHD="$(usex uhd)" - -DENABLE_BLADERF="$(usex bladerf)" - -DENABLE_SOAPYSDR="$(usex soapysdr)" - -DENABLE_ZEROMQ="$(usex zeromq)" - -DENABLE_HARDSIM="$(usex simcard)" - -DCMAKE_C_FLAGS_RELWITHDEBINFO="${CFLAGS}" - ) - # readd nerfed cflags that are required - append-cflags "-std=c99 -fno-strict-aliasing -D_GNU_SOURCE" - append-cxxflags "-std=c++14 -fno-strict-aliasing -D_GNU_SOURCE" - # "fix" "auto-detection" from use flags, this is probably horrible - if use cpu_flags_x86_sse; then - append-cflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1" - append-cxxflags "-DLV_HAVE_SSE -mfpmath=sse -msse4.1" - fi - if use cpu_flags_x86_avx; then - append-cflags "-DLV_HAVE_AVX -mavx" - append-cxxflags "-DLV_HAVE_AVX -mavx" - fi - #if use cpu_flags_x86_avx2; then - # append-cflags "-DLV_HAVE_AVX2 -mavx2" - # append-cxxflags "-DLV_HAVE_AVX2 -mavx2" - #fi - #https://github.com/pentoo/pentoo-overlay/issues/1491 - #if use cpu_flags_x86_avx512f; then - # append-cflags "-DLV_HAVE_AVX512 -mavx512f" - # append-cxxflags "-DLV_HAVE_AVX512 -mavx512f" - #fi - if use cpu_flags_x86_fma3; then - append-cflags "-DLV_HAVE_FMA -mfma" - append-cxxflags "-DLV_HAVE_FMA -mfma" - fi - cmake_src_configure -}