* Sun Dec 14 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.55.20081214

- 20081214 snapshot
- change the lib split on x86, it doesn't work right for P3/AthlonXP
- specfile cleanups
- enable bzlib, dirac and speex support via external libs
- sort BR list alphabetically
- drop upstream'd patch
el8
Dominik Mierzejewski 16 years ago
parent 9d5ae54a5f
commit b9b84a1b1e

2
.gitignore vendored

@ -1 +1 @@
ffmpeg-20081202.tar.bz2 ffmpeg-20081214.tar.bz2

@ -1,37 +0,0 @@
diff -up ffmpeg-20081202/configure.p ffmpeg-20081202/configure
--- ffmpeg-20081202/configure.p 2008-11-30 01:20:19.000000000 +0100
+++ ffmpeg-20081202/configure 2008-12-11 20:33:55.000000000 +0100
@@ -2114,11 +2114,6 @@ check_deps $CONFIG_LIST \
$OUTDEV_LIST \
$PROTOCOL_LIST \
-enabled libdc1394 && append pkg_requires "libraw1394"
-enabled libdirac && append pkg_requires "dirac"
-enabled libtheora && append pkg_requires "theora"
-enabled libvorbis && append pkg_requires "vorbisenc"
-
echo "install prefix $prefix"
echo "source path $source_path"
echo "C compiler $cc"
@@ -2442,16 +2437,16 @@ EOF
}
pkgconfig_generate libavutil "FFmpeg utility library" "$LIBAVUTIL_VERSION"
-pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$extralibs" "$pkg_requires libavutil = $LIBAVUTIL_VERSION"
-pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "$pkg_requires libavcodec = $LIBAVCODEC_VERSION"
-pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "$pkg_requires libavformat = $LIBAVFORMAT_VERSION"
+pkgconfig_generate libavcodec "FFmpeg codec library" "$LIBAVCODEC_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
+pkgconfig_generate libavformat "FFmpeg container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION"
+pkgconfig_generate libavdevice "FFmpeg device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION"
enabled avfilter &&
- pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "$pkg_requires libavutil = $LIBAVUTIL_VERSION"
+ pkgconfig_generate libavfilter "FFmpeg video filtering library" "$LIBAVFILTER_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
enabled postproc &&
pkgconfig_generate libpostproc "FFmpeg post processing library" "$LIBPOSTPROC_VERSION"
if enabled swscale; then
pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION"
else
- pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "$pkg_requires libavcodec = $LIBAVCODEC_VERSION"
+ pkgconfig_generate libswscale "FFmpeg image rescaling library" "$LIBSWSCALE_VERSION" "" "libavcodec = $LIBAVCODEC_VERSION"
apply libswscale/libswscale.pc sed s/^Libs:.*$/Libs:/
fi

