commit b1db0d89cc3467363fc1d596e3ec90d9b5e3e96da3d6581d30c9c64f3b25cf99 Author: Bjørn Lie Date: Tue Aug 13 20:04:29 2024 +0000 - Update to version 1.1.1: + Wasm Compilation cleanup + build: fix rpath issue + Add build-macos-meson job + Bluetooth Conformance test updated for LC3 - Changes from version 1.1.0: + LC3 Plus features + Python library wrapper + Add WASM compilation target OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblc3?expand=0&rev=13 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_service b/_service new file mode 100644 index 0000000..80c3c56 --- /dev/null +++ b/_service @@ -0,0 +1,17 @@ + + + + https://github.com/google/liblc3.git + git + @PARENT_TAG@ + v([0-9\.]*) + v1.1.1 + + + + *.tar + zst + + + + diff --git a/baselibs.conf b/baselibs.conf new file mode 100644 index 0000000..da02043 --- /dev/null +++ b/baselibs.conf @@ -0,0 +1 @@ +liblc3-1 diff --git a/liblc3-1.0.4.obscpio b/liblc3-1.0.4.obscpio new file mode 100644 index 0000000..2bd8803 --- /dev/null +++ b/liblc3-1.0.4.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b7cb46b74b8e115826b5a9aaa2a17e704368aa46de47fd545316f2e609006601 +size 1131020 diff --git a/liblc3-1.1.1.obscpio b/liblc3-1.1.1.obscpio new file mode 100644 index 0000000..631833e --- /dev/null +++ b/liblc3-1.1.1.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:685f952c0e94bd6effc4fd33e7090fe35ce868a079484b3dc1c9ea00c1fc800d +size 3266572 diff --git a/liblc3.changes b/liblc3.changes new file mode 100644 index 0000000..9a437fd --- /dev/null +++ b/liblc3.changes @@ -0,0 +1,48 @@ +------------------------------------------------------------------- +Tue Aug 13 19:55:33 UTC 2024 - Bjørn Lie + +- Update to version 1.1.1: + + Wasm Compilation cleanup + + build: fix rpath issue + + Add build-macos-meson job + + Bluetooth Conformance test updated for LC3 +- Changes from version 1.1.0: + + LC3 Plus features + + Python library wrapper + + Add WASM compilation target + +------------------------------------------------------------------- +Fri Aug 4 09:24:21 UTC 2023 - Bjørn Lie + +- Update to version 1.0.4: + + Enhancement: Add fuzzing test harness. + + Fixes: Gain adjustment during second quantization phase can + exceed minimum gain (introduce distortion at high bitrate). + +------------------------------------------------------------------- +Mon May 8 19:08:52 UTC 2023 - Bjørn Lie + +- Update to version 1.0.3: + + Enhancements: + - C++ interface + - Remove 1 multiply by samples (when not using + upsampling/downsampling feature) + - Declare liblc3 as dependency in meson (helps using as meson + subproject) + - Make encoder/decoder states relocatable + + Improve portability: + - Enable -pedantic compilation flag + - Remove VLA to support compilation with MSVC + - Remove use of deprecated int numpy attribute + + Fixes: Fix undefined behaviors on integer shifting + +------------------------------------------------------------------- +Sun Mar 19 11:11:53 UTC 2023 - Bjørn Lie + +- Add baselibs.conf, needed for pipewire. + +------------------------------------------------------------------- +Thu Mar 9 14:35:07 UTC 2023 - Bjørn Lie + +- Initial packaging for openSUSE. + diff --git a/liblc3.obsinfo b/liblc3.obsinfo new file mode 100644 index 0000000..eeb2e24 --- /dev/null +++ b/liblc3.obsinfo @@ -0,0 +1,4 @@ +name: liblc3 +version: 1.1.1 +mtime: 1713565077 +commit: 73bbc00245d9874ef3e8bc8ef6476e6fee9f42aa diff --git a/liblc3.spec b/liblc3.spec new file mode 100644 index 0000000..6b972c9 --- /dev/null +++ b/liblc3.spec @@ -0,0 +1,95 @@ +# +# spec file for package liblc3 +# +# Copyright (c) 2024 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +%define lc3soname liblc3-1 + +Name: liblc3 +Version: 1.1.1 +Release: 0 +Summary: Low Complexity Communication Codec (LC3) +License: Apache-2.0 +URL: https://github.com/google/liblc3 +Source: %{name}-%{version}.tar.zst +Source99: baselibs.conf +BuildRequires: c_compiler +BuildRequires: meson +BuildRequires: pkgconfig + +%description +Low Complexity Communication Codec (LC3). +The LC3 is an low latency audio codec. + +%package -n %{lc3soname} +Summary: Low Complexity Communication Codec (LC3) - Shared library + +%description -n %{lc3soname} +Low Complexity Communication Codec (LC3). +The LC3 is an low latency audio codec. + +This package provides the shared library of %{name}. + +%package tools +Summary: Low Complexity Communication Codec (LC3) - Tools + +%description tools +Low Complexity Communication Codec (LC3). +The LC3 is an low latency audio codec. + +This package provides tools for %{name}. + +%package devel +Summary: Low Complexity Communication Codec (LC3) - Development Files +Requires: %{lc3soname} = %{version} + +%description devel +Low Complexity Communication Codec (LC3). +The LC3 is an low latency audio codec. + +This package provides all the necessary files for development with +%{name}. + +%prep +%autosetup -p1 + +%build +%meson \ + --includedir=%{_includedir}/%{name} \ + -D tools=true \ + %{nil} +%meson_build + +%install +%meson_install + +%ldconfig_scriptlets -n %{lc3soname} + +%files -n %{lc3soname} +%license LICENSE +%{_libdir}/liblc3.so.* + +%files tools +%{_bindir}/dlc3 +%{_bindir}/elc3 + +%files devel +%doc README.md +%{_includedir}/%{name} +%{_libdir}/pkgconfig/lc3.pc +%{_libdir}/liblc3.so + +%changelog