summaryrefslogtreecommitdiff
path: root/net-wireless/srslte
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
committerV3n3RiX <venerix@redcorelinux.org>2019-11-03 16:06:58 +0000
commitbd4aeefe33e63f613512604e47bfca7b2187697d (patch)
treeadb35b5a9a00ee7ea591ab0c987f70167c23b597 /net-wireless/srslte
parent48ece6662cbd443015f5a57ae6d8cbdbd69ef37c (diff)
gentoo resync : 03.11.2019
Diffstat (limited to 'net-wireless/srslte')
-rw-r--r--net-wireless/srslte/Manifest3
-rw-r--r--net-wireless/srslte/metadata.xml15
-rw-r--r--net-wireless/srslte/srslte-19.06.ebuild44
3 files changed, 62 insertions, 0 deletions
diff --git a/net-wireless/srslte/Manifest b/net-wireless/srslte/Manifest
new file mode 100644
index 000000000000..2d4af5bf36ff
--- /dev/null
+++ b/net-wireless/srslte/Manifest
@@ -0,0 +1,3 @@
+DIST srslte-19.06.tar.gz 2269154 BLAKE2B 54f0bef69ebc58210b7a5cffa46e8b5fc9c2dab491c3d414847a9757f993bea1efa409edf31346e78d5b88b6076b0216b013362a66259601e6af62bee483b292 SHA512 b6b097734502f1fb0e82cd398e4c43e81f1f18a3e67fc6e0e4d84d24c2f6972483a82653daa97fe60beb313e7c4d1346d99e1fdec5554a080277a3894479ed47
+EBUILD srslte-19.06.ebuild 1013 BLAKE2B 82e268c6deb5b7d4fa7c31e4d1ff89f996846a285edc0b81012cd583018fdc6cd6b42f0a238a27840f69732e7249d74e2ebf65e214234a4d5d1ae222e432534f SHA512 470abcbcee6a0cf7d1c1b6877ef6c0e832a58fd9f7cb3f70786b1e482bf0c35fa6fdc69575e8ccfa8d8aef8a2fba7f66d4b151a722e0a6ef47149f258942c49b
+MISC metadata.xml 560 BLAKE2B b7ddd92fc58b496527910d8f81df05ff473dc557c92d9a46ce18193ec411b5fb5b6b431f3f6bd54c2cd303570fb4215f438cbdbf5105c4316645a4cf734f3d68 SHA512 6f34f666c0b11b6ccb576117ae114f6628d50b0fff6cae384e77bec82c6398951f4b0dabfb273d801ff79e2e0aa70ae7babc0c19ed75f3cfd0be02527c6ebebd
diff --git a/net-wireless/srslte/metadata.xml b/net-wireless/srslte/metadata.xml
new file mode 100644
index 000000000000..04c0836aaf67
--- /dev/null
+++ b/net-wireless/srslte/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>radio@gentoo.org</email>
+ <name>Radio</name>
+ </maintainer>
+ <use>
+ <flag name="uhd">support Ettus Research hardware</flag>
+ <flag name="bladerf">support Nuand BladeRF hardware</flag>
+ <flag name="soapysdr">use soapysdr to support various hardware</flag>
+ <flag name="simcard">support hardware sim cards</flag>
+ <flag name="zeromq">enable zeromq message passing</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-wireless/srslte/srslte-19.06.ebuild b/net-wireless/srslte/srslte-19.06.ebuild
new file mode 100644
index 000000000000..69be1795d758
--- /dev/null
+++ b/net-wireless/srslte/srslte-19.06.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils vcs-snapshot
+
+MY_PV=${PV/./_}
+
+DESCRIPTION="Open source SDR LTE software suite from Software Radio Systems"
+HOMEPAGE="http://www.softwareradiosystems.com"
+SRC_URI="https://github.com/srsLTE/srsLTE/archive/release_${MY_PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="bladerf simcard soapysdr uhd zeromq"
+
+DEPEND="
+ dev-libs/boost
+ dev-libs/libconfig
+ net-misc/lksctp-tools
+ net-libs/mbedtls
+ sci-libs/fftw:*
+ bladerf? ( net-wireless/bladerf:= )
+ simcard? ( sys-apps/pcsc-lite )
+ soapysdr? ( net-wireless/soapysdr:= )
+ uhd? ( net-wireless/uhd:= )
+ zeromq? ( net-libs/zeromq )
+
+"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+src_configure() {
+ mycmakeargs=(
+ -DENABLE_UHD="$(usex uhd)"
+ -DENABLE_BLADERF="$(usex bladerf)"
+ -DENABLE_SOAPYSDR="$(usex soapysdr)"
+ -DENABLE_ZEROMQ="$(usex zeromq)"
+ -DENABLE_HARDSIM="$(usex simcard)"
+ )
+ cmake-utils_src_configure
+}