@ -1,12 +1,12 @@
# TODO: add make test to %%check section # TODO: add make test to %%check section
%define svn 20081202 %define svn 20081214
%define faad2min 1:2.6.1 %define faad2min 1:2.6.1
Summary: Digital VCR and streaming server Summary: Digital VCR and streaming server
Name: ffmpeg Name: ffmpeg
Version: 0.4.9 Version: 0.4.9
Release: 0.54.%{svn}%{?dist} Release: 0.55.%{svn}%{?dist}
License: GPLv2+ License: GPLv2+
Group: Applications/Multimedia Group: Applications/Multimedia
URL: http://ffmpeg.org/ URL: http://ffmpeg.org/
@ -16,19 +16,23 @@ Patch0: %{name}-pkgconfig.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
%{?_with_amr:BuildRequires: amrnb-devel amrwb-devel} %{?_with_amr:BuildRequires: amrnb-devel amrwb-devel}
BuildRequires: zlib-devel BuildRequires: bzip2-devel
BuildRequires: dirac-devel
BuildRequires: faac-devel
BuildRequires: faad2-devel >= %{faad2min}
BuildRequires: gsm-devel
BuildRequires: imlib2-devel
BuildRequires: lame-devel BuildRequires: lame-devel
BuildRequires: libdc1394-devel BuildRequires: libdc1394-devel
BuildRequires: libvorbis-devel
BuildRequires: libtheora-devel BuildRequires: libtheora-devel
BuildRequires: faad2-devel >= %{faad2min} BuildRequires: libvorbis-devel
BuildRequires: xvidcore-devel BuildRequires: schroedinger-devel
BuildRequires: SDL-devel BuildRequires: SDL-devel
BuildRequires: gsm-devel BuildRequires: speex-devel
BuildRequires: imlib2-devel
BuildRequires: texi2html BuildRequires: texi2html
BuildRequires: faac-devel
BuildRequires: x264-devel >= 0.0.0-0.14.20080613 BuildRequires: x264-devel >= 0.0.0-0.14.20080613
BuildRequires: xvidcore-devel
BuildRequires: zlib-devel
#don't enable on x86_64 until PIC issues on are fixed (in libavcodec/i386/fft_mmx.asm) #don't enable on x86_64 until PIC issues on are fixed (in libavcodec/i386/fft_mmx.asm)
%ifarch %{ix86} %ifarch %{ix86}
BuildRequires: yasm BuildRequires: yasm
@ -76,11 +80,15 @@ This package contains development files for %{name}
--arch=%{_target_cpu} \\\ --arch=%{_target_cpu} \\\
--extra-cflags="$RPM_OPT_FLAGS" \\\ --extra-cflags="$RPM_OPT_FLAGS" \\\
%{?_with_amr:--enable-libamr-nb --enable-libamr-wb --enable-nonfree} \\\ %{?_with_amr:--enable-libamr-nb --enable-libamr-wb --enable-nonfree} \\\
--enable-bzlib \\\
--enable-libdc1394 \\\ --enable-libdc1394 \\\
--enable-libdirac \\\
--enable-libfaac \\\ --enable-libfaac \\\
--enable-libfaad \\\ --enable-libfaad \\\
--enable-libgsm \\\ --enable-libgsm \\\
--enable-libmp3lame \\\ --enable-libmp3lame \\\
--enable-libschroedinger \\\
--enable-libspeex \\\
--enable-libtheora \\\ --enable-libtheora \\\
--enable-libvorbis \\\ --enable-libvorbis \\\
--enable-libx264 \\\ --enable-libx264 \\\
@ -110,7 +118,6 @@ pushd generic
--shlibdir=%{_libdir} \ --shlibdir=%{_libdir} \
%ifarch %{ix86} %ifarch %{ix86}
--cpu=%{_target_cpu} \ --cpu=%{_target_cpu} \
--disable-mmx \
%endif %endif
%ifarch ppc ppc64 %ifarch ppc ppc64
--disable-altivec \ --disable-altivec \
@ -122,22 +129,19 @@ pushd generic
make %{?_smp_mflags} make %{?_smp_mflags}
popd popd
mkdir simd
pushd simd
%ifarch %{ix86} %ifarch %{ix86}
mkdir sse2
pushd sse2
%{ff_configure}\ %{ff_configure}\
--shlibdir=%{_libdir}/sse2 \ --shlibdir=%{_libdir}/i686 \
--cpu=i686 \ --cpu=i686 \
--disable-ffmpeg \ --disable-ffmpeg \
--disable-ffserver \ --disable-ffserver \
--disable-ffplay \ --disable-ffplay \
make %{?_smp_mflags} make %{?_smp_mflags}
popd
%endif %endif
%ifarch ppc %ifarch ppc
mkdir altivec
pushd altivec
%{ff_configure}\ %{ff_configure}\
--shlibdir=%{_libdir}/altivec \ --shlibdir=%{_libdir}/altivec \
--cpu=g4 \ --cpu=g4 \
@ -146,11 +150,9 @@ pushd altivec
--disable-ffserver \ --disable-ffserver \
--disable-ffplay \ --disable-ffplay \
popd make %{?_smp_mflags}
%endif %endif
%ifarch ppc64 %ifarch ppc64
mkdir altivec
pushd altivec
%{ff_configure}\ %{ff_configure}\
--shlibdir=%{_libdir}/altivec \ --shlibdir=%{_libdir}/altivec \
--cpu=g5 \ --cpu=g5 \
@ -159,11 +161,9 @@ pushd altivec
--disable-ffserver \ --disable-ffserver \
--disable-ffplay \ --disable-ffplay \
popd make %{?_smp_mflags}
%endif %endif
%ifarch sparc sparc64 %ifarch sparc sparc64
mkdir vis
pushd vis
%{ff_configure}\ %{ff_configure}\
--shlibdir=%{_libdir}/v9 \ --shlibdir=%{_libdir}/v9 \
--cpu=v9 \ --cpu=v9 \
@ -172,29 +172,26 @@ pushd vis
--disable-ffserver \ --disable-ffserver \
--disable-ffplay \ --disable-ffplay \
popd make %{?_smp_mflags}
%endif %endif
popd
%install %install
rm -rf $RPM_BUILD_ROOT __doc rm -rf $RPM_BUILD_ROOT __doc
pushd generic pushd generic
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
popd popd
pushd simd
%ifarch %{ix86} %ifarch %{ix86}
pushd sse2
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
popd
%endif %endif
%ifarch ppc ppc64 %ifarch ppc ppc64
pushd altivec
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
popd
%endif %endif
%ifarch sparc sparc64 %ifarch sparc sparc64
pushd vis
make install DESTDIR=$RPM_BUILD_ROOT make install DESTDIR=$RPM_BUILD_ROOT
popd
%endif %endif
popd
cp -a doc __doc cp -a doc __doc
rm -f __doc/{Makefile,*.{1,pl,texi}} rm -f __doc/{Makefile,*.{1,pl,texi}}
@ -223,8 +220,8 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/lib*.so.* %{_libdir}/lib*.so.*
%{_libdir}/vhook/ %{_libdir}/vhook/
%ifarch %{ix86} %ifarch %{ix86}
%{_libdir}/sse2/lib*.so.* %{_libdir}/i686/lib*.so.*
%{_libdir}/sse2/vhook/ %{_libdir}/i686/vhook/
%endif %endif
%ifarch ppc ppc64 %ifarch ppc ppc64
%{_libdir}/altivec/lib*.so.* %{_libdir}/altivec/lib*.so.*
@ -241,7 +238,7 @@ rm -rf $RPM_BUILD_ROOT
%{_libdir}/pkgconfig/lib*.pc %{_libdir}/pkgconfig/lib*.pc
%{_libdir}/lib*.so %{_libdir}/lib*.so
%ifarch %{ix86} %ifarch %{ix86}
%{_libdir}/sse2/lib*.so %{_libdir}/i686/lib*.so
%endif %endif
%ifarch ppc ppc64 %ifarch ppc ppc64
%{_libdir}/altivec/lib*.so %{_libdir}/altivec/lib*.so
@ -252,6 +249,14 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Sun Dec 14 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.55.20081214
- 20081214 snapshot
- change the lib split on x86, it doesn't work right for P3/AthlonXP
- specfile cleanups
- enable bzlib, dirac and speex support via external libs
- sort BR list alphabetically
- drop upstream'd patch
* Thu Dec 11 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.54.20081202 * Thu Dec 11 2008 Dominik Mierzejewski <rpm at greysector.net> - 0.4.9-0.54.20081202
- fix pkgconfig file generation - fix pkgconfig file generation

@ -1 +1 @@
231d71e5cc6101ac8fb8403b76758877 ffmpeg-20081202.tar.bz2 eb90bfeda4ea39ff3c6b92806909a5be ffmpeg-20081214.tar.bz2

Loading…
Cancel
Save