mirror of
https://github.com/pentoo/pentoo-overlay
synced 2025-12-06 08:25:01 +01:00
sdrangel-7.22.7.ebuild
This commit is contained in:
parent
b79dada525
commit
83d2394034
2 changed files with 119 additions and 0 deletions
|
|
@ -1 +1,2 @@
|
|||
DIST sdrangel-7.22.0.tar.gz 92950127 BLAKE2B ae3af50fd462d9518b450512f32ad1e9906aa8e460ec2ce5dab4f2014c9343ee85ff2f84b91ace48a4ed0f743a9ae48d06d05ca65aef4df429e4d58c0ce7de4c SHA512 e4a8f366ae1da12901c5bf29b88bef5a1e287fd36802cc1fd7724a1912538a792628584506690e0125ac44f7f4df012d6aa68266f52d1b908daaff0ac369c80f
|
||||
DIST sdrangel-7.22.7.tar.gz 93198167 BLAKE2B 553ea9116973433fb61f9229a4cd45fb634f324f4f44d78284f1f80997e2e3de26a582f4e32831deee9631449ba2bc13928dcf95a2d696240d242715e7b945c9 SHA512 fdbb75eb3b9159d8791c0ff281c4be17ff9ccbe0593da33211347e38cc83e819162607724691b5ab5260f9d30adbf2c7cab33d74c26837bae1b4133c8d63ce99
|
||||
|
|
|
|||
118
net-wireless/sdrangel/sdrangel-7.22.7.ebuild
Normal file
118
net-wireless/sdrangel/sdrangel-7.22.7.ebuild
Normal file
|
|
@ -0,0 +1,118 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="SDR Rx/Tx software"
|
||||
HOMEPAGE="https://github.com/f4exb/sdrangel"
|
||||
|
||||
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"
|
||||
fi
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="airspy bladerf cpu_flags_x86_ssse3 cpu_flags_x86_sse4_1 fcd debug doc +gui hackrf limesuite plutosdr rtlsdr server soapy uhd"
|
||||
|
||||
REQUIRED_USE="
|
||||
airspy? ( || ( gui server ) )
|
||||
bladerf? ( || ( gui server ) )
|
||||
fcd? ( || ( gui server ) )
|
||||
hackrf? ( || ( gui server ) )
|
||||
limesuite? ( || ( gui server ) )
|
||||
plutosdr? ( || ( gui server ) )
|
||||
rtlsdr? ( || ( gui server ) )
|
||||
soapy? ( || ( gui server ) )
|
||||
uhd? ( || ( gui server ) )
|
||||
"
|
||||
|
||||
# TODO: perseus, xtrx, mirisdr
|
||||
RDEPEND="
|
||||
media-libs/opus
|
||||
sci-libs/fftw:3.0=
|
||||
dev-qt/qtbase:6[widgets]
|
||||
dev-qt/qtwebsockets:6
|
||||
dev-qt/qtmultimedia:6
|
||||
dev-qt/qtpositioning:6
|
||||
dev-qt/qt5compat:6
|
||||
airspy? ( net-wireless/airspy )
|
||||
bladerf? ( net-wireless/bladerf:= )
|
||||
fcd? ( dev-libs/hidapi )
|
||||
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:= )
|
||||
gui? (
|
||||
dev-qt/qtcharts:6
|
||||
dev-qt/qtdeclarative:6
|
||||
dev-qt/qtsvg:6
|
||||
dev-qt/qtspeech:6
|
||||
dev-qt/qtlocation:6
|
||||
dev-qt/qtwebengine:6
|
||||
|
||||
dev-qt/qtserialport:6
|
||||
media-libs/opencv:=
|
||||
dev-libs/cm256cc
|
||||
dev-libs/serialDV
|
||||
>=media-libs/codec2-0.9.1:=
|
||||
media-libs/hamlib:=
|
||||
media-video/ffmpeg:=
|
||||
net-wireless/dsdcc
|
||||
)
|
||||
server? (
|
||||
dev-qt/qtserialport:6
|
||||
media-libs/opencv:=
|
||||
dev-libs/cm256cc
|
||||
dev-libs/serialDV
|
||||
>=media-libs/codec2-0.9.1:=
|
||||
media-libs/hamlib:=
|
||||
media-video/ffmpeg:=
|
||||
net-wireless/dsdcc
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-libs/boost
|
||||
doc? ( app-text/doxygen )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/ARCH_OPT/,+1 d' CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
mycmakeargs=(
|
||||
-DDEBUG_OUTPUT="$(usex debug)" \
|
||||
-DSANITIZE_ADDRESS=OFF \
|
||||
-DRX_SAMPLE_24BIT=ON \
|
||||
-DBUILD_SERVER="$(usex server)" \
|
||||
-DBUILD_GUI="$(usex gui)" \
|
||||
-DENABLE_AIRSPY="$(usex airspy)" \
|
||||
-DENABLE_AIRSPYHF="$(usex airspy)" \
|
||||
-DENABLE_BLADERF="$(usex bladerf)" \
|
||||
-DWITH_DOC="$(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_QT6=ON \
|
||||
-DENABLE_RTLSDR="$(usex rtlsdr)" \
|
||||
-DENABLE_SOAPYSDR="$(usex soapy)" \
|
||||
-DENABLE_USRP="$(usex uhd)" \
|
||||
-DENABLE_XTRX=OFF
|
||||
)
|
||||
cmake_src_configure
|
||||
sed -i 's#-isystem /usr/include/qt6/QtSvg#-isystem /usr/include/qt6/QtSvg -isystem /usr/include/qt6/QtSvgWidgets#g' \
|
||||
"${BUILD_DIR}"/build.ninja || die
|
||||
}
|
||||
Loading…
Reference in a new issue