-
Notifications
You must be signed in to change notification settings - Fork 0
/
UnofficialSpotify.pro
65 lines (53 loc) · 1.88 KB
/
UnofficialSpotify.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
# 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 = UnofficialSpotify
CONFIG += sailfishapp
SOURCES += \
src/UnofficialSpotify.cpp \
src/spotifywrapper.cpp \
src/spotifyconnectmodel.cpp
HEADERS += \
src/clientidsecret/spotifysecret.h \
src/spotifywrapper.h \
src/spotifyconnectmodel.h
RESOURCES += \
qml/qml.qrc \
html/html.qrc
DISTFILES += \
rpm/UnofficialSpotify.changes.in \
rpm/UnofficialSpotify.changes.run.in \
rpm/UnofficialSpotify.spec \
rpm/UnofficialSpotify.yaml \
translations/*.ts \
UnofficialSpotify.desktop
SAILFISHAPP_ICONS = 86x86 108x108 128x128
# to disable building translations every time, comment out the
# following CONFIG line
CONFIG += sailfishapp_i18n
# German translation is enabled as an example. If you aren't
# planning to localize your app, remember to comment out the
# following TRANSLATIONS line. And also do not forget to
# modify the localized app name in the the .desktop file.
TRANSLATIONS += translations/UnofficialSpotify-fr.ts
INCLUDEPATH += $$_PRO_FILE_PWD_/src/
DEPENDPATH += $$_PRO_FILE_PWD_/src/
# Library OAUth2 coming from the QtNetworkAuth module
qtHaveModule(networkauth):QT += network networkauth
!qtHaveModule(networkauth)
{
message("Using QtNetworkAuth backported from Qt 5.9.4")
QT += core-private network
INCLUDEPATH += $$_PRO_FILE_PWD_/QtNetworkAuth/
DEPENDPATH += $$_PRO_FILE_PWD_/QtNetworkAuth/
SOURCES += $$files(QtNetworkAuth/*.cpp)
HEADERS += $$files(QtNetworkAuth/*.h)
}