Projects
home:yurg
ffmpeg-compat-54
ffmpeg-compat-54.spec
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File ffmpeg-compat-54.spec of Package ffmpeg-compat-54
Summary: Digital VCR and streaming server Name: ffmpeg-compat-54 Version: 1.2.12 Release: 1%{?dist} %if 0%{?_with_amr:1} License: GPLv3+ %else License: GPLv2+ %endif Group: Applications/Multimedia URL: http://ffmpeg.org/ Source0: http://ffmpeg.org/releases/ffmpeg-%{version}.tar.bz2 Patch0: libvpx_VP8E_UPD_ENTROPY.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: pkg-config #BuildRequires: bzip2-devel #%{!?_without_celt:BuildRequires: celt-devel} %{?_with_dirac:BuildRequires: dirac-devel} %{?_with_faac:BuildRequires: faac-devel} BuildRequires: freetype-devel %{!?_without_frei0r:BuildRequires: pkgconfig(frei0r)} BuildRequires: gnutls-devel BuildRequires: libgsm-devel BuildRequires: libmp3lame-devel %{?_with_jack:BuildRequires: jack-audio-connection-kit-devel} BuildRequires: libass-devel %{!?_without_cdio:BuildRequires: libcdio-devel} #libcrystalhd is currently broken %{?_with_crystalhd:BuildRequires: libcrystalhd-devel} BuildRequires: libdc1394-devel Buildrequires: libmodplug-devel %{?_with_rtmp:BuildRequires: librtmp-devel} BuildRequires: libtheora-devel BuildRequires: libv4l-devel BuildRequires: libvdpau-devel BuildRequires: libvorbis-devel %{?!_without_vpx:BuildRequires: libvpx-devel >= 0.9.1} %ifarch %{ix86} x86_64 BuildRequires: libXvMC-devel %{?!_without_vaapi:BuildRequires: libva-devel >= 0.31.0} %endif %{?_with_amr:BuildRequires: opencore-amr-devel vo-amrwbenc-devel} %{!?_without_openal:BuildRequires: openal-soft-devel} #%{!?_without_opencv:BuildRequires: opencv-devel} BuildRequires: openjpeg-devel BuildRequires: pkgconfig(opus) %{!?_without_pulse:BuildRequires: pkgconfig(libpulse)} BuildRequires: perl(Pod::Man) BuildRequires: schroedinger-devel BuildRequires: SDL-devel BuildRequires: speex-devel BuildRequires: subversion BuildRequires: texi2html %{!?_without_x264:BuildRequires: pkgconfig(x264)} #%{!?_without_x264:BuildRequires: x264-devel >= 0.0.0-0.31} BuildRequires: libxvidcore-devel BuildRequires: zlib-devel %ifarch %{ix86} x86_64 BuildRequires: yasm %endif %description FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. !!! BIG FAT WARNING!!! This package is made for compatibility with older components It is not intended to be used in insecure environment. %package devel Summary: Development package for %{name} Group: Development/Libraries Requires: %{name}%{?_isa} = %{version}-%{release} Requires: pkgconfig %description devel FFmpeg is a complete and free Internet live audio and video broadcasting solution for Linux/Unix. It also includes a digital VCR. It can encode in real time in many formats including MPEG1 audio and video, MPEG4, h263, ac3, asf, avi, real, mjpeg, and flash. This package contains development files for %{name} %global ff_configure \ ../configure \\\ --prefix=%{_prefix} \\\ --bindir=%{_bindir} \\\ --datadir=%{_datadir}/%{name} \\\ --incdir=%{_includedir}/%{name} \\\ --libdir=%{_libdir}/%{name} \\\ --mandir=%{_mandir} \\\ --arch=%{_target_cpu} \\\ --optflags="$RPM_OPT_FLAGS" \\\ %{?_with_amr:--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvo-amrwbenc --enable-version3} \\\ --enable-bzlib \\\ %{!?_with_crystalhd:--disable-crystalhd} \\\ %{!?_without_frei0r:--enable-frei0r} \\\ --enable-gnutls \\\ --enable-libass \\\ --enable-libdc1394 \\\ %{?_with_dirac:--enable-libdirac} \\\ %{?_with_faac:--enable-libfaac --enable-nonfree} \\\ %{!?_with_jack:--disable-indev=jack} \\\ --enable-libfreetype \\\ --enable-libgsm \\\ --enable-libmp3lame \\\ %{!?_without_openal:--enable-openal} \\\ --enable-libopenjpeg \\\ --enable-libopus \\\ %{!?_without_pulse:--enable-libpulse} \\\ %{?_with_rtmp:--enable-librtmp} \\\ --enable-libschroedinger \\\ --enable-libspeex \\\ --enable-libtheora \\\ --enable-libvorbis \\\ --enable-libv4l2 \\\ %{!?_without_vpx:--enable-libvpx} \\\ %{!?_without_x264:--enable-libx264} \\\ --enable-libxvid \\\ --enable-x11grab \\\ --enable-avfilter \\\ --enable-avresample \\\ --enable-postproc \\\ --enable-swresample \\\ --enable-swscale \\\ --enable-pthreads \\\ --disable-static \\\ --enable-shared \\\ --enable-gpl \\\ --disable-debug \\\ --disable-stripping \\\ --disable-doc %prep %setup -q -n ffmpeg-%{version} %patch0 -p1 %build mkdir generic pushd generic %{ff_configure}\ --shlibdir=%{_libdir} \ --disable-ffmpeg --disable-ffplay --disable-ffprobe --disable-ffserver \ %ifarch %{ix86} --cpu=%{_target_cpu} \ %endif %ifarch %{ix86} x86_64 --enable-runtime-cpudetect \ %endif %ifarch ppc --cpu=g3 \ --enable-runtime-cpudetect \ --enable-pic \ %endif %ifarch ppc64 --cpu=g5 \ --enable-runtime-cpudetect \ --enable-pic \ %endif %ifarch sparc sparc64 --disable-vis \ %endif %ifarch %{arm} --disable-runtime-cpudetect \ %ifnarch armv7hnl --disable-neon %endif %endif make %{?_smp_mflags} popd %if 0%{!?ffmpegsuffix:1} mkdir simd pushd simd %ifarch sparc sparc64 %{ff_configure}\ --shlibdir=%{_libdir}/v9 \ --cpu=v9 \ --enable-vis \ --disable-ffmpeg \ --disable-ffserver \ --disable-ffplay \ make %{?_smp_mflags} %endif popd %endif %install rm -rf $RPM_BUILD_ROOT pushd generic make install DESTDIR=$RPM_BUILD_ROOT popd %if 0%{!?ffmpegsuffix:1} pushd simd %ifarch sparc sparc64 make install DESTDIR=$RPM_BUILD_ROOT %endif popd %endif #Alternative ffmpeg package move headers into a special directory if ! [ %{name} == ffmpeg ] ; then mkdir -p $RPM_BUILD_ROOT%{_libdir}/%{name}/pkgconfig for s in $RPM_BUILD_ROOT/%{_libdir}/*.so ; do ffmpegsym=`basename ${s}` ffmpeglib=`readlink ${s}` echo "Symlink $ffmpeglib" ln -fs ../${ffmpeglib} \ $RPM_BUILD_ROOT%{_libdir}/%{name}/${ffmpegsym} done rm -rf $RPM_BUILD_ROOT/%{_libdir}/*.so fi %clean rm -rf $RPM_BUILD_ROOT %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %files %defattr(-,root,root,-) %doc COPYING.* CREDITS README %{_libdir}/lib*.so.* %if 0%{!?ffmpegsuffix:1} %ifarch sparc sparc64 %{_libdir}/v9/lib*.so.* %endif %endif %files devel %defattr(-,root,root,-) %doc MAINTAINERS doc/APIchanges doc/*.txt %{_includedir}/%{name} %dir %{_libdir}/%{name} %dir %{_libdir}/%{name}/pkgconfig %{_libdir}/%{name}/pkgconfig/lib*.pc %{_libdir}/%{name}/lib*.so %if 0%{!?ffmpegsuffix:1} %ifarch sparc sparc64 %{_libdir}/v9/lib*.so %endif %endif %changelog * Sun Sep 20 2015 Yuriy Gorodilin <yurg27@gmail.com> - 1.2.11-1 - Test
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.