]> git.pld-linux.org Git - packages/ffmpeg.git/commitdiff
- gcc is fixed - we can enable altivec now; new-style bcond, release 4 auto/ac/ffmpeg-0_4_8-4
authorJakub Bogusz <qboosh@pld-linux.org>
Mon, 19 Jan 2004 19:00:38 +0000 (19:00 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    ffmpeg.spec -> 1.31

ffmpeg.spec

index 1c611e1457d6c3ae4c7d489066e048c41b66d5ee..93a31691c5f942688059e1e5a4bf3fd902cfc12c 100644 (file)
@@ -1,12 +1,12 @@
 #
 # Conditional build:
-# _without_imlib       - we can safely play without it :-)
+%bcond_without imlib   # we can safely play without it :-)
 #
 Summary:       Realtime audio/video encoder and streaming server
 Summary(pl):   Koder audio/wideo czasu rzeczywistego oraz serwer strumieni
 Name:          ffmpeg
 Version:       0.4.8
-Release:       3
+Release:       4
 License:       LGPL/GPL
 Group:         Daemons
 Source0:       http://dl.sourceforge.net/ffmpeg/%{name}-%{version}.tar.gz
@@ -18,7 +18,11 @@ Patch3:              %{name}-lib64.patch
 URL:           http://ffmpeg.sourceforge.net/
 BuildRequires: SDL-devel
 BuildRequires: freetype-devel
-%{!?_without_imlib:BuildRequires:      imlib2-devel >= 1.1.0-2}
+%ifarch ppc
+# require version with altivec support fixed
+BuildRequires: gcc >= 5:3.3.2-3
+%endif
+%{?with_imlib:BuildRequires:   imlib2-devel >= 1.1.0-2}
 BuildRequires: libtool >= 2:1.4d-3
 %ifarch i586 i686 athlon
 BuildRequires: nasm
@@ -122,7 +126,6 @@ Statyczne biblioteki ffmpeg (libavcodec i libavformat).
 # - -fomit-frame-pointer is always needed on x86 due to lack of registers
 #   (-fPIC takes one)
 # - --disable-debug, --disable-opts, tune=generic causes not to override our optflags
-# - [temporary!!!] altivec disabled because of gcc 3.3.x bug target/11793
 ./configure \
        --prefix=%{_prefix} \
        --mandir=%{_mandir} \
@@ -131,9 +134,6 @@ Statyczne biblioteki ffmpeg (libavcodec i libavformat).
        --enable-faadbin \
 %ifnarch i586 i686 athlon
        --disable-mmx \
-%endif
-%ifarch ppc
-       --disable-altivec \
 %endif
        --cc="%{__cc}" \
        --extra-cflags="%{rpmcflags} -fomit-frame-pointer" \
@@ -182,7 +182,7 @@ rm -rf $RPM_BUILD_ROOT
 %attr(755,root,root) %{_bindir}/ffplay
 %{_mandir}/man1/ffplay.1*
 
-%if %{!?_without_imlib:1}0
+%if %{with imlib}
 %files vhook-imlib2
 %defattr(644,root,root,755)
 %attr(755,root,root) %{_libdir}/vhook/imlib2.so
This page took 0.290148 seconds and 4 git commands to generate.