-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpa_module.pro
More file actions
53 lines (41 loc) · 888 Bytes
/
pa_module.pro
File metadata and controls
53 lines (41 loc) · 888 Bytes
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
VERSION = 0.0.1
TARGET = pa_module
TEMPLATE = lib
CONFIG += \
c++11 \
QT = \
core \
network \
websockets \
DEFINES += \
LIBRARY_VERSION=\\\"$${VERSION}\\\" \
QT_FORCE_ASSERTS \
QT_NO_SIGNALS_SLOTS_KEYWORDS \ # Conflicts with PA where slots is used as a variable name.
PRE_TARGETDEPS += \
webrtc/libwebrtc.a
LIBS += \
-L$${OUT_PWD}/webrtc -lwebrtc \
INCLUDEPATH += \
webrtc/ \
HEADERS += \
control_server.h \
pa_module.h\
pa_sink.h \
pa_sink_priv.h \
websocket_server.h \
writer.h \
writer_base.h \
SOURCES += \
pa_module.cpp \
pa_sink.cpp \
websocket_server.cpp \
writer_base.cpp
debug {
DEFINES += WEBSOCKET_CERT_PATH=\\\"$$PWD/res\\\"
}
include(third_party.pri)
include(webrtc/webrtc.pri)
unix {
target.path = /usr/lib/pulse-$${PULSEAUDIO_VERSION}/modules/
INSTALLS += target
}