diff --git a/source/Makefile.mk b/source/Makefile.mk index bb1483fb8..e27b2b9df 100644 --- a/source/Makefile.mk +++ b/source/Makefile.mk @@ -238,7 +238,10 @@ HAVE_PULSEAUDIO = $(shell pkg-config --exists libpulse-simple && echo true) endif endif -HAVE_FFMPEG = $(shell pkg-config --exists libavcodec libavformat libavutil && echo true) +# ffmpeg values taken from https://ffmpeg.org/download.html (v2.8.15 maximum) +HAVE_FFMPEG = $(shell pkg-config --max-version=56.60.100 libavcodec && \ + pkg-config --max-version=56.40.101 libavformat && \ + pkg-config --max-version=54.31.100 libavutil && echo true) HAVE_FLUIDSYNTH = $(shell pkg-config --atleast-version=1.1.7 fluidsynth && echo true) HAVE_JACK = $(shell pkg-config --exists jack && echo true) HAVE_LIBLO = $(shell pkg-config --exists liblo && echo true) diff --git a/source/modules/audio_decoder/Makefile b/source/modules/audio_decoder/Makefile index ae2bd2f39..843e49197 100644 --- a/source/modules/audio_decoder/Makefile +++ b/source/modules/audio_decoder/Makefile @@ -10,7 +10,7 @@ include ../Makefile.mk # --------------------------------------------------------------------------------------------------------------------- -# BUILD_C_FLAGS += +BUILD_C_FLAGS += -Werror=deprecated-declarations # ---------------------------------------------------------------------------------------------------------------------