forked from pool/liblc3
Accepting request 1070502 from home:iznogood
New package, bluetooth audio codec. Can be used by pipewire OBS-URL: https://build.opensuse.org/request/show/1070502 OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/liblc3?expand=0&rev=1
This commit is contained in:
commit
65c78e1e4c
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -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
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
17
_service
Normal file
17
_service
Normal file
@ -0,0 +1,17 @@
|
||||
<?xml version="1.0"?>
|
||||
<services>
|
||||
<service name="obs_scm" mode="manual">
|
||||
<param name="url">https://github.com/google/liblc3.git</param>
|
||||
<param name="scm">git</param>
|
||||
<param name="versionformat">@PARENT_TAG@</param>
|
||||
<param name="versionrewrite-pattern">v([0-9\.]*)</param>
|
||||
<param name="revision">v1.0.2</param>
|
||||
</service>
|
||||
<service name="tar" mode="buildtime"/>
|
||||
<service name="recompress" mode="buildtime">
|
||||
<param name="file">*.tar</param>
|
||||
<param name="compression">xz</param>
|
||||
</service>
|
||||
<service name="set_version" mode="manual"/>
|
||||
</services>
|
||||
|
3
liblc3-1.0.2.obscpio
Normal file
3
liblc3-1.0.2.obscpio
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:709ed8bc8f140530de6f53548ee37c8387601762b095bcee9811e65527326f0e
|
||||
size 1111564
|
4
liblc3.changes
Normal file
4
liblc3.changes
Normal file
@ -0,0 +1,4 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 9 14:35:07 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Initial build for openSUSE.
|
4
liblc3.obsinfo
Normal file
4
liblc3.obsinfo
Normal file
@ -0,0 +1,4 @@
|
||||
name: liblc3
|
||||
version: 1.0.2
|
||||
mtime: 1676496449
|
||||
commit: f34f4654d6c319415de718f45ff6ec73135058de
|
94
liblc3.spec
Normal file
94
liblc3.spec
Normal file
@ -0,0 +1,94 @@
|
||||
#
|
||||
# spec file for package liblc3
|
||||
#
|
||||
# Copyright (c) 2023 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.0.2
|
||||
Release: 0
|
||||
Summary: Low Complexity Communication Codec (LC3)
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/google/liblc3
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
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: Shared library for %{name}, an audio codec
|
||||
|
||||
%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: Tools for %{name}, an audio codec
|
||||
|
||||
%description tools
|
||||
Low Complexity Communication Codec (LC3).
|
||||
The LC3 is an low latency audio codec.
|
||||
|
||||
This package provides tools for %{name}.
|
||||
|
||||
%package devel
|
||||
Summary: Development Files For %{name}, an audio codec
|
||||
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
|
Loading…
Reference in New Issue
Block a user