Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37335784
en ru br
ALT Linux repos
S:1.2.2-alt5
D:0.8.7-alt0.1
5.0: 0.8.8-alt2
4.1: 0.8.8-alt1.13239
4.0: 0.8.6-alt10
3.0: 0.8.6-alt1

Group :: System/Libraries
RPM: libao

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Name: libao
Version: 1.2.2
Release: alt5
Epoch: 1

Summary: Cross Platform Audio Output Library
License: GPL
Group: System/Libraries

Url: http://www.xiph.org/ao/
# https://git.xiph.org/libao.git
Source0: %name-%version.tar
Patch0: libao-1.0.0-alt-oss.patch

BuildRequires: libalsa-devel libpulseaudio-devel

Provides: %name-alsa = %version-%release %name-pulse = %version-%release
Obsoletes: %name-alsa < %version-%release %name-pulse < %version-%release

%description
Libao is a cross platform audio output library.
It currently supports ALSA and PULSE.

%package devel
Summary: Development files for %name
Group: Development/C
PreReq: %name = %version-%release

%description devel
The %name-devel package contains the header files and documentation
needed to develop applications with %name

%prep
%setup
%patch -p1
sed -i 's,-O20,%optflags_optimization,g' configure*

%build
%autoreconf
%configure \
--enable-pulse \
--enable-alsa \
--disable-alsa-mmap \
--disable-broken-oss \
--disable-oss \
--disable-esd \
--disable-arts \
--disable-nas
%make_build AO_CFLAGS="%optflags"

%install
%makeinstall_std

mkdir -p %buildroot%_sysconfdir
cat <<__EOF__ >%buildroot%_sysconfdir/%name.conf
# possible values for "default_driver" are: alsa, pulse
default_driver=pulse,alsa
__EOF__

%files
%config(noreplace) %_sysconfdir/%name.conf
%_libdir/*.so.*
%dir %_libdir/ao
%dir %_libdir/ao/plugins-4
%_libdir/ao/plugins-4/libalsa.so
%_libdir/ao/plugins-4/libpulse.so
%_man5dir/*

%files devel
%doc AUTHORS CHANGES TODO doc/*.{html,css,c}
%_includedir/*
%_libdir/*.so
%_pkgconfigdir/*.pc
%_datadir/aclocal/*

%changelog

Full changelog you can see here

 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin