Sync from SUSE:SLFO:Main pcaudiolib revision 8718b0281843633d6fcb4f620d4c1b79

This commit is contained in:
Adrian Schröter 2024-05-03 17:43:57 +02:00
commit cf6892c0d9
4 changed files with 134 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

BIN
pcaudiolib-1.2.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

30
pcaudiolib.changes Normal file
View File

@ -0,0 +1,30 @@
-------------------------------------------------------------------
Wed May 4 09:14:39 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 1.2
* Fix cancellation snappiness
* Alsa: fixed sample_size calculation, multiply with channel count.
* Fix some typos
-------------------------------------------------------------------
Mon Apr 22 13:47:38 UTC 2019 - Luigi Baldoni <aloisio@gmx.com>
- Update to version 1.1
* Fix handling EBADFD, EPIPE and short write when writing to
the ALSA device.
* Fix audio echos when using `snd_pcm_drop` in ALSA devices.
-------------------------------------------------------------------
Mon Mar 5 08:52:58 UTC 2018 - jengelh@inai.de
- Set RPM groups. Trim other-OS mentions.
-------------------------------------------------------------------
Mon Feb 19 17:32:19 UTC 2018 - aloisio@gmx.com
- Spec cleanup
-------------------------------------------------------------------
Sun Oct 1 02:16:52 UTC 2017 - aavindraa@gmail.com
- package for the first time

78
pcaudiolib.spec Normal file
View File

@ -0,0 +1,78 @@
#
# spec file for package pcaudiolib
#
# Copyright (c) 2022 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 sover 0
Name: pcaudiolib
Version: 1.2
Release: 0
Summary: Portable C Audio Library
License: GPL-3.0-or-later
Group: Development/Libraries/C and C++
URL: https://reecedunn.co.uk/espeak-for-android
Source: https://github.com/espeak-ng/%{name}/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
BuildRequires: gcc-c++
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: pkgconfig(alsa)
BuildRequires: pkgconfig(libpulse)
%description
The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices.
%package -n libpcaudio%{sover}
Summary: Cross platform audio library
Group: System/Libraries
%description -n libpcaudio%{sover}
The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices.
%package devel
Summary: Development files for libpcaudio0
Group: Development/Languages/C and C++
Requires: libpcaudio%{sover} = %{version}
%description devel
The Portable C Audio Library (pcaudiolib) provides a C API to different audio devices.
%prep
%setup -q
%build
./autogen.sh
%configure --disable-static --disable-silent-rules
%make_build
%install
%make_install
rm -vf %{buildroot}%{_libdir}/*.{a,la}
%post -n libpcaudio%{sover} -p /sbin/ldconfig
%postun -n libpcaudio%{sover} -p /sbin/ldconfig
%files -n libpcaudio%{sover}
%license COPYING
%{_libdir}/libpcaudio.so.*
%files devel
%doc README.md
%license COPYING
%{_libdir}/libpcaudio.so
%dir %{_includedir}/pcaudiolib
%{_includedir}/pcaudiolib/audio.h
%changelog