-
Notifications
You must be signed in to change notification settings - Fork 341
/
mythmusic.pro
94 lines (80 loc) · 2.8 KB
/
mythmusic.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
include ( ../../mythconfig.mak )
include ( ../../settings.pro )
include ( ../../programs-libs.pro )
include (config.pro)
QT += xml sql opengl network widgets webkitwidgets
!exists( config.pro ) {
error(Missing config.pro: please run the configure script)
}
TEMPLATE = lib
CONFIG += plugin thread
TARGET = mythmusic
target.path = $${LIBDIR}/mythtv/plugins
INSTALLS += target
INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/metadata
INCLUDEPATH += $${SYSROOT}$${PREFIX}/include/mythtv/goom
INCLUDEPATH += $${CONFIG_TAGLIB_INCLUDES}
LIBS += -lmythavformat
LIBS += -lmythavcodec
LIBS += -lmythavutil
LIBS += -ltag -logg -lvorbisfile -lvorbis -lvorbisenc -lFLAC -lmp3lame
LIBS += -lmythmetadata-$$LIBVERSION
LIBS += -lmythtv-$$LIBVERSION
# Input
HEADERS += constants.h
HEADERS += decoder.h flacencoder.h mainvisual.h
HEADERS += playlist.h polygon.h
HEADERS += synaesthesia.h encoder.h visualize.h avfdecoder.h
HEADERS += vorbisencoder.h polygon.h
HEADERS += bumpscope.h lameencoder.h dbcheck.h
HEADERS += importmusic.h
HEADERS += mythgoom.h
HEADERS += editmetadata.h smartplaylist.h genres.h
HEADERS += musicplayer.h miniplayer.h
HEADERS += playlistcontainer.h musicdata.h
HEADERS += musiccommon.h decoderhandler.h pls.h
HEADERS += playlistview.h playlisteditorview.h
HEADERS += visualizerview.h searchview.h streamview.h
HEADERS += generalsettings.h visualizationsettings.h
HEADERS += importsettings.h playersettings.h ratingsettings.h
HEADERS += remoteavformatcontext.h lyricsview.h
SOURCES += decoder.cpp
SOURCES += flacencoder.cpp main.cpp
SOURCES += mainvisual.cpp playlist.cpp
SOURCES += encoder.cpp dbcheck.cpp
SOURCES += synaesthesia.cpp lameencoder.cpp
SOURCES += vorbisencoder.cpp visualize.cpp bumpscope.cpp
SOURCES += genres.cpp importmusic.cpp
SOURCES += mythgoom.cpp
SOURCES += avfdecoder.cpp editmetadata.cpp smartplaylist.cpp
SOURCES += musicplayer.cpp miniplayer.cpp
SOURCES += playlistcontainer.cpp musicdata.cpp
SOURCES += musiccommon.cpp decoderhandler.cpp pls.cpp
SOURCES += playlistview.cpp playlisteditorview.cpp
SOURCES += visualizerview.cpp searchview.cpp streamview.cpp
SOURCES += generalsettings.cpp visualizationsettings.cpp
SOURCES += importsettings.cpp playersettings.cpp ratingsettings.cpp
SOURCES += lyricsview.cpp
cdio {
INCLUDEPATH -= $${SYSROOT}/usr/include/cdda
INCLUDEPATH *= $${SYSROOT}/usr/include/cdio
HEADERS += cddecoder.h cdrip.h cddb.h
SOURCES += cddecoder.cpp cdrip.cpp cddb.cpp
QT += network
LIBS += -lcdio -lcdio_cdda -lcdio_paranoia
}
mingw {
LIBS += -logg
# flac needs ...
LIBS += -lwsock32
}
DEFINES += MPLUGIN_API
use_hidesyms {
QMAKE_CXXFLAGS += -fvisibility=hidden
QMAKE_CXXFLAGS_SHLIB += -fvisibility=hidden
}
android {
# to discriminate filters in a flat directory structure
TARGET = mythplugin$${TARGET}
}
include ( ../../libs-targetfix.pro )