]> git.pld-linux.org Git - packages/faad2.git/commitdiff
- without static_libs bcond
authorKarol Krenski <charles@pld-linux.org>
Thu, 24 Aug 2006 17:25:49 +0000 (17:25 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- BR: SDL-devel

Changed files:
    faad2.spec -> 1.25

faad2.spec

index b5d8e56a8843d1746dd33f7dcb5f65a06006efd7..2b08cf2236919efb66b0d84bbde391ae514004ad 100644 (file)
@@ -1,8 +1,9 @@
 #
 # 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
@@ -19,6 +20,7 @@ Patch1:               %{name}-no-extension.patch
 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}
@@ -118,7 +120,8 @@ Wtyczka XMMS do plik
 %{__automake}
 %configure \
        --with%{!?with_xmms:out}-xmms \
-       --with%{!?with_mpeg4ip:out}-mpeg4ip
+       --with%{!?with_mpeg4ip:out}-mpeg4ip \
+       %{!?with_static_libs:--disable-static}
 
 %{__make}
 
@@ -153,9 +156,11 @@ rm -rf $RPM_BUILD_ROOT
 %{_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
This page took 0.081406 seconds and 4 git commands to generate.