Merge pull request #218 from bartoszek/patch-1

Distro agnostic ffmpeg version test
preferencesAboutTextFull
kaamui 5 years ago committed by GitHub
commit 4f95e96f69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  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