mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-19 21:31:10 +02:00
sdrangel-6.16.1.ebuild
This commit is contained in:
parent
b4c681d80d
commit
0caa10943c
2 changed files with 97 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST sdrangel-6.15.1.tar.gz 51445885 BLAKE2B 51e11d991b953b18e9583a0de36156a33eb2f5f37a640c90a01040a097b87589c67c63502c8e5298f74507e74181d7c654d82da536dcc91849e2f25d4bcbd01c SHA512 2b1696de65289763267794d16a3703dd492d7f12ba40ca23cf150c767c01d9c8d194d5bc9abf3a460799b00c42fab45bb6e832f56d7a62275a054b4cded04986
|
||||
DIST sdrangel-6.16.1.tar.gz 51489759 BLAKE2B 18c0db7e6a997a83297c9bf1031bbbe7ad43d6236be076e57494c161a6cad2e465626f90f396705c9ef9b69ab54551b2f941f8d76fe115cb0ae9a37be8e3fcf5 SHA512 b2216de5ce056bb24b5bb87e0bb55638a6fe77986778fe3befa8e2e1bd3ed5c8b5e5e03df3167b12c64a574904d4da26790cb28f548aa2cecd3a335f821275c2
|
||||
|
|
|
|||
96
net-wireless/sdrangel/sdrangel-6.16.1.ebuild
Normal file
96
net-wireless/sdrangel/sdrangel-6.16.1.ebuild
Normal file
|
|
@ -0,0 +1,96 @@
|
|||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
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 plutosdr +qt5 rtlsdr server soapy uhd"
|
||||
|
||||
# TODO: perseus, xtrx, mirisdr
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/boost
|
||||
dev-libs/cm256cc
|
||||
dev-libs/serialDV
|
||||
>=media-libs/codec2-0.9.1
|
||||
media-libs/opus
|
||||
net-wireless/dsdcc
|
||||
sci-libs/fftw:3.0
|
||||
virtual/libusb:1
|
||||
>=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
|
||||
qt5? (
|
||||
dev-qt/qtdeclarative
|
||||
dev-qt/qtpositioning
|
||||
dev-qt/qtlocation
|
||||
dev-qt/qtcharts
|
||||
dev-qt/qtspeech
|
||||
dev-qt/qtnetwork
|
||||
dev-qt/qtgui
|
||||
>=dev-qt/qtopengl-5.6.0
|
||||
)
|
||||
media-libs/opencv
|
||||
media-video/ffmpeg
|
||||
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 )
|
||||
uhd? ( net-wireless/uhd )
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
doc? ( app-doc/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/ARCH_OPT/,+1 d' CMakeLists.txt
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DDSDCC_DIR="/usr/include/dsdcc" \
|
||||
-DDEBUG_OUTPUT="$(usex debug)" \
|
||||
-DSANITIZE_ADDRESS=OFF \
|
||||
-DRX_SAMPLE_24BIT=ON \
|
||||
-DBUILD_SERVER="$(usex server)" \
|
||||
-DBUILD_GUI="$(usex qt5)" \
|
||||
-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_LIMESUITE="$(usex limesuite)" \
|
||||
-DENABLE_MIRISDR=OFF \
|
||||
-DENABLE_PERSEUS=OFF \
|
||||
-DENABLE_SOAPYSDR="$(usex soapy)" \
|
||||
-DENABLE_USRP="$(usex uhd)" \
|
||||
-DENABLE_XTRX=OFF \
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
Loading…
Reference in a new issue