[packages/freedv] - updated to 1.9.8
qboosh
qboosh at pld-linux.org
Sun Mar 3 09:14:00 CET 2024
commit a219fe3b742c290459c3d6b2b25d1dcb4754126d
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Sun Mar 3 07:58:19 2024 +0100
- updated to 1.9.8
freedv.spec | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
---
diff --git a/freedv.spec b/freedv.spec
index e802b20..6f0413d 100644
--- a/freedv.spec
+++ b/freedv.spec
@@ -1,13 +1,17 @@
+#
+# Conditional build:
+%bcond_with portaudio # PortAudio instead of PulseAudio (deprecated)
+
Summary: FreeDV Digital Voice
Summary(pl.UTF-8): FreeDV Digital Voice - cyfrowy głos
Name: freedv
-Version: 1.8.8.1
-Release: 2
+Version: 1.9.8
+Release: 1
License: GPL v2+
Group: X11/Applications/Sound
#Source0Download: https://github.com/drowe67/freedv-gui/releases
Source0: https://github.com/drowe67/freedv-gui/archive/v%{version}/%{name}-%{version}.tar.gz
-# Source0-md5: 479cd8141a1f8e795a9f898e7fca2676
+# Source0-md5: 824ed36ad3762d8b0a70538a4f6fe5d4
URL: http://freedv.org/
BuildRequires: alsa-lib-devel >= 1.1.8
BuildRequires: cmake >= 3.13
@@ -15,9 +19,11 @@ BuildRequires: codec2-devel >= 1.0.5
BuildRequires: hamlib-devel >= 3.3
BuildRequires: libsamplerate-devel >= 0.1.9
BuildRequires: libsndfile-devel >= 1.0.28
-BuildRequires: libstdc++-devel
+BuildRequires: libstdc++-devel >= 6:5
BuildRequires: lpcnetfreedv-devel >= 0.3
-BuildRequires: portaudio-devel >= 19
+%{?with_portaudio:BuildRequires: portaudio-devel >= 19}
+%{!?with_portaudio:BuildRequires: pulseaudio-devel}
+BuildRequires: socket.io-client-cpp-devel >= 3.1.0-2
BuildRequires: speexdsp-devel >= 1.2-0.rc3
BuildRequires: wxGTK3-unicode-devel >= 3.0.0
Requires(post,postun): gtk-update-icon-cache
@@ -65,6 +71,7 @@ kodek mowy Codec 2, używane we FreeDV, także mają otwarte źródła.
%build
%cmake -B build \
+ %{?with_portaudio:-DUSE_PULSEAUDIO=OFF} \
-DWXCONFIG=%{_bindir}/wx-gtk3-unicode-config
%{__make} -C build
@@ -86,7 +93,7 @@ rm -rf $RPM_BUILD_ROOT
%files
%defattr(644,root,root,755)
-%doc README.md USER_MANUAL.md
+%doc CHANGELOG_OLD.md README.md USER_MANUAL.md
%attr(755,root,root) %{_bindir}/freedv
%{_datadir}/freedv-gui
%{_desktopdir}/freedv.desktop
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/freedv.git/commitdiff/a219fe3b742c290459c3d6b2b25d1dcb4754126d
More information about the pld-cvs-commit
mailing list