ffmpeg: Dependency cleanup
[feed/packages.git] / multimedia / ffmpeg / Config.in
index e9413b0d20c6cef82d3fc7ea0fe112a40bde7b78..1ba84e3d80acba35a11f4613de7ad66ef23c91c7 100644 (file)
@@ -113,6 +113,7 @@ comment "External Libraries"
 config FFMPEG_CUSTOM_SELECT_mp3lame
        bool "MP3 LAME"
        depends on FFMPEG_CUSTOM_PATENTED
+       depends on PACKAGE_lame-lib
        select FFMPEG_CUSTOM_DECODER_mp3
        select FFMPEG_CUSTOM_MUXER_mp3
        select FFMPEG_CUSTOM_DEMUXER_mp3
@@ -124,8 +125,9 @@ config FFMPEG_CUSTOM_SELECT_speex
        bool "Speex"
 
 config FFMPEG_CUSTOM_SELECT_x264
-       depends on FFMPEG_CUSTOM_PATENTED
        bool "x264"
+       depends on FFMPEG_CUSTOM_PATENTED
+       depends on PACKAGE_libx264
        select FFMPEG_CUSTOM_DECODER_h264
        select FFMPEG_CUSTOM_MUXER_h264
        select FFMPEG_CUSTOM_DEMUXER_h264