Changes of Revision 61
[-] | Changed | ffmpeg.spec |
x 1
2 Requires: %{libnameavformat} = %{version}-%{release} 3 Requires: %{libnameavutil} = %{version}-%{release} 4 Requires: %{libnameswscale} = %{version}-%{release} 5 -%if %suse_version >= 930 6 +%if 0%{suse_version} >= 930 7 BuildRequires: libdca-devel 8 BuildRequires: libdca0 9 %endif 10 BuildRequires: yasm >= 0.7.1 11 -%if %suse_version >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} 12 +%if 0%{?suse_version} >= 1010 || 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} 13 BuildRequires: libgsm 14 BuildRequires: libgsm-devel 15 %endif 16
17 %if 0%{?centos_version} || 0%{?rhel_version} || 0%{?fedora_version} 18 BuildRequires: xorg-x11-proto-devel xorg-x11-xtrans-devel 19 %endif 20 -%if %suse_version >= 920 21 +%if 0%{?suse_version} >= 920 22 BuildRequires: xorg-x11-devel 23 %endif 24 %if 0%{?suse_version} > 0 && 0%{?suse_version} < 920 25
26 BuildRequires: libdc1394 27 BuildRequires: libdc1394-devel 28 BuildRequires: libspeex-devel 29 -%if %suse_version >= 1030 30 +%if 0%{?suse_version} >= 1030 31 BuildRequires: libschroedinger-devel >= 1.0.5 32 BuildRequires: liboil-devel >= 0.3.15 33 BuildRequires: libdirac-devel >= 1.0.0 34 %endif 35 -#%if %suse_version >= 1100 36 +#%if 0%{?suse_version} >= 1100 37 #BuildRequires: libnut-devel 38 #%endif 39 -%if %suse_version > 1020 40 +%if 0%{?suse_version} > 1020 41 BuildRequires: libdc1394_control12-devel 42 %endif 43 #BuildRequires: G.729-devel 44
45 #Requires: liba52-devel 46 Requires: libjack-devel 47 Requires: libspeex-devel 48 -%if %suse_version > 930 49 +%if 0%{?suse_version} > 930 50 Requires: libdca-devel 51 %endif 52 -%if %suse_version >= 1010 53 +%if 0%{?suse_version} >= 1010 54 Requires: libgsm-devel 55 %endif 56 Requires: libdc1394 57 Requires: libdc1394-devel 58 -%if %suse_version >= 1030 59 +%if 0%{?suse_version} >= 1030 60 Requires: libschroedinger-devel >= 1.0.5 61 Requires: liboil-devel >= 0.3.15 62 Requires: libdirac0 63 Requires: libdirac-devel >= 1.0.0 64 %endif 65 -#%if %suse_version >= 1100 66 +#%if 0%{?suse_version} >= 1100 67 #Requires: libnut-devel 68 #%endif 69 -%if %suse_version > 1020 70 +%if 0%{?suse_version} > 1020 71 Requires: libdc1394_control12-devel 72 %endif 73 Requires: nvidia-vdpau-devel 74
75 %endif 76 77 CFLAGS="$RPM_OPT_FLAGS $archflags" 78 -%if %suse_version >= 1010 79 +%if 0%{?suse_version} >= 1010 80 CFLAGS="${CFLAGS} -I%{_includedir}/gsm" 81 %endif 82 export archflags 83 export CFLAGS 84 85 ./configure --shlibdir=%{_libdir} --prefix=%{_prefix} --mandir=%{_mandir} \ 86 -%if %suse_version == 910 87 +%if 0%{?suse_version} == 910 88 --enable-memalign-hack \ 89 %endif 90 --libdir=%{_libdir} --enable-shared --enable-libmp3lame \ 91 --enable-libvorbis --enable-libtheora --enable-libspeex --enable-libfaad \ 92 --enable-libfaac --enable-libxvid --enable-swscale \ 93 --enable-postproc --enable-gpl --enable-vhook --enable-x11grab \ 94 -%if %suse_version >= 1030 95 +%if 0%{?suse_version} >= 1030 96 --enable-libschroedinger --enable-libdirac \ 97 %endif 98 -%if %suse_version >= 1010 99 +%if 0%{?suse_version} >= 1010 100 --enable-libgsm \ 101 %endif 102 %ifarch ppc 103
104 --enable-libdc1394 --enable-nonfree --enable-pthreads \ 105 --enable-vdpau 106 #--enable-libg729a --enable-liba52 --enable-libopenjpeg 107 -#%if %suse_version >= 1100 108 +#%if 0%{?suse_version} >= 1100 109 # --enable-libnut \ 110 #%endif 111 %{__make} %{?jobs:-j%{jobs}} 112 |