Distro agnostic ffmpeg version test

fix #217
preferencesAboutTextFull
bartoszek 6 years ago committed by bartus
parent d932ae1a42
commit 04cc58d66a
  1. 4
      src/podcast/podcast.pri

@ -69,8 +69,8 @@ linux-g++* {
-lxcb-xfixes \
-lxcb-render -lxcb-shape -lxcb -lX11 -lasound -lSDL -lx264 -lpthread -lvpx -lvorbisenc -lvorbis -ltheoraenc -ltheoradec -logg -lopus -lmp3lame -lfreetype -lfdk-aac -lass -llzma -lbz2 -lz -ldl -lswresample -lswscale -lavutil -lm
UBUNTU_VERSION = $$system(lsb_release -irs)
equals(UBUNTU_VERSION, Ubuntu 14.04) {
FFMPEG_VERSION = $$system(ffmpeg --version|& grep -oP "version.*?\K[0-9]\.[0-9]")
equals(FFMPEG_VERSION, 2.8) {
LIBS -= -lswresample
LIBS += -lavresample
}

Loading…
Cancel
Save