aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/ffmpeg/ffmpeg.pro
blob: 940bd9b85c9d1dcae1418e0383469f1b55b6c838 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
include(../../plugins.pri)

FORMS += detailsdialog.ui 
HEADERS += decoderffmpegfactory.h \
           detailsdialog.h \
           decoder_ffmpeg.h
SOURCES += detailsdialog.cpp \
           decoder_ffmpeg.cpp \
           decoderffmpegfactory.cpp


QMAKE_CLEAN = ../libffmpeg.so

TARGET=$$PLUGINS_PREFIX/Input/ffmpeg
QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libffmpeg.so


INCLUDEPATH += ../../../
INCLUDEPATH += /usr/include/libavformat
INCLUDEPATH += /usr/include/libavcodec

CONFIG += release \
warn_on \
plugin \
link_pkgconfig
TEMPLATE = lib
QMAKE_LIBDIR += ../../../../lib
LIBS += -lqmmp -L/usr/lib -I/usr/include -I/usr/include/ffmpeg \
        -I/usr/include/libavcodec -I/usr/include/libavformat
DEFINES += __STDC_CONSTANT_MACROS
PKGCONFIG += libavcodec libavformat
TRANSLATIONS = translations/ffmpeg_plugin_ru.ts \
               translations/ffmpeg_plugin_uk_UA.ts \
               translations/ffmpeg_plugin_zh_CN.ts \
               translations/ffmpeg_plugin_zh_TW.ts \
               translations/ffmpeg_plugin_cs.ts \
               translations/ffmpeg_plugin_de.ts

RESOURCES = translations/translations.qrc

isEmpty (LIB_DIR){
LIB_DIR = /lib
}
target.path = $$LIB_DIR/qmmp/Input
INSTALLS += target