mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
comms/gqrx: Update to 2.17.2
and switch to using Qt6, Gqrx being now stable with it
This commit is contained in:
parent
41d662998f
commit
44f73262b2
@ -1,7 +1,6 @@
|
||||
PORTNAME= gqrx
|
||||
PORTVERSION= 2.16
|
||||
PORTVERSION= 2.17.2
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 4
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= comms hamradio
|
||||
|
||||
@ -32,17 +31,22 @@ LIB_DEPENDS= libgnuradio-runtime.so:comms/gnuradio \
|
||||
libjack.so:audio/jack \
|
||||
libportaudio.so:audio/portaudio
|
||||
|
||||
USES= cmake compiler:c++11-lang gl pkgconfig qt:5
|
||||
USES= cmake compiler:c++11-lang gl pkgconfig qt:6
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= gqrx-sdr
|
||||
USE_GL= gl
|
||||
USE_QT= core gui network svg widgets
|
||||
USE_QT= base svg
|
||||
|
||||
# XXX Use Portaudio as Gqrx is invariably linked to it
|
||||
# (auto-detected and used through Gnuradio CMake files)
|
||||
CMAKE_ARGS+= -DLINUX_AUDIO_BACKEND:STRING="Portaudio"
|
||||
|
||||
# XXX Work around Gnuradio 3.8 headers (gnuradio/rpcserver_aggregator.h) still
|
||||
# using std::unary_function (removed with C++17). This breaks when building
|
||||
# on FreeBSD 14: error: no template named 'unary_function' in namespace 'std'
|
||||
CXXFLAGS+= -D_LIBCPP_ENABLE_CXX17_REMOVED_UNARY_BINARY_FUNCTION
|
||||
|
||||
PLIST_FILES= bin/gqrx \
|
||||
share/applications/dk.gqrx.gqrx.desktop \
|
||||
man/man1/gqrx.1.gz
|
||||
|
@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1682972773
|
||||
SHA256 (gqrx-sdr-gqrx-v2.16_GH0.tar.gz) = eab65f490da22c3f276366f418af37803bd0d51d8d31b1ce7fdd4cac47932456
|
||||
SIZE (gqrx-sdr-gqrx-v2.16_GH0.tar.gz) = 3608271
|
||||
TIMESTAMP = 1696914008
|
||||
SHA256 (gqrx-sdr-gqrx-v2.17.2_GH0.tar.gz) = 8d5f70390d3935278527cc7aa6344d6ec0201bce156851c610e88acd6102c356
|
||||
SIZE (gqrx-sdr-gqrx-v2.17.2_GH0.tar.gz) = 3620793
|
||||
|
@ -1,13 +0,0 @@
|
||||
--- CMakeLists.txt.orig 2023-04-28 17:35:04 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -121,10 +121,7 @@ else()
|
||||
endif()
|
||||
|
||||
# 3rd Party Dependency Stuff
|
||||
-find_package(Qt6 QUIET COMPONENTS Core Network Widgets Svg SvgWidgets)
|
||||
-if(NOT Qt6_FOUND)
|
||||
find_package(Qt5 REQUIRED COMPONENTS Core Network Widgets Svg)
|
||||
-endif()
|
||||
include(FindPkgConfig)
|
||||
find_package(Gnuradio-osmosdr REQUIRED)
|
||||
|
Loading…
Reference in New Issue
Block a user