This repository has been archived by the owner on Jan 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMusicConsole.pro
109 lines (100 loc) · 2.99 KB
/
MusicConsole.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
106
107
108
109
#-------------------------------------------------
#
# ** Music Console **
# ** Copyright © by GhettoGirl, 2013-2016
#
# ~ github.com/GhettoGirl
#
#-------------------------------------------------
QT += core network
QT -= gui
TARGET = MusicConsole
CONFIG += console c++14
CONFIG -= app_bundle
TEMPLATE = app
# link libgcc and libstdc++ statically
QMAKE_CXXFLAGS += -static-libstdc++ -static-libgcc
QMAKE_LFLAGS += -static-libstdc++ -static-libgcc
# Libraries
LIBS += -ltag \
-lreadline
# Sources
SOURCES += main.cpp \
Utils/contrib/SingleApplication/singleapplication.cpp \
Utils/filesystemmodel.cpp \
applicationmanager.cpp \
musicconsole.cpp \
Utils/medialibrarymodel.cpp \
Utils/mediatagsreader.cpp \
Utils/searchpathgen.cpp \
Utils/pathexpander.cpp \
SearchPathGens/unicodewhitespacefixer.cpp \
SearchPathGens/universaljapanesekanalookup.cpp \
Utils/searchkeys.cpp \
configmanager.cpp \
Sys/command.cpp \
Commands/cmdaudio.cpp \
Commands/cmdvideo.cpp \
Commands/cmdmodule.cpp \
Commands/cmdplaylist.cpp \
Commands/cmdsearch.cpp \
Commands/cmdbrowse.cpp \
Commands/cmdrandom.cpp \
Commands/cmdshuffle.cpp \
Commands/cmdrepeat.cpp \
Commands/cmdhistory.cpp \
Commands/cmdstatistics.cpp \
Commands/cmdrescan.cpp \
Sys/mediaplayercontroller.cpp \
Sys/kbhit.cpp \
Sys/playlistparser.cpp \
Sys/historymanager.cpp \
SearchPathGens/unicodelatingen.cpp \
Sys/mediacache.cpp
# Headers
HEADERS += \
Utils/contrib/SingleApplication/singleapplication.h \
Utils/filesystemmodel.hpp \
applicationmanager.hpp \
musicconsole.hpp \
Utils/medialibrarymodel.hpp \
Utils/mediatagsreader.hpp \
Utils/searchpathgen.hpp \
Utils/pathexpander.hpp \
SearchPathGens/unicodewhitespacefixer.hpp \
SearchPathGens/universaljapanesekanalookup.hpp \
Utils/searchkeys.hpp \
configmanager.hpp \
Sys/command.hpp \
Commands/cmdaudio.hpp \
Commands/cmdvideo.hpp \
Commands/cmdmodule.hpp \
Commands/cmdplaylist.hpp \
Commands/cmdsearch.hpp \
Commands/cmdbrowse.hpp \
Commands/cmdrandom.hpp \
Commands/cmdshuffle.hpp \
Commands/cmdrepeat.hpp \
Commands/cmdhistory.hpp \
Commands/cmdstatistics.hpp \
Commands/cmdrescan.hpp \
Sys/mediaplayercontroller.hpp \
Sys/kbhit.hpp \
Sys/playlistparser.hpp \
Sys/historymanager.hpp \
SearchPathGens/unicodelatingen.hpp \
Sys/mediacache.hpp \
Utils/range_based_for_loop.hpp
##[Local] ─ ignore this; for taglib experiments
#
# notes: try to workaround taglibs unicode madness in RIFF files
# < TagLib: String::UTF8toUTF16() - Unicode conversion error. >
# < TagLib: String::UTF8toUTF8() - Unicode conversion error. >
# results in incomplete (cutoff at first unicode char) or empty strings
#
#debug {
# LIBS = -L$$PWD/contrib/taglib-1.10/lib \
# -ltag_c -ltag -lz \
# -lreadline
# INCLUDEPATH += $$PWD/contrib/taglib-1.10/include
#}