forked from Elleo/libQtSpotify
-
Notifications
You must be signed in to change notification settings - Fork 3
/
libQtSpotify.pri
78 lines (72 loc) · 3 KB
/
libQtSpotify.pri
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
QT += network dbus multimedia
INCLUDEPATH += $$PWD
SOURCES += ../libQtSpotify/qspotifysession.cpp \
../libQtSpotify/qspotifyuser.cpp \
../libQtSpotify/qspotifyobject.cpp \
../libQtSpotify/qspotifytrack.cpp \
../libQtSpotify/qspotifyplaylist.cpp \
../libQtSpotify/qspotifyplaylistcontainer.cpp \
../libQtSpotify/qspotifyplaylistsearchentry.cpp \
../libQtSpotify/qspotifytracklist.cpp \
../libQtSpotify/qspotifyartist.cpp \
../libQtSpotify/qspotifyalbum.cpp \
../libQtSpotify/qspotifyimageprovider.cpp \
../libQtSpotify/qspotifysearch.cpp \
../libQtSpotify/qspotifyplayqueue.cpp \
../libQtSpotify/qspotifyalbumbrowse.cpp \
../libQtSpotify/qspotifyartistbrowse.cpp \
../libQtSpotify/qspotifytoplist.cpp \
../libQtSpotify/listmodels/listmodelbase.cpp \
../libQtSpotify/listmodels/tracklistfiltermodel.cpp \
../libQtSpotify/qspotifyaudiothreadworker.cpp \
../libQtSpotify/qspotifyevents.cpp \
../libQtSpotify/listmodels/qspotifyartistlist.cpp \
../libQtSpotify/listmodels/qspotifyalbumlist.cpp \
../libQtSpotify/listmodels/qspotifyplaylistsearchlist.cpp \
../libQtSpotify/qspotifycachemanager.cpp \
../libQtSpotify/qspotifyringbuffer.cpp \
../libQtSpotify/mpris/mprismediaplayerplayer.cpp \
../libQtSpotify/qspotifyutil.cpp
HEADERS += ../libQtSpotify/qspotifysession.h \
../libQtSpotify/spotify_key.h \
../libQtSpotify/qspotifyuser.h \
../libQtSpotify/qspotifyobject.h \
../libQtSpotify/qspotifytrack.h \
../libQtSpotify/qspotifyplaylist.h \
../libQtSpotify/qspotifyplaylistcontainer.h \
../libQtSpotify/qspotifyplaylistsearchentry.h \
../libQtSpotify/qspotifytracklist.h \
../libQtSpotify/QtSpotify \
../libQtSpotify/qspotify_qmlplugin.h \
../libQtSpotify/qspotifyartist.h \
../libQtSpotify/qspotifyalbum.h \
../libQtSpotify/qspotifyimageprovider.h \
../libQtSpotify/qspotifysearch.h \
../libQtSpotify/qspotifyplayqueue.h \
../libQtSpotify/qspotifyalbumbrowse.h \
../libQtSpotify/qspotifyartistbrowse.h \
../libQtSpotify/qspotifytoplist.h \
../libQtSpotify/qspotifyevents.h \
../libQtSpotify/listmodels/listmodelbase.h \
../libQtSpotify/listmodels/tracklistfiltermodel.h \
../libQtSpotify/qspotifyaudiothreadworker.h \
../libQtSpotify/listmodels/qspotifyartistlist.h \
../libQtSpotify/listmodels/qspotifyalbumlist.h \
../libQtSpotify/listmodels/qspotifyplaylistsearchlist.h \
../libQtSpotify/qspotifycachemanager.h \
../libQtSpotify/qspotifyringbuffer.h \
../libQtSpotify/mpris/mprismediaplayer.h \
../libQtSpotify/mpris/mprismediaplayerplayer.h \
../libQtSpotify/qspotifyutil.h
QMAKE_CXXFLAGS += -std=c++0x -Wno-unused-function
ARCH = $$QMAKE_HOST.arch
equals(ARCH, armv7l) {
message(arm build)
INCLUDEPATH += ../libspotify/include
LIBS += -L$$PWD/../libspotify/lib -lspotify
DEFINES += ARM_BUILD
} else {
message(non-arm build)
INCLUDEPATH += ../libspotify_emu/include
LIBS += -L$$PWD/../libspotify_emu/lib -lspotify
}