File libavutil-1.0.1-cripple.patch of Package libavutil
--- configure.orig 2012-12-03 22:17:33.000000000 +0100
+++ configure 2012-12-16 00:28:06.130728867 +0100
@@ -2047,15 +2047,7 @@
enable $PROGRAM_LIST
enable $DOCUMENT_LIST
-enable avcodec
-enable avdevice
-enable avfilter
-enable avformat
enable avutil
-enable postproc
-enable stripping
-enable swresample
-enable swscale
enable asm
enable debug
@@ -2138,18 +2130,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
@@ -4234,16 +4214,7 @@
eval echo "${lcname}_VERSION_MAJOR=\$${name}_VERSION_MAJOR" >> config.mak
}
-get_version_old LIBPOSTPROC libpostproc/postprocess.h
-get_version_old LIBSWRESAMPLE libswresample/swresample.h
-
-get_version libavcodec
-get_version libavdevice
-get_version libavfilter
-get_version libavformat
-get_version libavresample
get_version libavutil
-get_version libswscale
cat > $TMPH <<EOF
/* Automatically generated by configure - do not modify! */