File libavutil-2.0-cripple.patch of Package libavutil
diff -ur ffmpeg-2.0.orig/configure ffmpeg-2.0/configure
--- ffmpeg-2.0.orig/configure 2013-07-10 02:43:00.000000000 +0200
+++ ffmpeg-2.0/configure 2013-07-28 09:20:44.530930614 +0200
@@ -1227,14 +1227,7 @@
"
LIBRARY_LIST="
- avcodec
- avdevice
- avfilter
- avformat
- avresample
avutil
- postproc
- swresample
swscale
"
@@ -2351,18 +2344,6 @@
sed -n "s/^[^#]*$pattern.*([^,]*, *\([^,]*\)\(,.*\)*).*/\1_$thing/p" "$file"
}
-ENCODER_LIST=$(find_things encoder ENC libavcodec/allcodecs.c)
-DECODER_LIST=$(find_things decoder DEC libavcodec/allcodecs.c)
-HWACCEL_LIST=$(find_things hwaccel HWACCEL libavcodec/allcodecs.c)
-PARSER_LIST=$(find_things parser PARSER libavcodec/allcodecs.c)
-BSF_LIST=$(find_things bsf BSF libavcodec/allcodecs.c)
-MUXER_LIST=$(find_things muxer _MUX libavformat/allformats.c)
-DEMUXER_LIST=$(find_things demuxer DEMUX libavformat/allformats.c)
-OUTDEV_LIST=$(find_things outdev OUTDEV libavdevice/alldevices.c)
-INDEV_LIST=$(find_things indev _IN libavdevice/alldevices.c)
-PROTOCOL_LIST=$(find_things protocol PROTOCOL libavformat/allformats.c)
-FILTER_LIST=$(find_things filter FILTER libavfilter/allfilters.c)
-
ALL_COMPONENTS="
$BSF_LIST
$DECODER_LIST
diff -ur ffmpeg-2.0.orig/libavutil/frame.h ffmpeg-2.0/libavutil/frame.h
--- ffmpeg-2.0.orig/libavutil/frame.h 2013-07-10 02:43:01.000000000 +0200
+++ ffmpeg-2.0/libavutil/frame.h 2013-07-28 09:26:31.695146746 +0200
@@ -22,8 +22,6 @@
#include <stdint.h>
-#include "libavcodec/version.h"
-
#include "avutil.h"
#include "buffer.h"
#include "dict.h"
diff -ur ffmpeg-2.0.orig/tests/Makefile ffmpeg-2.0/tests/Makefile
--- ffmpeg-2.0.orig/tests/Makefile 2013-07-10 02:43:01.000000000 +0200
+++ ffmpeg-2.0/tests/Makefile 2013-07-28 09:20:44.531930588 +0200
@@ -69,63 +69,6 @@
FILTERDEMDECMUX = $(call ALLYES, $(1)_FILTER $(2)_DEMUXER $(3)_DECODER $(4)_MUXER)
FILTERDEMDECENCMUX = $(call ALLYES, $(1)_FILTER $(2)_DEMUXER $(3)_DECODER $(4)_ENCODER $(5)_MUXER)
-include $(SRC_PATH)/tests/fate/acodec.mak
-include $(SRC_PATH)/tests/fate/vcodec.mak
-include $(SRC_PATH)/tests/fate/avformat.mak
-include $(SRC_PATH)/tests/fate/seek.mak
-
-include $(SRC_PATH)/tests/fate/aac.mak
-include $(SRC_PATH)/tests/fate/ac3.mak
-include $(SRC_PATH)/tests/fate/adpcm.mak
-include $(SRC_PATH)/tests/fate/alac.mak
-include $(SRC_PATH)/tests/fate/als.mak
-include $(SRC_PATH)/tests/fate/amrnb.mak
-include $(SRC_PATH)/tests/fate/amrwb.mak
-include $(SRC_PATH)/tests/fate/atrac.mak
-include $(SRC_PATH)/tests/fate/audio.mak
-include $(SRC_PATH)/tests/fate/bmp.mak
-include $(SRC_PATH)/tests/fate/cdxl.mak
-include $(SRC_PATH)/tests/fate/cover-art.mak
-include $(SRC_PATH)/tests/fate/demux.mak
-include $(SRC_PATH)/tests/fate/dfa.mak
-include $(SRC_PATH)/tests/fate/dpcm.mak
-include $(SRC_PATH)/tests/fate/ea.mak
-include $(SRC_PATH)/tests/fate/ffmpeg.mak
-include $(SRC_PATH)/tests/fate/ffprobe.mak
-include $(SRC_PATH)/tests/fate/filter-audio.mak
-include $(SRC_PATH)/tests/fate/filter-video.mak
-include $(SRC_PATH)/tests/fate/flac.mak
-include $(SRC_PATH)/tests/fate/fft.mak
-include $(SRC_PATH)/tests/fate/gif.mak
-include $(SRC_PATH)/tests/fate/h264.mak
-include $(SRC_PATH)/tests/fate/image.mak
-include $(SRC_PATH)/tests/fate/indeo.mak
-include $(SRC_PATH)/tests/fate/libavcodec.mak
-include $(SRC_PATH)/tests/fate/libavformat.mak
-include $(SRC_PATH)/tests/fate/libavutil.mak
-include $(SRC_PATH)/tests/fate/lossless-audio.mak
-include $(SRC_PATH)/tests/fate/lossless-video.mak
-include $(SRC_PATH)/tests/fate/microsoft.mak
-include $(SRC_PATH)/tests/fate/monkeysaudio.mak
-include $(SRC_PATH)/tests/fate/mp3.mak
-include $(SRC_PATH)/tests/fate/mpc.mak
-include $(SRC_PATH)/tests/fate/pcm.mak
-include $(SRC_PATH)/tests/fate/probe.mak
-include $(SRC_PATH)/tests/fate/prores.mak
-include $(SRC_PATH)/tests/fate/qt.mak
-include $(SRC_PATH)/tests/fate/qtrle.mak
-include $(SRC_PATH)/tests/fate/real.mak
-include $(SRC_PATH)/tests/fate/screen.mak
-include $(SRC_PATH)/tests/fate/subtitles.mak
-include $(SRC_PATH)/tests/fate/utvideo.mak
-include $(SRC_PATH)/tests/fate/video.mak
-include $(SRC_PATH)/tests/fate/voice.mak
-include $(SRC_PATH)/tests/fate/vorbis.mak
-include $(SRC_PATH)/tests/fate/vpx.mak
-include $(SRC_PATH)/tests/fate/vqf.mak
-include $(SRC_PATH)/tests/fate/wavpack.mak
-include $(SRC_PATH)/tests/fate/wma.mak
-
FATE_FFMPEG += $(FATE_FFMPEG-yes) $(FATE_AVCONV) $(FATE_AVCONV-yes)
FATE-$(CONFIG_FFMPEG) += $(FATE_FFMPEG)
FATE-$(CONFIG_FFPROBE) += $(FATE_FFPROBE)