[packages/gqrx] - up to 2.11.5
baggins
baggins at pld-linux.org
Sat Mar 30 20:08:00 CET 2019
commit d2df52f7ad710f4c7d65ced5b50619064908e6f4
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Sat Mar 30 20:07:42 2019 +0100
- up to 2.11.5
gqrx-nopulse.patch | 17 -----------------
gqrx.spec | 22 ++++++++++------------
2 files changed, 10 insertions(+), 29 deletions(-)
---
diff --git a/gqrx.spec b/gqrx.spec
index 8822d1d..2ecce80 100644
--- a/gqrx.spec
+++ b/gqrx.spec
@@ -3,17 +3,16 @@
#
Summary: Software defined radio receiver powered by GNU Radio and Qt
Name: gqrx
-Version: 2.3.2
-Release: 4
+Version: 2.11.5
+Release: 1
License: GPL v3+
Group: Applications/Engineering
-Source0: http://downloads.sourceforge.net/gqrx/%{name}-%{version}.tar.xz
-# Source0-md5: 2dae602db3e7d637a01c7deced7fad4f
-Patch0: %{name}-nopulse.patch
+Source0: https://github.com/csete/gqrx/releases/download/v%{version}/%{name}-sdr-%{version}-src.tar.xz
+# Source0-md5: fed4994d5c04daf70cb19e2393da7a04
URL: http://gqrx.dk/
-BuildRequires: QtCore-devel
-BuildRequires: QtGui-devel
-BuildRequires: QtSvg-devel
+BuildRequires: Qt5Core-devel
+BuildRequires: Qt5Gui-devel
+BuildRequires: Qt5Svg-devel
BuildRequires: boost-devel
BuildRequires: gnuradio-devel >= 3.7
BuildRequires: gr-osmosdr-devel
@@ -22,7 +21,7 @@ BuildRequires: pulseaudio-devel
%else
BuildRequires: portaudio-devel
%endif
-BuildRequires: qt4-qmake
+BuildRequires: qt5-qmake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
@@ -30,13 +29,12 @@ Gqrx is a software defined radio receiver powered by the GNU Radio SDR
framework and the Qt graphical toolkit.
%prep
-%setup -q
-%patch0 -p1
+%setup -q -n %{name}-sdr-%{version}
%build
install -d build
cd build
-qmake-qt4 \
+qmake-qt5 \
PREFIX=%{_prefix} \
AUDIO_BACKEND=%{?with_pulseaudio:pulse}%{!?with_pulseaudio:portaudio} \
../gqrx.pro
diff --git a/gqrx-nopulse.patch b/gqrx-nopulse.patch
deleted file mode 100644
index ee23ea0..0000000
--- a/gqrx-nopulse.patch
+++ /dev/null
@@ -1,17 +0,0 @@
---- gqrx-2.3.0/gqrx.pro~ 2014-08-05 21:14:41.000000000 +0200
-+++ gqrx-2.3.0/gqrx.pro 2015-06-19 12:30:17.734906712 +0200
-@@ -27,14 +27,6 @@ macx {
- # enable pkg-config to find dependencies
- CONFIG += link_pkgconfig
-
--unix:!macx {
-- packagesExist(libpulse libpulse-simple) {
-- # Comment out to use gr-audio (not recommended with ALSA and Funcube Dongle Pro)
-- AUDIO_BACKEND = pulse
-- message("Gqrx configured with pulseaudio backend")
-- }
--}
--
- RESOURCES += icons.qrc \
- textfiles.qrc
-
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/gqrx.git/commitdiff/d2df52f7ad710f4c7d65ced5b50619064908e6f4
More information about the pld-cvs-commit
mailing list