From 21ee18ae3a01f56ee4de88a476afe5dc43a3b519 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Aug 01 2019 01:04:42 +0000 Subject: import libao-1.2.0-10.el8 --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..0abe552 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/libao-1.2.0.tar.gz diff --git a/.libao.metadata b/.libao.metadata new file mode 100644 index 0000000..86c1fd1 --- /dev/null +++ b/.libao.metadata @@ -0,0 +1 @@ +6b1d2c6a2e388e3bb6ebea158d51afef18aacc56 SOURCES/libao-1.2.0.tar.gz diff --git a/SOURCES/0001-ao_pulse.c-fix-latency-calculation.patch b/SOURCES/0001-ao_pulse.c-fix-latency-calculation.patch new file mode 100644 index 0000000..f6a61fc --- /dev/null +++ b/SOURCES/0001-ao_pulse.c-fix-latency-calculation.patch @@ -0,0 +1,26 @@ +From de5547ebc2b0ed37d69889c3c3aec6553d2d84cb Mon Sep 17 00:00:00 2001 +From: Stas Sergeev +Date: Wed, 18 Feb 2015 00:36:28 +0300 +Subject: [PATCH] ao_pulse.c: fix latency calculation + +This fixes periodic underruns with pa plugin. +--- + src/plugins/pulse/ao_pulse.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/plugins/pulse/ao_pulse.c b/src/plugins/pulse/ao_pulse.c +index ff5497f..9c0f64a 100644 +--- a/src/plugins/pulse/ao_pulse.c ++++ b/src/plugins/pulse/ao_pulse.c +@@ -259,7 +259,7 @@ int ao_plugin_open(ao_device *device, ao_sample_format *format) { + battr.prebuf = battr.minreq = battr.fragsize = -1; + + battr.tlength = (int)(internal->buffer_time * format->rate) / 1000000 * +- ((format->bits+7)/8) + device->output_channels; ++ ((format->bits+7)/8) * device->output_channels; + battr.minreq = battr.tlength/4; + battr.maxlength = battr.tlength+battr.minreq; + +-- +2.1.0 + diff --git a/SPECS/libao.spec b/SPECS/libao.spec new file mode 100644 index 0000000..ed43df0 --- /dev/null +++ b/SPECS/libao.spec @@ -0,0 +1,317 @@ +Name: libao +Version: 1.2.0 +Release: 10%{?dist} +Summary: Cross Platform Audio Output Library +Group: System Environment/Libraries +License: GPLv2+ +URL: http://xiph.org/ao/ +Source0: http://downloads.xiph.org/releases/ao/%{name}-%{version}.tar.gz +Patch1: 0001-ao_pulse.c-fix-latency-calculation.patch +BuildRequires: alsa-lib-devel +BuildRequires: pkgconfig(libpulse) + +%description +Libao is a cross platform audio output library. It currently supports +ESD, OSS, Solaris, and IRIX. + + +%package devel +Summary: Development files for %{name} +Group: Development/Libraries +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +The %{name}-devel package contains libraries and header files for +developing applications that use %{name}. + + +%prep +%setup -q +%patch1 -p1 +sed -i "s/-O20 -ffast-math//" configure + + +%build +%configure +sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool +sed -i 's|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool +make %{?_smp_mflags} + + +%install +%make_install INSTALL="install -p" +# remove unpackaged files from the buildroot +find $RPM_BUILD_ROOT -name '*.la' -exec rm -rf {} \; +rm -rf $RPM_BUILD_ROOT%{_docdir}/%{name}* + + +%post -p /sbin/ldconfig + +%postun -p /sbin/ldconfig + + +%files +%doc AUTHORS CHANGES COPYING README +%{_libdir}/libao.so.* +%{_libdir}/ao +%{_mandir}/man5/* + +%files devel +%doc doc/*.html doc/*.c doc/*.css +%{_includedir}/ao +%{_libdir}/ckport +%{_libdir}/libao.so +%{_libdir}/pkgconfig/ao.pc +%{_datadir}/aclocal/ao.m4 + + +%changelog +* Wed Feb 07 2018 Fedora Release Engineering - 1.2.0-10 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild + +* Thu Aug 03 2017 Fedora Release Engineering - 1.2.0-9 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.2.0-8 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Fri Feb 10 2017 Fedora Release Engineering - 1.2.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild + +* Thu Feb 04 2016 Fedora Release Engineering - 1.2.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild + +* Wed Jun 17 2015 Fedora Release Engineering - 1.2.0-5 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild + +* Fri Feb 20 2015 Hans de Goede - 1.2.0-4 +- Add a patch fixing pulseaudio buffersize calculations (rhbz#1193688) + +* Sun Aug 17 2014 Fedora Release Engineering - 1.2.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild + +* Sat Jun 07 2014 Fedora Release Engineering - 1.2.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild + +* Sun Feb 23 2014 Hans de Goede - 1.2.0-1 +- Rebase to upstream 1.2.0 release (rhbz#1060417) +- Drop no longer used ao.req Provides filter + +* Mon Aug 05 2013 Hans de Goede - 1.1.0-8 +- Fix FTBFS caused by unversioned docdir change (#992054) + +* Sat Aug 03 2013 Fedora Release Engineering - 1.1.0-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild + +* Thu Feb 14 2013 Fedora Release Engineering - 1.1.0-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild + +* Thu Aug 23 2012 Matthias Clasen - 1.1.0-5 +- Don't require esound or arts. They are both obsolete +- Drop no-longer-needed dependency hack + +* Thu Jul 19 2012 Fedora Release Engineering - 1.1.0-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild + +* Sat Jun 23 2012 Rex Dieter 1.1.0-3 +- s/pulseaudio-lib-devel/pkgconfig(libpulse) + +* Fri Jan 13 2012 Fedora Release Engineering - 1.1.0-2 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild + +* Wed May 18 2011 Hans de Goede - 1.1.0-1 +- Update to 1.1.0 (rhbz#705166) + +* Mon Feb 07 2011 Fedora Release Engineering - 1.0.0-3 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild + +* Fri Nov 5 2010 Hans de Goede - 1.0.0-2 +- Silence plugin load errors when arts or esd is not installed (#645924) + +* Sat Aug 28 2010 Rakesh Pandit - 1.0.0-1 +- Updated to 1.0.0 + * AO returned to active development + * Added surround channel mapping API and capability + * Updated all drivers on modern installs + * New config file options + * Driver options may be specified in config file + * Support for MacOSX updated to 10.5 and later + * Build in WMM driver rather than using dlopen() + * Added Roar Audio driver + * Added OpenBSD SNDIO driver + * Workaround for ESD non-4096 byte write bug + * Workaround aRts server crash bug + * Workaround for VIA82xx click/crackle bugs under ALSA + * Remove dead/unused drivers (solaris, alasa05, mmsound) + * Numerous patches from multiple downstreams +- Patch from upstream: libao-1.0.0 Pulse Audio Fix + +* Fri Jan 15 2010 Michael Schwendt - 0.8.8-10 +- Replace the broken/expensive file dependency in release -8/-9 with + an arch-specific base package dependency if %%_isa is defined. + +* Mon Nov 23 2009 Rakesh Pandit - 0.8.8-9 +- Reverting back change to libao-devel (/usr/lib/libao.so.2 to libao%%{?_isa}) + +* Tue Nov 10 2009 Rakesh Pandit - 0.8.8-8 +- Change requires on libao-devel from: /usr/lib/libao.so.2 to libao%%{?_isa} + +* Fri Jul 24 2009 Fedora Release Engineering - 0.8.8-7 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild + +* Wed Feb 25 2009 Fedora Release Engineering - 0.8.8-6 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild + +* Sun Jul 6 2008 Hans de Goede - 0.8.8-5 +- Fix pulseaudio sound output on bigendian archs (bz 454165), patch by + Ian Chapman + +* Tue Feb 19 2008 Fedora Release Engineering - 0.8.8-4 +- Autorebuild for GCC 4.3 + +* Thu Nov 15 2007 Hans de Goede - 0.8.8-3 +- Minor packaging cleanups for merge review (bz 225986) + +* Wed Nov 14 2007 Hans de Goede - 0.8.8-2 +- Fix multilib conflict (bz 341891) +- Fix Source0 and URL urls + +* Wed Nov 7 2007 Julian Sikorski - 0.8.8-1 +- Updated to 0.8.8 (bz 316731) +- Cleaned up the SPEC +- Added PulseAudio support +- Made build parallel +- Killed rpaths +- Changed the kludges to use sed + +* Thu Aug 23 2007 Adam Jackson - 0.8.6-5 +- Rebuild for build ID + +* Fri Jan 12 2007 Behdad Esfahbod - 0.8.6-5 +- Require libao.so.2 explicitly in -devel package +- Resolves: #221980 + +* Tue Nov 21 2006 Behdad Esfahbod - 0.8.6-4 +- Only export namespaced symbols. (bug 216108) + +* Mon Jul 24 2006 Ray Strode - 0.8.6-3 +- remove all .la files (bug 199058) + +* Wed Jul 12 2006 Jesse Keating - 0.8.6-2.1 +- rebuild + +* Wed Jun 7 2006 Jeremy Katz - 0.8.6-2 +- rebuild for -devel deps + +* Fri Feb 10 2006 Jesse Keating - 0.8.6-1.2.1 +- bump again for double-long bug on ppc(64) + +* Tue Feb 07 2006 Jesse Keating - 0.8.6-1.2 +- rebuilt for new gcc4.1 snapshot and glibc changes + +* Fri Dec 09 2005 Jesse Keating +- rebuilt + +* Wed Nov 09 2005 John (J5) Palmieri 0.8.6-1 +- update to 0.8.6 + +* Thu Mar 03 2005 John (J5) Palmieri 0.8.5-3 +- rebuild with gcc 4.0 + +* Thu Sep 02 2004 Colin Walters +- Update to 0.8.5 +- Delete upstreamed patch libao-0.8.4-alsa10.patch + +* Tue Jun 15 2004 Elliot Lee +- rebuilt + +* Tue Mar 02 2004 Elliot Lee +- rebuilt + +* Fri Feb 13 2004 Elliot Lee +- rebuilt + +* Thu Dec 11 2003 Bill Nottingham 0.8.4-1 +- update to 0.8.4 +- fix alsa09 plugin to work with alsa-1.0.0pre + +* Wed Oct 22 2003 Bill Nottingham 0.8.3-5 +- fix dependency blacklisting (#100917) + +* Wed Jun 04 2003 Elliot Lee +- rebuilt + +* Wed Jan 22 2003 Tim Powers +- rebuilt + +* Fri Nov 29 2002 Tim Powers 0.8.3-2 +- remove unpackaged files from the buildroot + +* Thu Jul 18 2002 Bill Nottingham 0.8.3-1 +- update to 0.8.3 + +* Fri Jun 21 2002 Tim Powers +- automated rebuild + +* Thu May 23 2002 Tim Powers +- automated rebuild + +* Thu Mar 14 2002 Bill Nottingham +- hm, where did that esd output plugin go? + +* Tue Jan 1 2002 Bill Nottingham +- update to 0.8.2 + +* Tue Aug 14 2001 Bill Nottingham +- update to 0.8.0 + +* Fri Jul 20 2001 Bill Nottingham +- split this off from the vorbis package, as something else now requires it + +* Tue Jul 10 2001 Bill Nottingham +- own %%{_libdir}/ao +- I love libtool + +* Tue Jun 26 2001 Florian La Roche +- add links from library major version numbers in rpms + +* Tue Jun 19 2001 Bill Nottingham +- update to rc1 + +* Fri May 4 2001 Oliver Paukstadt +- fixed perl line in spec file to set optims correctly + +* Tue Mar 20 2001 Bill Nottingham +- fix alpha/ia64, again +- use optflags, not -O20 -ffast-math (especially on alpha...) + +* Mon Feb 26 2001 Bill Nottingham +- fix license tag + +* Mon Feb 26 2001 Bill Nottingham +- beta4 + +* Fri Feb 9 2001 Bill Nottingham +- fix alpha/ia64 + +* Thu Feb 8 2001 Bill Nottingham +- update CVS in prep for beta4 + +* Wed Feb 07 2001 Philipp Knirsch +- Fixed bugzilla bug #25391. ogg123 now usses the OSS driver by default if + none was specified. + +* Tue Jan 9 2001 Bill Nottingham +- update CVS, grab aRts backend for libao + +* Wed Dec 27 2000 Bill Nottingham +- update CVS + +* Fri Dec 01 2000 Bill Nottingham +- rebuild because of broken fileutils + +* Mon Nov 13 2000 Bill Nottingham +- hack up specfile some, merge some packages + +* Sat Oct 21 2000 Jack Moffitt +- initial spec file created