lib.pro 1.64 KB
Newer Older
1
TEMPLATE = lib
2
TARGET = nemotransferengine-qt5
3 4
DEPENDPATH += .
INCLUDEPATH += .
5
CONFIG += shared qt create_pc create_prl no_install_prl link_pkgconfig
6
QT += dbus
7
PKGCONFIG += quillmetadata-qt5
8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27

system(qdbusxml2cpp -v -c TransferEngineInterface -p transferengineinterface.h:transferengineinterface.cpp -i metatypedeclarations.h ../dbus/org.nemo.transferengine.xml)

HEADERS += \
    transferdbrecord.h \
    metatypedeclarations.h \
    transfertypes.h \
    mediatransferinterface.h \
    transferplugininterface.h \
    mediaitem.h \
    transfermethodinfo.h \
    transferplugininfo.h \
    transferengineclient.h \
    imageoperation.h

SOURCES += \
    transferdbrecord.cpp \
    mediatransferinterface.cpp \
    mediaitem.cpp \
    transfermethodinfo.cpp \
28
    transferplugininfo.cpp \
29 30 31 32 33 34 35 36 37 38 39
    transferengineclient.cpp \
    imageoperation.cpp

# generated files
HEADERS += \
    transferengineinterface.h


SOURCES += \
   transferengineinterface.cpp

40
OTHER_FILES += nemotransferengine-qt5.pc nemotransferengine-plugin-qt5.prf
41 42

headers.files = $$HEADERS
43
headers.path = /usr/include/TransferEngine-qt5
44 45 46 47

target.path = /usr/lib

pkgconfigpc.path = /usr/lib/pkgconfig/
48
pkgconfigpc.files = nemotransferengine-qt5.pc
49 50

prf.path = $$[QT_INSTALL_DATA]/mkspecs/features
51
prf.files = nemotransferengine-plugin-qt5.prf
52

53 54 55 56 57 58 59
QMAKE_PKGCONFIG_NAME = lib$$TARGET
QMAKE_PKGCONFIG_DESCRIPTION = Nemo transfer engine library for share plugins and transfer engine API
QMAKE_PKGCONFIG_LIBDIR = $$target.path
QMAKE_PKGCONFIG_INCDIR = $$headers.path
QMAKE_PKGCONFIG_DESTDIR = pkgconfig
QMAKE_PKGCONFIG_REQUIRES = Qt5Core Qt5DBus
QMAKE_PKGCONFIG_VERSION = $$VERSION
60 61

INSTALLS += target headers prf pkgconfigpc