]> git.pld-linux.org Git - packages/esound.git/commitdiff
- killed alsa entropy (BR+R+bcond)
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 4 Jun 2003 12:45:15 +0000 (12:45 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    esound.spec -> 1.81

esound.spec

index fc949c46fb748404a824460f5be820334468c1ac..90e81d91c81b230b0707b3b04d73737bc23187cf 100644 (file)
@@ -1,5 +1,6 @@
 #
 # Conditional build:
+# _without_alsa                - without ALSA support
 # _without_libwrap     - without hosts.{access,deny} support
 #
 Summary:       The Enlightened Sound Daemon
@@ -20,6 +21,7 @@ Source0:      http://ftp.gnome.org/pub/GNOME/sources/esound/0.2/%{name}-%{version}.ta
 Patch0:                %{name}-am.patch
 Patch1:                %{name}-etc_dir.patch
 URL:           http://www.tux.org/~ricdude/EsounD.html
+%{!?_without_alsa:BuildRequires:       alsa-lib-devel}
 BuildRequires: audiofile-devel >= 0.2.0
 BuildRequires: autoconf
 BuildRequires: automake
@@ -70,6 +72,7 @@ Summary(ru):  
 Summary(uk):   â¦Â̦ÏÔÅËÉ ÒÏÚÒÏÂËÉ ÄÌÑ esound
 Group:         Development/Libraries
 Requires:      %{name} = %{version}
+%{!?_without_alsa:Requires:    alsa-lib-devel}
 Requires:      audiofile-devel
 Obsoletes:     libesound0-devel
 
@@ -141,11 +144,12 @@ usem o servidor de som EsounD.
 %build
 rm -f missing acinclude.m4
 %{__libtoolize}
-%{__aclocal} || ( echo 'AC_DEFUN([AM_PATH_ALSA],[])' > acinclude.m4 && aclocal )
+%{__aclocal}
 %{__autoconf}
 %{__automake}
 %configure \
-       --with%{?_without_libwrap:out}-libwrap
+       --with%{?_without_libwrap:out}-libwrap \
+       %{?_without_alsa:--disable-alsa}
 
 %{__make}
 
This page took 0.030598 seconds and 4 git commands to generate.