Unverified Commit 4f95e96f authored by kaamui's avatar kaamui Committed by GitHub

Merge pull request #218 from bartoszek/patch-1

Distro agnostic ffmpeg version test
parents a6f70421 04cc58d6
......@@ -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
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment