forked from adamreichold/QMediathekView
-
Notifications
You must be signed in to change notification settings - Fork 0
/
QMediathekView.pro
55 lines (43 loc) · 1.36 KB
/
QMediathekView.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
CONFIG += c++11
CONFIG(debug, debug|release) {
internals.target = $${OUT_PWD}/internals/debug/libinternals.a
internals.commands = LZMA_API_STATIC=1 cargo build --manifest-path "$${PWD}/internals/Cargo.toml" --target-dir "$${OUT_PWD}/internals"
}
CONFIG(release, debug|release) {
internals.target = $${OUT_PWD}/internals/release/libinternals.a
internals.commands = LZMA_API_STATIC=1 cargo build --manifest-path "$${PWD}/internals/Cargo.toml" --target-dir "$${OUT_PWD}/internals" --release
}
internals.CONFIG = phony
QMAKE_EXTRA_TARGETS += internals
PRE_TARGETDEPS += $${internals.target}
LIBS += $${internals.target} -ldl -lz -lssl -lcrypto
QT += core network gui widgets
TARGET = QMediathekView
TEMPLATE = app
SOURCES += \
settings.cpp \
database.cpp \
model.cpp \
miscellaneous.cpp \
mainwindow.cpp \
downloaddialog.cpp \
settingsdialog.cpp \
application.cpp
HEADERS += \
settings.h \
schema.h \
database.h \
model.h \
miscellaneous.h \
mainwindow.h \
downloaddialog.h \
settingsdialog.h \
application.h
target.path = /usr/bin
launcher.files = $${TARGET}.desktop
launcher.path = /usr/share/applications
icon.files = $${TARGET}.svg
icon.path = /usr/share/icons/hicolor/scalable/apps
appdata.files = $${TARGET}.appdata.xml
appdata.path = /usr/share/metainfo
INSTALLS += target launcher icon appdata