aboutsummaryrefslogtreecommitdiff
path: root/comms/gqrx
diff options
context:
space:
mode:
authorGanael LAPLANCHE <martymac@FreeBSD.org>2014-04-03 06:35:51 +0000
committerGanael LAPLANCHE <martymac@FreeBSD.org>2014-04-03 06:35:51 +0000
commit2ff70de73ab145cc7e18f40440ddeb2a3b6b8156 (patch)
treec5039e8507f72359e6d9a444277f2850fb4742bd /comms/gqrx
parentdd93a36b9d8dfd8e01787b0d66ba10c6dd5c3efa (diff)
Notes
Diffstat (limited to 'comms/gqrx')
-rw-r--r--comms/gqrx/Makefile13
-rw-r--r--comms/gqrx/distinfo4
-rw-r--r--comms/gqrx/files/patch-gqrx.pro26
-rw-r--r--comms/gqrx/pkg-descr2
4 files changed, 38 insertions, 7 deletions
diff --git a/comms/gqrx/Makefile b/comms/gqrx/Makefile
index bf97d35b82e4..967c73bf015e 100644
--- a/comms/gqrx/Makefile
+++ b/comms/gqrx/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gqrx
-PORTVERSION= 20130504
-PORTREVISION= 4
+PORTVERSION= 20140313
CATEGORIES= comms hamradio
MASTER_SITES= http://contribs.martymac.org/FreeBSD-ports/distfiles/ \
LOCAL/martymac
@@ -14,7 +13,11 @@ COMMENT= Qt-based software defined radio receiver
LICENSE= GPLv3
-LIB_DEPENDS= libgnuradio-core.so:${PORTSDIR}/comms/gnuradio \
+LIB_DEPENDS= libgnuradio-runtime.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-analog.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-blocks.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-filter.so:${PORTSDIR}/comms/gnuradio \
+ libgnuradio-fft.so:${PORTSDIR}/comms/gnuradio \
libgnuradio-audio.so:${PORTSDIR}/comms/gnuradio \
libgnuradio-osmosdr.so:${PORTSDIR}/comms/gr-osmosdr \
libpulse.so:${PORTSDIR}/audio/pulseaudio \
@@ -23,7 +26,9 @@ LIB_DEPENDS= libgnuradio-core.so:${PORTSDIR}/comms/gnuradio \
libboost_program_options.so:${PORTSDIR}/devel/boost-libs
USES= pkgconfig qmake
-USE_QT4= moc_build rcc_build uic_build corelib gui svg
+USE_QT5= buildtools core gui svg network widgets
+
+QMAKE_ARGS+= VER="${PORTVERSION}"
PLIST_FILES= bin/gqrx
diff --git a/comms/gqrx/distinfo b/comms/gqrx/distinfo
index 1c1012a987a4..7918982ee6c8 100644
--- a/comms/gqrx/distinfo
+++ b/comms/gqrx/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gqrx-20130504.tgz) = 6f432a8e7828cd84232728bc6640968403145488dadcb47186b79eb59d96ffe0
-SIZE (gqrx-20130504.tgz) = 891521
+SHA256 (gqrx-20140313.tgz) = a5c0da6243d8216966082ded75a45e0168415bf28878c4c0a1839bcf22737297
+SIZE (gqrx-20140313.tgz) = 1113769
diff --git a/comms/gqrx/files/patch-gqrx.pro b/comms/gqrx/files/patch-gqrx.pro
new file mode 100644
index 000000000000..fbfecf20ab41
--- /dev/null
+++ b/comms/gqrx/files/patch-gqrx.pro
@@ -0,0 +1,26 @@
+--- gqrx.pro.orig 2014-03-10 08:41:02.000000000 +0100
++++ gqrx.pro 2014-03-26 18:16:08.000000000 +0100
+@@ -56,12 +56,12 @@
+ #QMAKE_CFLAGS_DEBUG += '-g -O0'
+
+ # Define version string (see below for releases)
+- VER = $$system(git describe --abbrev=8)
++ #VER = $$system(git describe --abbrev=8)
+
+ } else {
+ DEFINES += QT_NO_DEBUG
+ DEFINES += QT_NO_DEBUG_OUTPUT
+- VER = $$system(git describe --abbrev=1)
++ #VER = $$system(git describe --abbrev=1)
+
+ # Release binaries with gr bundled
+ # QMAKE_RPATH & co won't work with origin
+@@ -206,7 +206,7 @@
+ gnuradio-osmosdr
+
+ LIBS += -lboost_system$$BOOST_SUFFIX -lboost_program_options$$BOOST_SUFFIX
+- LIBS += -lrt # need to include on some distros
++ #LIBS += -lrt # need to include on some distros
+ }
+
+ macx {
diff --git a/comms/gqrx/pkg-descr b/comms/gqrx/pkg-descr
index 659d4546bb1a..88896b5c5952 100644
--- a/comms/gqrx/pkg-descr
+++ b/comms/gqrx/pkg-descr
@@ -4,4 +4,4 @@ Radio and the Qt GUI toolkit.
It can use the Funcube Dongle, RTL2832U-based DVB-T dongles, OsmoSDR devices
and USRP devices as input source.
-WWW: https://github.com/csete/gqrx
+WWW: http://gqrx.dk