-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathorganya.pro
67 lines (59 loc) · 2.23 KB
/
organya.pro
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
HEADERS += decoderorganyafactory.h \
decoder_organya.h \
organyahelper.h
SOURCES += decoderorganyafactory.cpp \
decoder_organya.cpp \
organyahelper.cpp \
liborganya/organya/blip_buf.c \
liborganya/organya/decoder.cpp \
liborganya/organya/file.cpp \
liborganya/pxtone/pxtnDelay.cpp \
liborganya/pxtone/pxtnDescriptor.cpp \
liborganya/pxtone/pxtnError.cpp \
liborganya/pxtone/pxtnEvelist.cpp \
liborganya/pxtone/pxtnMaster.cpp \
liborganya/pxtone/pxtnMem.cpp \
liborganya/pxtone/pxtnOverDrive.cpp \
liborganya/pxtone/pxtnPulse_Frequency.cpp \
liborganya/pxtone/pxtnPulse_Noise.cpp \
liborganya/pxtone/pxtnPulse_NoiseBuilder.cpp \
liborganya/pxtone/pxtnPulse_Oggv.cpp \
liborganya/pxtone/pxtnPulse_Oscillator.cpp \
liborganya/pxtone/pxtnPulse_PCM.cpp \
liborganya/pxtone/pxtnService.cpp \
liborganya/pxtone/pxtnService_moo.cpp \
liborganya/pxtone/pxtnText.cpp \
liborganya/pxtone/pxtnUnit.cpp \
liborganya/pxtone/pxtnWoice.cpp \
liborganya/pxtone/pxtnWoice_io.cpp \
liborganya/pxtone/pxtnWoicePTV.cpp \
liborganya/pxtone/pxtoneNoise.cpp
INCLUDEPATH += $$PWD/liborganya
#CONFIG += BUILD_PLUGIN_INSIDE
contains(CONFIG, BUILD_PLUGIN_INSIDE){
include($$PWD/../../plugins.pri)
TARGET = $$PLUGINS_PREFIX/Input/organya
unix{
target.path = $$PLUGIN_DIR/Input
INSTALLS += target
}
}else{
QT += widgets
CONFIG += warn_off plugin lib thread link_pkgconfig c++11
TEMPLATE = lib
unix{
equals(QT_MAJOR_VERSION, 5){
QMMP_PKG = qmmp-1
}else:equals(QT_MAJOR_VERSION, 6){
QMMP_PKG = qmmp
}else{
error("Unsupported Qt version: 5 or 6 is required")
}
PKGCONFIG += $${QMMP_PKG}
PLUGIN_DIR = $$system(pkg-config $${QMMP_PKG} --variable=plugindir)/Input
INCLUDEPATH += $$system(pkg-config $${QMMP_PKG} --variable=prefix)/include
plugin.path = $${PLUGIN_DIR}
plugin.files = lib$${TARGET}.so
INSTALLS += plugin
}
}