sdrangel: new ebuild, 6.10.3.ebuild

This commit is contained in:
Anton Bolshakov 2021-05-04 20:30:10 +08:00
parent 3b46850f9d
commit f7b284a872
No known key found for this signature in database
GPG key ID: 32BDCED870788F04
7 changed files with 131 additions and 0 deletions

View file

@ -0,0 +1 @@
DIST cm256cc-1.1.0.tar.gz 56994 BLAKE2B 9c4a36b923bd58a26a85292d62fbd0b4fa1975d75b3b17ca9183c311031b1efd0508a1fe899e9da2f3d31c8540c9d1cb7dcedb65b60ab6f7a780e50f3ff3ae20 SHA512 2bd02675bb2c1c2b422c626c92bd36a0c0fc7a46a0512475424b1bc781d816137eadc52f33f11e100cdc69a7a595f3153fbed0020d6038916e305a2923700959

View file

@ -0,0 +1,19 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="Fast GF(256) Cauchy MDS Block Erasure Codec in C++"
HOMEPAGE="https://github.com/f4exb/cm256cc"
SRC_URI="https://github.com/f4exb/cm256cc/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -0,0 +1 @@
DIST serialDV-1.1.4.tar.gz 297806 BLAKE2B facc172b0a318c02907afeeba1c65c0c13e367cf1b574da6ec885be9d51f8c51e183d2701642420568c414f58c479a6c3f8e6d97af30fb35919789f4c8967349 SHA512 879b2ae84a18ca4f4e0eda72208b596a9988e32eba0b3be4b5818b15b600d71c3ee53e6215126ff013d993237d29077ffedfb6be0477c852d4215e5e036bebc9

View file

@ -0,0 +1,19 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="C++ library to encode/decode audio with AMBE3000"
HOMEPAGE="https://github.com/f4exb/serialDV"
SRC_URI="https://github.com/f4exb/serialDV/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"

View file

@ -0,0 +1 @@
DIST sdrangel-6.10.3.tar.gz 47551559 BLAKE2B a99e3fe6975fbe236b17c5dc1a061f136be14aef747a6230c31f2b6e82aa464e0310236144f95c5f09e0eb97001090ef9f100c0d8ab813c2a92686763674f5b1 SHA512 3ad7381e00608e5531b38b56c672673cbe7cfd926d96eab8d6301bb3efc520724df4b01bf2a439fda4a27ba97c87c0058cd8b08a18dbc8eb90f90f6f0ae8f4e8

View file

@ -0,0 +1,88 @@
# Copyright 2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake-utils
DESCRIPTION="SDR Rx/Tx software"
HOMEPAGE="https://github.com/f4exb/sdrangel"
SRC_URI=""
if [[ ${PV} =~ "9999" ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/f4exb/sdrangel.git"
else
SRC_URI="https://github.com/f4exb/sdrangel/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE="airspy bladerf cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 fcd -debug -doc hackrf limesuite opengl plutosdr rtlsdr server soapy"
# TODO: perseus, xtrx, mirisdr
RDEPEND="
dev-libs/boost
dev-libs/cm256cc
dev-libs/serialDV
>=dev-qt/qtcore-5.6.0
>=dev-qt/qtwidgets-5.6.0
>=dev-qt/qtwebsockets-5.6.0
>=dev-qt/qtmultimedia-5.6.0[widgets]
dev-qt/qtserialport
dev-qt/qtpositioning
dev-qt/qtlocation
dev-qt/qtcharts
dev-qt/qtspeech
>=media-libs/codec2-0.9.1
media-libs/opus
net-wireless/dsdcc
sci-libs/fftw:3.0
virtual/libusb:1
opengl? (
virtual/opengl
>=dev-qt/qtopengl-5.6.0
)
media-libs/opencv
airspy? ( net-wireless/airspy )
bladerf? ( net-wireless/bladerf )
hackrf? ( net-libs/libhackrf )
plutosdr? ( net-libs/libiio )
limesuite? ( net-wireless/limesuite )
rtlsdr? ( net-wireless/rtl-sdr )
soapy? ( net-wireless/soapysdr )
"
DEPEND="${RDEPEND}
doc? ( app-doc/doxygen )
"
src_configure() {
# error: invalid conversion from long int to QDebug::Stream* [-fpermissive]
export CFLAGS='-fpermissive'
export CXXFLAGS='-fpermissive'
mycmakeargs=(
-DDEBUG_OUTPUT="$(usex debug)" \
-DSANITIZE_ADDRESS=OFF \
-DRX_SAMPLE_24BIT=ON \
-DBUILD_SERVER="$(usex server)" \
-DBUILD_GUI="$(usex opengl)" \
-DBUILD_FORCE_SSSE3="$(usex cpu_flags_x86_ssse3)" \
-DBUILD_FORCE_SSE41="$(usex cpu_flags_x86_sse4_1)" \
-DENABLE_AIRSPY="$(usex airspy)" \
-DENABLE_AIRSPYHF="$(usex airspy)" \
-DENABLE_BLADERF="$(usex bladerf)" \
-DENABLE_DOXYGEN="$(usex doc)" \
-DENABLE_FUNCUBE="$(usex fcd)" \
-DENABLE_HACKRF="$(usex hackrf)" \
-DENABLE_IIO="$(usex plutosdr)" \
-DENABLE_MIRISDR=OFF \
-DENABLE_PERSEUS=OFF \
-DENABLE_SOAPYSDR="$(usex soapy)" \
-DENABLE_XTRX=OFF \
)
cmake-utils_src_configure
}

View file

@ -32,6 +32,8 @@ net-wireless/suwidgets
net-wireless/sigutils
net-wireless/suscan
net-wireless/sdrangel
=net-wireless/gnuradio-3.8*
net-wireless/gr-ieee802154
net-wireless/gr-rds