aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormartymac <martymac@FreeBSD.org>2017-08-25 18:13:25 +0800
committermartymac <martymac@FreeBSD.org>2017-08-25 18:13:25 +0800
commit939965d6690c667764ce457a2acf9f26fd4c19db (patch)
tree5b1db0303008aa9f72536d17f1f4822af90b3558
parent1c7dba03cf7f0b6373b980d7a62f6afd4ac2142c (diff)
downloadfreebsd-ports-gnome-939965d6690c667764ce457a2acf9f26fd4c19db.tar.gz
freebsd-ports-gnome-939965d6690c667764ce457a2acf9f26fd4c19db.tar.zst
freebsd-ports-gnome-939965d6690c667764ce457a2acf9f26fd4c19db.zip
- Update to 2.7
- Add option to select audio backend [1] PR: 221627 [1] Submitted by: Christian Sturm <reezer@reezer.org> [1]
-rw-r--r--comms/gqrx/Makefile19
-rw-r--r--comms/gqrx/distinfo6
2 files changed, 17 insertions, 8 deletions
diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile
index e135030b8cfd..97012728aedf 100644
--- a/comms/gqrx/Makefile
+++ b/comms/gqrx/Makefile
@@ -2,9 +2,8 @@
# $FreeBSD$
PORTNAME= gqrx
-PORTVERSION= 2.6.1
+PORTVERSION= 2.7
DISTVERSIONPREFIX= v
-PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= comms hamradio
@@ -19,12 +18,9 @@ LIB_DEPENDS= libgnuradio-runtime.so:comms/gnuradio \
libgnuradio-blocks.so:comms/gnuradio \
libgnuradio-filter.so:comms/gnuradio \
libgnuradio-fft.so:comms/gnuradio \
- libgnuradio-audio.so:comms/gnuradio \
libgnuradio-digital.so:comms/gnuradio \
libgnuradio-pmt.so:comms/gnuradio \
libgnuradio-osmosdr.so:comms/gr-osmosdr \
- libpulse.so:audio/pulseaudio \
- libpulse-simple.so:audio/pulseaudio \
libboost_system.so:devel/boost-libs \
libboost_program_options.so:devel/boost-libs
@@ -36,6 +32,19 @@ USES= pkgconfig qmake
USE_GL= gl
USE_QT5= buildtools_build core gui svg network widgets
+OPTIONS_RADIO= AUDIO
+AUDIO_DESC= Audio backend
+OPTIONS_RADIO_AUDIO= PULSEAUDIO PORTAUDIO GRAUDIO
+OPTIONS_DEFAULT= AUDIO PULSEAUDIO
+PULSEAUDIO_LIB_DEPENDS= libpulse.so:audio/pulseaudio \
+ libpulse-simple.so:audio/pulseaudio
+PULSEAUDIO_QMAKE_ON= AUDIO_BACKEND=pulseaudio
+PORTAUDIO_LIB_DEPENDS= libportaudio.so:audio/portaudio
+PORTAUDIO_QMAKE_ON= AUDIO_BACKEND=portaudio
+GRAUDIO_LIB_DEPENDS= libgnuradio-audio.so:comms/gnuradio
+GRAUDIO_QMAKE_ON= AUDIO_BACKEND=gr-audio
+GRAUDIO_DESC= GNU Radio audio library support
+
PLIST_FILES= bin/gqrx share/applications/gqrx.desktop
do-install:
diff --git a/comms/gqrx/distinfo b/comms/gqrx/distinfo
index 706cfad57d1f..1b9d40427778 100644
--- a/comms/gqrx/distinfo
+++ b/comms/gqrx/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1487343674
-SHA256 (csete-gqrx-v2.6.1_GH0.tar.gz) = 2736a963dac4051ca8ae91a440ee6643ef7d26c9de5b9c83a369d5fc9328d453
-SIZE (csete-gqrx-v2.6.1_GH0.tar.gz) = 1196123
+TIMESTAMP = 1503401061
+SHA256 (csete-gqrx-v2.7_GH0.tar.gz) = b58d5b4ba4c656df5a97071640eabdbd53171d411fe3d504f9786178c3638178
+SIZE (csete-gqrx-v2.7_GH0.tar.gz) = 1326826