[PATCH] 1:1.2.2-alt4

Michael Shigorin mike на altlinux.org
Вс Июл 15 19:16:05 MSK 2018


- piggyback our CFLAGS as these don't get respected by libao
  (thx ldv@ yet again)
- fix and improve pulse knob
---
 libao.spec | 13 ++++++++++---
 1 file changed, 10 insertions(+), 3 deletions(-)

diff --git a/libao.spec b/libao.spec
index fa17fa2..00c4bb0 100644
--- a/libao.spec
+++ b/libao.spec
@@ -2,7 +2,7 @@
 
 Name: libao
 Version: 1.2.2
-Release: alt3
+Release: alt4
 Epoch: 1
 
 Summary: Cross Platform Audio Output Library
@@ -49,7 +49,7 @@ sed -i 's,-O20,%optflags_optimization,g' configure*
 %build
 %autoreconf
 %configure \
-	--enable-pulse \
+	%{subst_enable pulse} \
 	--enable-alsa \
 	--disable-alsa-mmap \
 	--disable-broken-oss \
@@ -57,14 +57,16 @@ sed -i 's,-O20,%optflags_optimization,g' configure*
 	--disable-esd \
 	--disable-arts \
 	--disable-nas
-%make_build
+%make_build AO_CFLAGS="%optflags"
 
 %install
 %makeinstall_std
 
 mkdir -p %buildroot%_sysconfdir
 cat <<__EOF__ >%buildroot%_sysconfdir/%name.conf
+%if_enabled pulse
 # possible values for "default_driver" are: alsa, pulse
+%endif
 default_driver=alsa
 __EOF__
 
@@ -89,6 +91,11 @@ __EOF__
 %_datadir/aclocal/*
 
 %changelog
+* Sun Jul 15 2018 Michael Shigorin <mike на altlinux.org> 1:1.2.2-alt4
+- piggyback our CFLAGS as these don't get respected by libao
+  (thx ldv@ yet again)
+- fix and improve pulse knob
+
 * Fri Dec 01 2017 Michael Shigorin <mike на altlinux.org> 1:1.2.2-alt3
 - generalized optflags fixup (ldv@)
 
-- 
2.25.4


--x+6KMIRAuhnl3hBn--


Подробная информация о списке рассылки Devel