diff options
author | Repository mirror & CI <repomirrorci@gentoo.org> | 2021-03-22 08:50:48 +0000 |
---|---|---|
committer | Repository mirror & CI <repomirrorci@gentoo.org> | 2021-03-22 08:50:48 +0000 |
commit | f146dcd5b657e856f2a4af6bea78684f68462d4f (patch) | |
tree | 27750a23cc25ed6503be686156d50111c2aa26e9 /net-wireless/srslte/srslte-20.10.1-r2.ebuild | |
parent | 2021-03-22 08:20:50 UTC (diff) | |
parent | app-emacs/emacs-common: Version bump to 1.8 and remove 1.7 (diff) | |
download | gentoo-f146dcd5b657e856f2a4af6bea78684f68462d4f.tar.gz gentoo-f146dcd5b657e856f2a4af6bea78684f68462d4f.tar.bz2 gentoo-f146dcd5b657e856f2a4af6bea78684f68462d4f.zip |
Merge updates from master
Diffstat (limited to 'net-wireless/srslte/srslte-20.10.1-r2.ebuild')
-rw-r--r-- | net-wireless/srslte/srslte-20.10.1-r2.ebuild | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/net-wireless/srslte/srslte-20.10.1-r2.ebuild b/net-wireless/srslte/srslte-20.10.1-r2.ebuild new file mode 100644 index 000000000000..02ff600dab82 --- /dev/null +++ b/net-wireless/srslte/srslte-20.10.1-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 2019-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Open source SDR LTE software suite from Software Radio Systems" +HOMEPAGE="http://www.softwareradiosystems.com" + +if [ "${PV}" = "9999" ]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/srsLTE/srsLTE.git" +else + inherit vcs-snapshot + KEYWORDS="~amd64 ~x86" + MY_PV=${PV//./_} + SRC_URI="https://github.com/srsLTE/srsLTE/archive/release_${MY_PV}.tar.gz -> ${P}.tar.gz" +fi +#https://github.com/srsLTE/srsLTE/issues/537 +RESTRICT="test" + +LICENSE="GPL-3" +SLOT="0" +IUSE="bladerf simcard soapysdr uhd zeromq" + +DEPEND=" + dev-libs/boost:= + dev-libs/libconfig:=[cxx] + net-misc/lksctp-tools + net-libs/mbedtls:= + sci-libs/fftw:3.0= + 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 + cmake_src_prepare +} + +src_configure() { + mycmakeargs=( + -DENABLE_UHD="$(usex uhd)" + -DENABLE_BLADERF="$(usex bladerf)" + -DENABLE_SOAPYSDR="$(usex soapysdr)" + -DENABLE_ZEROMQ="$(usex zeromq)" + -DENABLE_HARDSIM="$(usex simcard)" + ) + cmake_src_configure +} |