[vlc-devel] [PATCH 1/2] configure: don't require a too old version of libavutil
Steve Lhomme
robux4 at ycbcr.xyz
Fri Aug 3 11:36:12 CEST 2018
On the Debian I have in WSL (buster/sid) libavutil-dev depends on
libavutil56
I suppose that's 5.6 but then the version number of the package doesn't
correspond:
Version: 7:4.0.2-1
But in /usr/include/x86_64-linux-gnu/libavutil/version.h it's 56.14.100
On 03/08/2018 11:24, Jean-Baptiste Kempf wrote:
> What does Debian testing has in their packages version?
>
> On Fri, 3 Aug 2018, at 11:01, Steve Lhomme wrote:
>> And comment with version of libavcodec we needs corresponds to what libavutil
>> version. This was we don't need defines for versions we don't support anymore.
>> ---
>> configure.ac | 4 +++-
>> 1 file changed, 3 insertions(+), 1 deletion(-)
>>
>> diff --git a/configure.ac b/configure.ac
>> index 243304fe78..5c30b99963 100644
>> --- a/configure.ac
>> +++ b/configure.ac
>> @@ -2337,10 +2337,12 @@ AS_IF([test "${enable_avcodec}" != "no"], [
>> dnl We need >=57.16.0 from libav or >=57.37.100 from ffmpeg
>> case "${avfork}" in
>> libav) av_codec_ver="57.16.0" ;;
>> + dnl 05f66706d182eb0c36af54d72614bf4c33e957a9 includes libavutil
>> 55.9.0
>> ffmpeg) av_codec_ver="57.37.100" ;;
>> + dnl 7fc329e2dd6226dfecaa4a1d7adf353bf2773726 include libavutil
>> 55.22.101
>> *) AC_MSG_ERROR([Missing libav or FFmpeg. Pass --disable-avcodec to
>> ignore this error.])
>> esac
>> - PKG_CHECK_MODULES(AVCODEC,[libavcodec >= ${av_codec_ver} libavutil >=
>> 52.0.0], [
>> + PKG_CHECK_MODULES(AVCODEC,[libavcodec >= ${av_codec_ver} libavutil >=
>> 55.9.0], [
>> VLC_SAVE_FLAGS
>> CPPFLAGS="${CPPFLAGS} ${AVCODEC_CFLAGS}"
>> CFLAGS="${CFLAGS} ${AVCODEC_CFLAGS}"
>> --
>> 2.17.0
>>
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>
> --
> Jean-Baptiste Kempf - President
> +33 672 704 734
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
More information about the vlc-devel
mailing list