SPECS: faad2.spec - without static_libs bcond - BR: SDL-devel

charles charles at pld-linux.org
Thu Aug 24 19:25:56 CEST 2006


Author: charles                      Date: Thu Aug 24 17:25:56 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- without static_libs bcond
- BR: SDL-devel

---- Files affected:
SPECS:
   faad2.spec (1.24 -> 1.25) 

---- Diffs:

================================================================
Index: SPECS/faad2.spec
diff -u SPECS/faad2.spec:1.24 SPECS/faad2.spec:1.25
--- SPECS/faad2.spec:1.24	Thu Aug 24 19:19:14 2006
+++ SPECS/faad2.spec	Thu Aug 24 19:25:49 2006
@@ -1,9 +1,10 @@
 # $Revision$, $Date$
 #
 # Conditional build:
+%bcond_with	bootstrap	# bootstrap (alias for _without_mpeg4ip)
 %bcond_without	mpeg4ip		# don't build MPEG4IP plugin
+%bcond_without	static_libs	# don't build static libraries
 %bcond_without	xmms		# don't build XMMS plugin
-%bcond_with	bootstrap	# bootstrap (alias for _without_mpeg4ip)
 #
 %{?with_bootstrap:%undefine with_mpeg4ip}
 Summary:	Freeware Advanced Audio Decoder 2
@@ -20,6 +21,7 @@
 Patch2:		%{name}-mpeg4ip.patch
 Patch3:		%{name}-inttypes_h.patch
 URL:		http://www.audiocoding.com/
+BuildRequires:	SDL-devel
 BuildRequires:	autoconf
 BuildRequires:	automake
 %{?with_xmms:BuildRequires:	id3lib-devel >= 3.8.2}
@@ -119,7 +121,8 @@
 %{__automake}
 %configure \
 	--with%{!?with_xmms:out}-xmms \
-	--with%{!?with_mpeg4ip:out}-mpeg4ip
+	--with%{!?with_mpeg4ip:out}-mpeg4ip \
+	%{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -154,9 +157,11 @@
 %{_includedir}/faad.h
 %{_includedir}/neaacdec.h
 
+%if %{with static_libs}
 %files static
 %defattr(644,root,root,755)
 %{_libdir}/libfaad.a
+%endif
 
 %if %{with xmms}
 %files -n xmms-input-faad2
@@ -176,6 +181,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.25  2006/08/24 17:25:49  charles
+- without static_libs bcond
+- BR: SDL-devel
+
 Revision 1.24  2006/08/24 17:19:14  glen
 - probably needs mpeg4ip >= 1.5 (1.4.1 has missing constants)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/faad2.spec?r1=1.24&r2=1.25&f=u



More information about the pld-cvs-commit mailing list