Compare commits
9 Commits
Author | SHA256 | Date | |
---|---|---|---|
e345db92ff | |||
|
3e68b1db0d | ||
d922346d06 | |||
|
951fe1cbf6 | ||
15e2009384 | |||
|
20710148af | ||
0a63ff4107 | |||
|
b2196b5752 | ||
|
05b3b751fe |
@@ -1 +1 @@
|
|||||||
libcodec2-1_0
|
libcodec2-1_2
|
||||||
|
BIN
codec2-1.0.5.tar.gz
(Stored with Git LFS)
BIN
codec2-1.0.5.tar.gz
(Stored with Git LFS)
Binary file not shown.
48
codec2-1.2.0-install-binaries.patch
Normal file
48
codec2-1.2.0-install-binaries.patch
Normal file
@@ -0,0 +1,48 @@
|
|||||||
|
Index: codec2-1.2.0/src/CMakeLists.txt
|
||||||
|
===================================================================
|
||||||
|
--- codec2-1.2.0.orig/src/CMakeLists.txt
|
||||||
|
+++ codec2-1.2.0/src/CMakeLists.txt
|
||||||
|
@@ -385,3 +385,43 @@ install(TARGETS codec2 EXPORT codec2-con
|
||||||
|
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
PUBLIC_HEADER DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/codec2 COMPONENT dev
|
||||||
|
)
|
||||||
|
+
|
||||||
|
+install(TARGETS
|
||||||
|
+ c2enc
|
||||||
|
+ c2dec
|
||||||
|
+ c2sim
|
||||||
|
+ fdmdv_get_test_bits
|
||||||
|
+ fdmdv_mod
|
||||||
|
+ fdmdv_demod
|
||||||
|
+ fdmdv_put_test_bits
|
||||||
|
+ freedv_tx
|
||||||
|
+ freedv_rx
|
||||||
|
+ freedv_data_raw_tx
|
||||||
|
+ freedv_data_raw_rx
|
||||||
|
+ freedv_data_tx
|
||||||
|
+ freedv_data_rx
|
||||||
|
+ freedv_mixed_tx
|
||||||
|
+ freedv_mixed_rx
|
||||||
|
+ fsk_mod
|
||||||
|
+ fsk_demod
|
||||||
|
+ fsk_get_test_bits
|
||||||
|
+ fsk_put_test_bits
|
||||||
|
+ framer
|
||||||
|
+ deframer
|
||||||
|
+ cohpsk_mod
|
||||||
|
+ ofdm_get_test_bits
|
||||||
|
+ ofdm_put_test_bits
|
||||||
|
+ ofdm_mod
|
||||||
|
+ ofdm_demod
|
||||||
|
+ vhf_deframe_c2
|
||||||
|
+ vhf_frame_c2
|
||||||
|
+ cohpsk_demod
|
||||||
|
+ cohpsk_get_test_bits
|
||||||
|
+ cohpsk_put_test_bits
|
||||||
|
+ ch
|
||||||
|
+ tollr
|
||||||
|
+ ldpc_noise
|
||||||
|
+ ldpc_enc
|
||||||
|
+ ldpc_dec
|
||||||
|
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
|
||||||
|
+)
|
3
codec2-1.2.0.tar.gz
Normal file
3
codec2-1.2.0.tar.gz
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:cbccae52b2c2ecc5d2757e407da567eb681241ff8dadce39d779a7219dbcf449
|
||||||
|
size 7688549
|
@@ -1,3 +0,0 @@
|
|||||||
# these can't be helped
|
|
||||||
addFilter("no-manual-page-for-binary .*")
|
|
||||||
addFilter("codec2-examples.noarch: .*devel-dependency codec2-devel")
|
|
@@ -1,3 +1,35 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jan 16 08:48:37 UTC 2025 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Build AVX2 enabled hwcaps library for x86_64-v3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jul 31 21:17:06 UTC 2023 - Andreas Stieger <andreas.stieger@gmx.de>
|
||||||
|
|
||||||
|
- update to 1.2.0
|
||||||
|
* sources reorganized upstream
|
||||||
|
- package the command binaries
|
||||||
|
codec2-1.2.0-install-binaries.patch
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Jun 15 21:10:13 UTC 2023 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
|
||||||
|
- Update to version 1.1.1
|
||||||
|
* Minor release to support clean freedv-gui builds
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu May 25 08:47:07 UTC 2023 - Martin Pluskal <mpluskal@suse.com>
|
||||||
|
|
||||||
|
- Update baselibs.conf to match change of shared library name
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat May 6 13:39:17 UTC 2023 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
|
||||||
|
- Update to version 1.1.0
|
||||||
|
* Internal maintenance.
|
||||||
|
* Tx peak levels normalised across modes.
|
||||||
|
* New raw data modes to support FreeDATA.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jul 17 07:02:37 UTC 2022 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
Sun Jul 17 07:02:37 UTC 2022 - Wojciech Kazubski <wk@ire.pw.edu.pl>
|
||||||
|
|
||||||
|
45
codec2.spec
45
codec2.spec
@@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package codec2
|
# spec file for package codec2
|
||||||
#
|
#
|
||||||
# Copyright (c) 2022 SUSE LLC
|
# Copyright (c) 2025 SUSE LLC
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@@ -16,25 +16,21 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%define libname lib%{name}-1_0
|
%define libname lib%{name}-1_2
|
||||||
Name: codec2
|
Name: codec2
|
||||||
Version: 1.0.5
|
Version: 1.2.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Low bit rate speech codec
|
Summary: Low bit rate speech codec
|
||||||
# octave and asterisk directories contain GPL-2.0 licensed code but its not
|
# octave/plot_fsk_demod_stats.py is GPL-3.0-or-later, unused
|
||||||
# used build, only used in examples subpackage.
|
|
||||||
License: LGPL-2.1-only
|
License: LGPL-2.1-only
|
||||||
Group: Productivity/Hamradio/Other
|
|
||||||
URL: https://rowetel.com/codec2.html
|
URL: https://rowetel.com/codec2.html
|
||||||
Source: https://github.com/drowe67/codec2/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
Source: https://github.com/drowe67/codec2/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}-rpmlintrc
|
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
BuildRequires: cmake
|
Patch0: codec2-1.2.0-install-binaries.patch
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: c++_compiler
|
||||||
|
BuildRequires: cmake >= 3.13
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: pkgconfig(samplerate)
|
%{?suse_build_hwcaps_libs}
|
||||||
BuildRequires: pkgconfig(speex)
|
|
||||||
BuildRequires: pkgconfig(speexdsp)
|
|
||||||
|
|
||||||
%description
|
%description
|
||||||
Codec 2 is a speech codec designed for communications quality speech
|
Codec 2 is a speech codec designed for communications quality speech
|
||||||
@@ -42,8 +38,6 @@ between 700 and 3200 bit/s.
|
|||||||
|
|
||||||
%package -n %{libname}
|
%package -n %{libname}
|
||||||
Summary: Low bit rate speech codec
|
Summary: Low bit rate speech codec
|
||||||
License: LGPL-2.1-only
|
|
||||||
Group: System/Libraries
|
|
||||||
|
|
||||||
%description -n %{libname}
|
%description -n %{libname}
|
||||||
Codec 2 is a speech codec designed for communications quality speech
|
Codec 2 is a speech codec designed for communications quality speech
|
||||||
@@ -51,8 +45,6 @@ between 700 and 3200 bit/s.
|
|||||||
|
|
||||||
%package devel
|
%package devel
|
||||||
Summary: Development library for codec2
|
Summary: Development library for codec2
|
||||||
License: GPL-2.0-only AND LGPL-2.1-only
|
|
||||||
Group: Development/Libraries/C and C++
|
|
||||||
Requires: %{libname} = %{version}
|
Requires: %{libname} = %{version}
|
||||||
|
|
||||||
%description devel
|
%description devel
|
||||||
@@ -61,28 +53,31 @@ between 700 and 3200 bit/s.
|
|||||||
|
|
||||||
%package examples
|
%package examples
|
||||||
Summary: Example code for Codec 2
|
Summary: Example code for Codec 2
|
||||||
License: GPL-2.0-only AND LGPL-2.1-only
|
|
||||||
Group: Productivity/Hamradio/Other
|
Group: Productivity/Hamradio/Other
|
||||||
Requires: %{name}-devel = %{version}
|
|
||||||
BuildArch: noarch
|
BuildArch: noarch
|
||||||
|
|
||||||
%description examples
|
%description examples
|
||||||
Example code for Codec 2, including test voices and matlab/octave files.
|
Example code for Codec 2, including test voices and matlab/octave files.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup
|
%autosetup -p1
|
||||||
|
rm -rf octave/
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%cmake \
|
%cmake \
|
||||||
-DINSTALL_EXAMPLES=TRUE \
|
|
||||||
-DUNITTEST=FALSE
|
-DUNITTEST=FALSE
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
%cmake_install
|
%cmake_install
|
||||||
|
mkdir -p %{buildroot}%{_datadir}/%{name}
|
||||||
|
cp -rv raw wav %{buildroot}%{_datadir}/%{name}/
|
||||||
|
|
||||||
%post -n %{libname} -p /sbin/ldconfig
|
%ldconfig_scriptlets -n %{libname}
|
||||||
%postun -n %{libname} -p /sbin/ldconfig
|
|
||||||
|
%files
|
||||||
|
%license COPYING
|
||||||
|
%{_bindir}/*
|
||||||
|
|
||||||
%files -n %{libname}
|
%files -n %{libname}
|
||||||
%license COPYING
|
%license COPYING
|
||||||
@@ -90,6 +85,7 @@ Example code for Codec 2, including test voices and matlab/octave files.
|
|||||||
%{_libdir}/libcodec2.so.*
|
%{_libdir}/libcodec2.so.*
|
||||||
|
|
||||||
%files devel
|
%files devel
|
||||||
|
%license COPYING
|
||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
%dir %{_libdir}/cmake/codec2
|
%dir %{_libdir}/cmake/codec2
|
||||||
%{_libdir}/cmake/codec2/codec2-config-relwithdebinfo.cmake
|
%{_libdir}/cmake/codec2/codec2-config-relwithdebinfo.cmake
|
||||||
@@ -98,6 +94,7 @@ Example code for Codec 2, including test voices and matlab/octave files.
|
|||||||
%{_libdir}/pkgconfig/%{name}.pc
|
%{_libdir}/pkgconfig/%{name}.pc
|
||||||
|
|
||||||
%files examples
|
%files examples
|
||||||
%{_datadir}/%{name}/
|
%license COPYING
|
||||||
|
%{_datadir}/%{name}
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
Reference in New Issue
Block a user