aboutsummaryrefslogtreecommitdiff
path: root/src/plugins/Input/archive/archive.pro
blob: 55c5d06dcbb05ce10fc138c697b5e77312e7a5db (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
46
47
include(../../plugins.pri)

HEADERS += \
    archiveinputdevice.h \
    decoderarchivefactory.h \
    decoder_archive.h \
    archivetagreader.h \
    archivemetadatamodel.h

SOURCES += \
    archiveinputdevice.cpp \
    decoderarchivefactory.cpp \
    decoder_archive.cpp \
    archivetagreader.cpp \
    archivemetadatamodel.cpp

TARGET=$$PLUGINS_PREFIX/Input/archive


INCLUDEPATH += ../../../
CONFIG += warn_on \
plugin \
link_pkgconfig

TEMPLATE = lib

QMAKE_LIBDIR += ../../../../lib

RESOURCES = translations/translations.qrc

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

    QMAKE_LIBDIR += ../../../../lib
    LIBS += -lqmmp
    PKGCONFIG += libarchive taglib
    QMAKE_CLEAN =$$PLUGINS_PREFIX/Input/libarc.so
}

win32 {
#    HEADERS += ../../../../src/qmmp/metadatamodel.h \
#               ../../../../src/qmmp/decoderfactory.h
    QMAKE_LIBDIR += ../../../../bin
    LIBS += -lqmmp0 -larchive -ltag
}