+++ /dev/null
---- 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
-
#
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
%else
BuildRequires: portaudio-devel
%endif
-BuildRequires: qt4-qmake
+BuildRequires: qt5-qmake
BuildRoot: %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
%description
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