-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathdonnie.pro
105 lines (90 loc) · 2.74 KB
/
donnie.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
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# NOTICE:
#
# Application name defined in TARGET has a corresponding QML filename.
# If name defined in TARGET is changed, the following needs to be done
# to match new name:
# - corresponding QML filename must be changed
# - desktop icon filename must be changed
# - desktop filename must be changed
# - icon definition filename in desktop file must be changed
# - translation filenames have to be changed
# The name of your application
TARGET = donnie
CONFIG += sailfishapp
SOURCES += src/donnie.cpp \
src/upnp.cpp \
src/upnpbrowseworker.cpp \
src/upnpdiscoveryworker.cpp \
src/upnpgetrendererworker.cpp \
src/upnpgetserverworker.cpp \
src/upnpsearchworker.cpp
OTHER_FILES += qml/donnie.qml \
qml/cover/CoverPage.qml \
qml/pages/FirstPage.qml \
qml/pages/SecondPage.qml \
rpm/donnie.spec \
rpm/donnie.yaml \
donnie.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128 256x256
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
INCLUDEPATH += /usr/include/qt5/MprisQt
INCLUDEPATH += /usr/include/qt5/QtDBus
# upnpp
LIBS += -lupnpp
# -lcurl -pthread -lupnp -lthreadutil -lixml
#mpris qt5
LIBS += -lmpris-qt5
TRANSLATIONS += \
translations/donnie-de.ts \
translations/donnie-es.ts \
translations/donnie-nl.ts \
translations/donnie-ru.ts \
translations/donnie.ts
DISTFILES += \
qml/pages/Browse.qml \
qml/pages/DiscoveryPage.qml \
qml/pages/PlayerPage.qml \
qml/pages/RendererPage.qml \
qml/pages/SettingsPage.qml \
qml/pages/UPnPDeviceDetails.qml \
qml/icons/icon-m-stop.png \
qml/pages/AboutPage.qml \
qml/license/License.txt \
qml/UPnP.js \
qml/pages/MainPage.qml \
qml/pages/LogPage.qml \
qml/pages/Search.qml \
qml/components/MultiItemPicker.qml \
license/License.txt \
qml/components/Messagebox.qml \
qml/components/ErrorDialog.qml \
qml/components/ConfirmDialog.qml \
qml/components/EditURIDialog.qml \
translations/*.ts \
rpm/donnie.yaml \
rpm/donnie.spec
HEADERS += \
src/upnp.h \
src/upnpbrowseworker.h \
src/upnpdiscoveryworker.h \
src/IconProvider.h \
src/upnpgetrendererworker.h \
src/upnpgetserverworker.h \
src/upnpsearchworker.h \
src/upnpgettransportinforunnable.h \
src/upnpgetmediainforunnable.h \
src/upnpgetpositioninforunnable.h \
src/upnpsettrackrunnable.h \
src/upnpsetnexttrackrunnable.h \
src/upnpgetmetadatarunnable.h
QMAKE_RPATHDIR += /usr/share/donnie/lib
LIBS.path = /usr/share/donnie/lib/
# libupnp6
LIBS.files = /usr/lib/libixml.so.2
LIBS.files += /usr/lib/libthreadutil.so.6
LIBS.files += /usr/lib/libupnp.so.6
# libupnpp
LIBS.files += /usr/lib/libupnpp.so.6
INSTALLS += LIBS