blob: 6e5c1b60c05e3508449f57d5ffe7b57f5679df71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff --git a/src/podcast/podcast.pri b/src/podcast/podcast.pri
index 7e6ea9ee..e96263fa 100644
--- a/src/podcast/podcast.pri
+++ b/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
}
|