Sync from SUSE:SLFO:Main ldacBT revision 6cbaeaefd9bdf0a2afbfabb3d56b8616

This commit is contained in:
Adrian Schröter 2024-05-03 14:18:30 +02:00
commit da83d4f77c
5 changed files with 147 additions and 0 deletions

23
.gitattributes vendored Normal file
View 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
baselibs.conf Normal file
View File

@ -0,0 +1 @@
libldac2

BIN
ldacBT-2.0.2.3.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

32
ldacBT.changes Normal file
View File

@ -0,0 +1,32 @@
-------------------------------------------------------------------
Thu Feb 18 08:12:03 UTC 2021 - Antonio Larrosa <alarrosa@suse.com>
- Exclude building in big-endian architectures (s390 s390x ppc64)
since ldacBT requires a little-endian cpu to build.
-------------------------------------------------------------------
Thu Jan 28 10:50:33 UTC 2021 - Frederic Crozat <fcrozat@suse.com>
- adapt baselibs.conf to only ship 32bit library, not devel.
-------------------------------------------------------------------
Mon Jan 25 15:10:50 UTC 2021 - Frederic Crozat <fcrozat@suse.com>
- add baselibs.conf
-------------------------------------------------------------------
Fri Feb 15 19:56:49 UTC 2019 - bjorn.lie@gmail.com
- Update to version 2.0.2.3:
+ Add cmake definitions: INSTALL_INCLUDEDIR,
INSTALL_PKGCONFIGDIR, INSTALL_LDAC_INCLUDEDIR.
-------------------------------------------------------------------
Wed Feb 13 11:14:39 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Split the library to subpackage based on soname
-------------------------------------------------------------------
Wed Feb 13 11:04:28 UTC 2019 - Tomáš Chvátal <tchvatal@suse.com>
- Initial commit, based of Fedora package

88
ldacBT.spec Normal file
View File

@ -0,0 +1,88 @@
#
# spec file for package ldacBT
#
# Copyright (c) 2021 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/
#
%global libname libldac2
Name: ldacBT
Version: 2.0.2.3
Release: 0
Summary: A lossy audio codec for Bluetooth connections
License: Apache-2.0
Group: Productivity/Multimedia/Sound/Utilities
URL: https://github.com/EHfive/ldacBT
Source0: %{url}/releases/download/v%{version}/%{name}-%{version}.tar.gz
Source1: baselibs.conf
BuildRequires: cmake
BuildRequires: gcc
BuildRequires: pkgconfig
ExcludeArch: s390 s390x ppc64
%description
LDAC is an audio coding technology developed by Sony.
It enables the transmission of High-Resolution Audio content,
even over a Bluetooth connection.
%package devel
Summary: Development files for %{name}
Group: Development/Libraries/C and C++
Requires: %{libname} = %{version}
%description devel
The %{name}-devel package contains libraries and header files for
developing applications that use %{name}.
%package -n %{libname}
Summary: A lossy audio codec for Bluetooth connections
Group: System/Libraries
%description -n %{libname}
LDAC is an audio coding technology developed by Sony.
It enables the transmission of High-Resolution Audio content,
even over a Bluetooth connection.
%prep
%autosetup -n %{name}
%build
%cmake \
-DBUILD_STATIC_LIBS=OFF \
-DLDAC_SOFT_FLOAT=OFF \
-DINSTALL_LIBDIR=%{_libdir} \
%{nil}
%make_jobs
%install
%cmake_install
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig
%files -n %{libname}
%license LICENSE
%{_libdir}/libldacBT_abr.so.*
%{_libdir}/libldacBT_enc.so.*
%files devel
%dir %{_includedir}/ldac
%{_includedir}/ldac/ldacBT_abr.h
%{_includedir}/ldac/ldacBT.h
%{_libdir}/pkgconfig/ldacBT-abr.pc
%{_libdir}/pkgconfig/ldacBT-enc.pc
%{_libdir}/libldacBT_abr.so
%{_libdir}/libldacBT_enc.so
%changelog