mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-26 00:31:09 +02:00
sdrangel-6.12.1.ebuild
This commit is contained in:
parent
d6334f5a04
commit
7933f9cf42
2 changed files with 89 additions and 1 deletions
|
|
@ -1,2 +1,2 @@
|
|||
DIST sdrangel-6.10.3.tar.gz 47551559 BLAKE2B a99e3fe6975fbe236b17c5dc1a061f136be14aef747a6230c31f2b6e82aa464e0310236144f95c5f09e0eb97001090ef9f100c0d8ab813c2a92686763674f5b1 SHA512 3ad7381e00608e5531b38b56c672673cbe7cfd926d96eab8d6301bb3efc520724df4b01bf2a439fda4a27ba97c87c0058cd8b08a18dbc8eb90f90f6f0ae8f4e8
|
||||
DIST sdrangel-6.11.0.tar.gz 47721549 BLAKE2B a6423853a559e8acf7115e36ee41fb5eda00c6849f3934ab892949fb737ba22dd67e432c030d350ac90298522e40c3398af1577dcef9c84db55ba1ddba645ae2 SHA512 e1e3fe303d9b32b0e38c9fc15281995f9f17ba32b7d8b54cb5545f28818dc8213dcb3023473fb799d61de1657544cd92c0fdcc0cfede10e2c5531319d2b59223
|
||||
DIST sdrangel-6.12.1.tar.gz 48001523 BLAKE2B 4087d7c3f0c0b05c85eb28f5f83cd3504ac758f73481c77f9ff0d0978569e74a4a44f167b1d854b3432b1ee5d34ff2e865b4d42c9a4bad598b8e8d095f47b3ac SHA512 ce41975f2d96f8ce45b8921f193f933c514596cf5cee64d7cf12a58a98dd666e5601d05c728dd7a52df0b429818125f837ccf211d710eb4356584aad7bc9ce61
|
||||
|
|
|
|||
88
net-wireless/sdrangel/sdrangel-6.12.1.ebuild
Normal file
88
net-wireless/sdrangel/sdrangel-6.12.1.ebuild
Normal 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
|
||||
}
|
||||
Loading…
Reference in a new issue