2010-02-28 18:28:56 +01:00
|
|
|
|
2011-02-04 15:35:25 +01:00
|
|
|
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall")
|
2020-12-16 20:03:26 +01:00
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Woverloaded-virtual -Wall -Wno-sign-compare -Wno-deprecated-declarations -Wno-unused-local-typedefs -Wno-unused-private-field -Wno-unknown-warning-option")
|
2010-03-24 17:45:44 +01:00
|
|
|
|
2011-03-29 20:51:16 +02:00
|
|
|
option(BUILD_WERROR "Build with -Werror" ON)
|
|
|
|
|
|
|
|
if(BUILD_WERROR)
|
|
|
|
if (LINUX)
|
|
|
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror")
|
|
|
|
endif (LINUX)
|
|
|
|
endif(BUILD_WERROR)
|
2011-02-04 13:07:00 +01:00
|
|
|
|
2010-08-01 20:09:38 +02:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ${CMAKE_CURRENT_SOURCE_DIR})
|
2010-06-09 00:39:31 +02:00
|
|
|
include_directories(../3rdparty/gmock/gtest/include)
|
2010-04-15 14:39:34 +02:00
|
|
|
|
2012-02-19 14:44:33 +01:00
|
|
|
# Activate fast QString concatenation
|
2015-06-03 23:13:06 +02:00
|
|
|
add_definitions(-DQT_USE_QSTRINGBUILDER)
|
2012-09-26 17:09:13 +02:00
|
|
|
add_definitions(-DQT_NO_URL_CAST_FROM_STRING)
|
2014-02-06 14:48:00 +01:00
|
|
|
add_definitions(-DBOOST_BIND_NO_PLACEHOLDERS)
|
2012-02-19 14:44:33 +01:00
|
|
|
|
2011-02-19 19:24:11 +01:00
|
|
|
include_directories(${CMAKE_BINARY_DIR})
|
2010-07-10 22:21:06 +02:00
|
|
|
include_directories(${GLIB_INCLUDE_DIRS})
|
|
|
|
include_directories(${LIBXML_INCLUDE_DIRS})
|
|
|
|
include_directories(${GOBJECT_INCLUDE_DIRS})
|
2015-04-16 15:06:00 +02:00
|
|
|
include_directories(${QTSINGLEAPPLICATION_INCLUDE_DIRS})
|
2010-07-11 14:02:30 +02:00
|
|
|
include_directories(${QTIOCOMPRESSOR_INCLUDE_DIRS})
|
2010-07-24 14:35:21 +02:00
|
|
|
include_directories(${QXT_INCLUDE_DIRS})
|
2012-01-07 16:25:39 +01:00
|
|
|
include_directories(${CHROMAPRINT_INCLUDE_DIRS})
|
2015-04-11 22:51:40 +02:00
|
|
|
include_directories(${MYGPOQT5_INCLUDE_DIRS})
|
2010-06-17 16:45:31 +02:00
|
|
|
|
2018-11-29 22:32:12 +01:00
|
|
|
if (HAVE_VISUALISATIONS)
|
|
|
|
find_package(OpenGL REQUIRED)
|
|
|
|
include_directories(${OPENGL_INCLUDE_DIR})
|
|
|
|
include_directories(${LIBPROJECTM_INCLUDE_DIRS})
|
|
|
|
endif(HAVE_VISUALISATIONS)
|
2011-11-29 12:27:35 +01:00
|
|
|
|
2010-12-19 16:10:26 +01:00
|
|
|
if(HAVE_LIBLASTFM)
|
2015-04-15 18:26:09 +02:00
|
|
|
include_directories(${LASTFM5_INCLUDE_DIRS})
|
2010-12-19 16:10:26 +01:00
|
|
|
endif(HAVE_LIBLASTFM)
|
|
|
|
|
2011-03-23 22:53:24 +01:00
|
|
|
if(HAVE_BREAKPAD)
|
|
|
|
include_directories(../3rdparty/google-breakpad)
|
|
|
|
endif(HAVE_BREAKPAD)
|
|
|
|
|
2012-01-06 00:22:51 +01:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/ext/libclementine-common)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/ext/libclementine-tagreader)
|
|
|
|
include_directories(${CMAKE_BINARY_DIR}/ext/libclementine-tagreader)
|
2013-01-03 21:40:47 +01:00
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/ext/libclementine-remote)
|
|
|
|
include_directories(${CMAKE_BINARY_DIR}/ext/libclementine-remote)
|
2018-11-17 15:08:37 +01:00
|
|
|
if(HAVE_SPOTIFY)
|
|
|
|
include_directories(${CMAKE_SOURCE_DIR}/ext/libclementine-spotifyblob)
|
|
|
|
include_directories(${CMAKE_BINARY_DIR}/ext/libclementine-spotifyblob)
|
|
|
|
endif(HAVE_SPOTIFY)
|
2012-01-06 00:22:51 +01:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
cmake_policy(SET CMP0011 NEW)
|
|
|
|
include(../cmake/ParseArguments.cmake)
|
2018-11-17 15:08:37 +01:00
|
|
|
|
|
|
|
if(HAVE_TRANSLATIONS)
|
|
|
|
include(../cmake/Translations.cmake)
|
|
|
|
endif(HAVE_TRANSLATIONS)
|
2010-06-09 00:39:31 +02:00
|
|
|
|
|
|
|
set(SOURCES
|
|
|
|
analyzers/analyzerbase.cpp
|
|
|
|
analyzers/analyzercontainer.cpp
|
|
|
|
analyzers/baranalyzer.cpp
|
|
|
|
analyzers/blockanalyzer.cpp
|
|
|
|
analyzers/boomanalyzer.cpp
|
2015-11-21 16:20:47 +01:00
|
|
|
analyzers/rainbowanalyzer.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
analyzers/sonogram.cpp
|
|
|
|
analyzers/turbine.cpp
|
2014-11-29 20:07:01 +01:00
|
|
|
analyzers/fht.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2012-01-09 20:08:09 +01:00
|
|
|
core/appearance.cpp
|
2012-02-12 14:41:50 +01:00
|
|
|
core/application.cpp
|
2010-12-03 14:53:43 +01:00
|
|
|
core/backgroundstreams.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/commandlineoptions.cpp
|
2011-03-23 22:53:24 +01:00
|
|
|
core/crashreporting.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/database.cpp
|
2010-07-31 18:12:16 +02:00
|
|
|
core/deletefiles.cpp
|
2010-07-19 21:56:29 +02:00
|
|
|
core/filesystemmusicstorage.cpp
|
2012-01-05 15:51:23 +01:00
|
|
|
core/filesystemwatcherinterface.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/globalshortcutbackend.cpp
|
|
|
|
core/globalshortcuts.cpp
|
|
|
|
core/gnomeglobalshortcutbackend.cpp
|
2019-12-06 05:25:28 +01:00
|
|
|
core/kglobalaccelglobalshortcutbackend.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/mergedproxymodel.cpp
|
2012-06-20 15:07:28 +02:00
|
|
|
core/metatypes.cpp
|
2011-07-26 13:17:28 +02:00
|
|
|
core/multisortfilterproxy.cpp
|
2010-07-19 21:56:29 +02:00
|
|
|
core/musicstorage.cpp
|
2010-10-16 19:20:54 +02:00
|
|
|
core/network.cpp
|
2010-12-25 18:25:29 +01:00
|
|
|
core/networkproxyfactory.cpp
|
2010-06-24 20:33:38 +02:00
|
|
|
core/organise.cpp
|
|
|
|
core/organiseformat.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/player.cpp
|
2012-01-05 15:51:23 +01:00
|
|
|
core/qtfslistener.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/qxtglobalshortcutbackend.cpp
|
|
|
|
core/scopedtransaction.cpp
|
|
|
|
core/settingsprovider.cpp
|
2012-06-08 14:27:38 +02:00
|
|
|
core/signalchecker.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/song.cpp
|
2010-06-15 15:24:17 +02:00
|
|
|
core/songloader.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/stylesheetloader.cpp
|
2012-01-06 00:22:51 +01:00
|
|
|
core/tagreaderclient.cpp
|
2010-06-23 15:21:30 +02:00
|
|
|
core/taskmanager.cpp
|
2015-02-28 16:44:32 +01:00
|
|
|
core/thread.cpp
|
2011-04-28 17:10:28 +02:00
|
|
|
core/urlhandler.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
core/utilities.cpp
|
|
|
|
|
2013-05-06 21:22:05 +02:00
|
|
|
covers/albumcoverexporter.cpp
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/albumcoverfetcher.cpp
|
|
|
|
covers/albumcoverfetchersearch.cpp
|
|
|
|
covers/albumcoverloader.cpp
|
2018-03-19 15:18:56 +01:00
|
|
|
covers/discogscoverprovider.cpp
|
2013-05-06 21:22:05 +02:00
|
|
|
covers/coverexportrunnable.cpp
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/coverprovider.cpp
|
|
|
|
covers/coverproviders.cpp
|
2011-06-26 17:07:48 +02:00
|
|
|
covers/coversearchstatistics.cpp
|
|
|
|
covers/coversearchstatisticsdialog.cpp
|
2012-02-13 21:44:04 +01:00
|
|
|
covers/currentartloader.cpp
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/kittenloader.cpp
|
2012-10-10 14:45:13 +02:00
|
|
|
covers/musicbrainzcoverprovider.cpp
|
2011-04-02 15:34:06 +02:00
|
|
|
|
2010-06-26 01:38:21 +02:00
|
|
|
devices/connecteddevice.cpp
|
2010-07-04 01:00:07 +02:00
|
|
|
devices/devicedatabasebackend.cpp
|
2010-06-26 00:36:21 +02:00
|
|
|
devices/devicelister.cpp
|
2010-06-26 14:41:18 +02:00
|
|
|
devices/devicemanager.cpp
|
2010-07-04 17:01:24 +02:00
|
|
|
devices/deviceproperties.cpp
|
2010-07-24 20:31:05 +02:00
|
|
|
devices/devicestatefiltermodel.cpp
|
2010-07-03 23:05:55 +02:00
|
|
|
devices/deviceview.cpp
|
2014-01-05 01:32:07 +01:00
|
|
|
devices/deviceviewcontainer.cpp
|
2010-06-26 01:38:21 +02:00
|
|
|
devices/filesystemdevice.cpp
|
2019-01-21 10:06:48 +01:00
|
|
|
devices/deviceinfo.cpp
|
2010-06-25 21:04:10 +02:00
|
|
|
|
2014-03-29 09:17:34 +01:00
|
|
|
engines/devicefinder.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
engines/enginebase.cpp
|
2010-12-26 14:01:35 +01:00
|
|
|
engines/gstengine.cpp
|
2020-12-31 21:56:32 +01:00
|
|
|
engines/gstenginedebug.cpp
|
2010-12-26 14:01:35 +01:00
|
|
|
engines/gstenginepipeline.cpp
|
|
|
|
engines/gstelementdeleter.cpp
|
2021-01-07 07:18:47 +01:00
|
|
|
engines/gstpipelinebase.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2011-09-24 23:49:04 +02:00
|
|
|
globalsearch/digitallyimportedsearchprovider.cpp
|
2011-08-28 22:33:59 +02:00
|
|
|
globalsearch/globalsearch.cpp
|
2011-08-28 23:20:22 +02:00
|
|
|
globalsearch/globalsearchitemdelegate.cpp
|
2012-06-10 22:11:55 +02:00
|
|
|
globalsearch/globalsearchmodel.cpp
|
2011-10-30 19:52:38 +01:00
|
|
|
globalsearch/globalsearchsettingspage.cpp
|
2011-08-28 23:20:22 +02:00
|
|
|
globalsearch/globalsearchsortmodel.cpp
|
2012-06-04 19:18:37 +02:00
|
|
|
globalsearch/globalsearchview.cpp
|
2011-11-06 00:22:25 +01:00
|
|
|
globalsearch/icecastsearchprovider.cpp
|
2011-08-28 22:33:59 +02:00
|
|
|
globalsearch/librarysearchprovider.cpp
|
2011-11-06 16:00:22 +01:00
|
|
|
globalsearch/savedradiosearchprovider.cpp
|
2011-08-28 22:33:59 +02:00
|
|
|
globalsearch/searchprovider.cpp
|
2012-06-10 20:00:51 +02:00
|
|
|
globalsearch/searchproviderstatuswidget.cpp
|
2011-09-24 21:40:50 +02:00
|
|
|
globalsearch/simplesearchprovider.cpp
|
2011-11-06 01:00:26 +01:00
|
|
|
globalsearch/somafmsearchprovider.cpp
|
2016-02-05 19:29:43 +01:00
|
|
|
globalsearch/intergalacticfmsearchprovider.cpp
|
2012-06-11 00:05:30 +02:00
|
|
|
globalsearch/suggestionwidget.cpp
|
2011-11-11 23:11:25 +01:00
|
|
|
globalsearch/urlsearchprovider.cpp
|
2011-08-28 22:33:59 +02:00
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/core/cloudfilesearchprovider.cpp
|
|
|
|
internet/core/cloudfileservice.cpp
|
|
|
|
internet/digitally/digitallyimportedclient.cpp
|
|
|
|
internet/digitally/digitallyimportedservicebase.cpp
|
|
|
|
internet/digitally/digitallyimportedsettingspage.cpp
|
|
|
|
internet/digitally/digitallyimportedurlhandler.cpp
|
|
|
|
internet/core/geolocator.cpp
|
|
|
|
internet/icecast/icecastbackend.cpp
|
|
|
|
internet/icecast/icecastfilterwidget.cpp
|
|
|
|
internet/icecast/icecastmodel.cpp
|
|
|
|
internet/icecast/icecastservice.cpp
|
|
|
|
internet/core/internetmodel.cpp
|
|
|
|
internet/core/internetplaylistitem.cpp
|
|
|
|
internet/core/internetservice.cpp
|
|
|
|
internet/core/internetshowsettingspage.cpp
|
|
|
|
internet/core/internetview.cpp
|
|
|
|
internet/core/internetviewcontainer.cpp
|
|
|
|
internet/jamendo/jamendodynamicplaylist.cpp
|
|
|
|
internet/jamendo/jamendoplaylistitem.cpp
|
|
|
|
internet/jamendo/jamendoservice.cpp
|
|
|
|
internet/core/localredirectserver.cpp
|
|
|
|
internet/magnatune/magnatunedownloaddialog.cpp
|
|
|
|
internet/magnatune/magnatuneplaylistitem.cpp
|
|
|
|
internet/magnatune/magnatuneservice.cpp
|
|
|
|
internet/magnatune/magnatunesettingspage.cpp
|
|
|
|
internet/magnatune/magnatuneurlhandler.cpp
|
|
|
|
internet/core/oauthenticator.cpp
|
|
|
|
internet/internetradio/savedradio.cpp
|
|
|
|
internet/core/searchboxwidget.cpp
|
|
|
|
internet/somafm/somafmservice.cpp
|
|
|
|
internet/somafm/somafmurlhandler.cpp
|
2016-02-05 19:29:43 +01:00
|
|
|
internet/intergalacticfm/intergalacticfmservice.cpp
|
|
|
|
internet/intergalacticfm/intergalacticfmurlhandler.cpp
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/subsonic/subsonicservice.cpp
|
|
|
|
internet/subsonic/subsonicsettingspage.cpp
|
|
|
|
internet/subsonic/subsonicurlhandler.cpp
|
2015-12-01 07:13:37 +01:00
|
|
|
internet/subsonic/subsonicdynamicplaylist.cpp
|
2011-07-15 15:27:50 +02:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
library/groupbydialog.cpp
|
|
|
|
library/library.cpp
|
|
|
|
library/librarybackend.cpp
|
|
|
|
library/librarydirectorymodel.cpp
|
|
|
|
library/libraryfilterwidget.cpp
|
|
|
|
library/librarymodel.cpp
|
|
|
|
library/libraryplaylistitem.cpp
|
|
|
|
library/libraryquery.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
library/librarysettingspage.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
library/libraryview.cpp
|
2010-10-01 21:27:01 +02:00
|
|
|
library/libraryviewcontainer.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
library/librarywatcher.cpp
|
2015-12-12 04:49:51 +01:00
|
|
|
library/savedgroupingmanager.cpp
|
2010-08-03 20:57:17 +02:00
|
|
|
library/sqlrow.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2012-01-06 17:51:27 +01:00
|
|
|
musicbrainz/acoustidclient.cpp
|
2012-01-06 16:58:46 +01:00
|
|
|
musicbrainz/chromaprinter.cpp
|
2011-03-12 22:19:41 +01:00
|
|
|
musicbrainz/musicbrainzclient.cpp
|
|
|
|
musicbrainz/tagfetcher.cpp
|
2013-01-16 14:56:31 +01:00
|
|
|
|
2013-01-03 21:40:47 +01:00
|
|
|
networkremote/incomingdataparser.cpp
|
2013-01-16 14:56:31 +01:00
|
|
|
networkremote/networkremote.cpp
|
|
|
|
networkremote/networkremotehelper.cpp
|
2013-01-03 21:40:47 +01:00
|
|
|
networkremote/outgoingdatacreator.cpp
|
2013-01-10 21:21:55 +01:00
|
|
|
networkremote/remoteclient.cpp
|
2014-11-13 22:31:49 +01:00
|
|
|
networkremote/songsender.cpp
|
2013-01-16 14:56:31 +01:00
|
|
|
networkremote/zeroconf.cpp
|
2011-03-12 22:19:41 +01:00
|
|
|
|
2020-06-17 00:23:30 +02:00
|
|
|
playlist/dbplaylistitem.cpp
|
2010-11-20 21:00:40 +01:00
|
|
|
playlist/dynamicplaylistcontrols.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlist.cpp
|
|
|
|
playlist/playlistbackend.cpp
|
|
|
|
playlist/playlistcontainer.cpp
|
|
|
|
playlist/playlistdelegates.cpp
|
2012-08-29 00:07:38 +02:00
|
|
|
playlist/playlistfilterparser.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistfilter.cpp
|
|
|
|
playlist/playlistheader.cpp
|
|
|
|
playlist/playlistitem.cpp
|
2012-10-31 07:04:22 +01:00
|
|
|
playlist/playlistlistcontainer.cpp
|
|
|
|
playlist/playlistlistmodel.cpp
|
2013-06-29 18:05:03 +02:00
|
|
|
playlist/playlistlistview.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistmanager.cpp
|
2014-10-06 22:40:11 +02:00
|
|
|
playlist/playlistsaveoptionsdialog.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistsequence.cpp
|
|
|
|
playlist/playlisttabbar.cpp
|
|
|
|
playlist/playlistundocommands.cpp
|
|
|
|
playlist/playlistview.cpp
|
2010-07-11 17:37:40 +02:00
|
|
|
playlist/queue.cpp
|
|
|
|
playlist/queuemanager.cpp
|
2010-06-15 20:24:08 +02:00
|
|
|
playlist/songloaderinserter.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/songplaylistitem.cpp
|
|
|
|
|
|
|
|
playlistparsers/asxparser.cpp
|
2010-07-10 20:39:41 +02:00
|
|
|
playlistparsers/asxiniparser.cpp
|
2010-12-23 22:13:43 +01:00
|
|
|
playlistparsers/cueparser.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlistparsers/m3uparser.cpp
|
|
|
|
playlistparsers/parserbase.cpp
|
|
|
|
playlistparsers/playlistparser.cpp
|
|
|
|
playlistparsers/plsparser.cpp
|
2013-02-05 11:49:43 +01:00
|
|
|
playlistparsers/wplparser.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
playlistparsers/xmlparser.cpp
|
|
|
|
playlistparsers/xspfparser.cpp
|
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/addpodcastbyurl.cpp
|
|
|
|
internet/podcasts/addpodcastdialog.cpp
|
|
|
|
internet/podcasts/addpodcastpage.cpp
|
2018-11-17 14:29:16 +01:00
|
|
|
internet/podcasts/episodeinfowidget.cpp
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/fixedopmlpage.cpp
|
|
|
|
internet/podcasts/gpoddersearchpage.cpp
|
|
|
|
internet/podcasts/gpoddersync.cpp
|
|
|
|
internet/podcasts/gpoddertoptagsmodel.cpp
|
|
|
|
internet/podcasts/gpoddertoptagspage.cpp
|
|
|
|
internet/podcasts/itunessearchpage.cpp
|
|
|
|
internet/podcasts/podcast.cpp
|
|
|
|
internet/podcasts/podcastbackend.cpp
|
|
|
|
internet/podcasts/podcastdiscoverymodel.cpp
|
|
|
|
internet/podcasts/podcastdeleter.cpp
|
|
|
|
internet/podcasts/podcastdownloader.cpp
|
|
|
|
internet/podcasts/podcastepisode.cpp
|
2018-11-11 21:53:06 +01:00
|
|
|
internet/podcasts/podcastinfodialog.cpp
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/podcastinfowidget.cpp
|
|
|
|
internet/podcasts/podcastservice.cpp
|
|
|
|
internet/podcasts/podcastservicemodel.cpp
|
|
|
|
internet/podcasts/podcastsettingspage.cpp
|
|
|
|
internet/podcasts/podcastparser.cpp
|
|
|
|
internet/podcasts/podcastupdater.cpp
|
|
|
|
internet/podcasts/podcasturlloader.cpp
|
2012-03-04 21:47:58 +01:00
|
|
|
|
2010-11-18 21:19:33 +01:00
|
|
|
smartplaylists/generator.cpp
|
|
|
|
smartplaylists/generatorinserter.cpp
|
|
|
|
smartplaylists/querygenerator.cpp
|
2010-11-18 22:13:43 +01:00
|
|
|
smartplaylists/querywizardplugin.cpp
|
2010-11-18 21:19:33 +01:00
|
|
|
smartplaylists/search.cpp
|
|
|
|
smartplaylists/searchpreview.cpp
|
|
|
|
smartplaylists/searchterm.cpp
|
|
|
|
smartplaylists/searchtermwidget.cpp
|
|
|
|
smartplaylists/wizard.cpp
|
2010-11-18 22:13:43 +01:00
|
|
|
smartplaylists/wizardplugin.cpp
|
2010-10-24 17:38:12 +02:00
|
|
|
|
2016-06-28 15:15:23 +02:00
|
|
|
songinfo/artistbiography.cpp
|
2010-10-02 18:23:33 +02:00
|
|
|
songinfo/artistinfoview.cpp
|
2010-10-07 23:06:26 +02:00
|
|
|
songinfo/collapsibleinfoheader.cpp
|
2010-10-02 18:23:33 +02:00
|
|
|
songinfo/collapsibleinfopane.cpp
|
2010-10-02 15:43:45 +02:00
|
|
|
songinfo/songinfobase.cpp
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/songinfofetcher.cpp
|
2010-10-10 18:46:35 +02:00
|
|
|
songinfo/songinfoprovider.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
songinfo/songinfosettingspage.cpp
|
2010-10-16 16:11:23 +02:00
|
|
|
songinfo/songinfotextview.cpp
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/songinfoview.cpp
|
2012-05-30 01:31:27 +02:00
|
|
|
songinfo/songkickconcerts.cpp
|
2012-08-27 13:24:28 +02:00
|
|
|
songinfo/songkickconcertwidget.cpp
|
2010-10-10 19:59:23 +02:00
|
|
|
songinfo/songplaystats.cpp
|
2018-11-18 20:16:41 +01:00
|
|
|
songinfo/spotifyimages.cpp
|
2016-12-21 17:57:04 +01:00
|
|
|
songinfo/streamdiscoverer.cpp
|
2015-04-10 21:05:07 +02:00
|
|
|
songinfo/taglyricsinfoprovider.cpp
|
2013-10-09 19:33:59 +02:00
|
|
|
songinfo/ultimatelyricslyric.cpp
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/ultimatelyricsprovider.cpp
|
2010-10-02 15:43:45 +02:00
|
|
|
songinfo/ultimatelyricsreader.cpp
|
|
|
|
|
2010-12-26 14:01:35 +01:00
|
|
|
transcoder/transcodedialog.cpp
|
|
|
|
transcoder/transcoder.cpp
|
2011-04-17 01:04:15 +02:00
|
|
|
transcoder/transcoderoptionsaac.cpp
|
|
|
|
transcoder/transcoderoptionsdialog.cpp
|
|
|
|
transcoder/transcoderoptionsflac.cpp
|
|
|
|
transcoder/transcoderoptionsmp3.cpp
|
2013-01-28 14:08:34 +01:00
|
|
|
transcoder/transcoderoptionsopus.cpp
|
2011-04-17 01:04:15 +02:00
|
|
|
transcoder/transcoderoptionsspeex.cpp
|
|
|
|
transcoder/transcoderoptionsvorbis.cpp
|
|
|
|
transcoder/transcoderoptionswma.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
transcoder/transcodersettingspage.cpp
|
2010-12-26 14:01:35 +01:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/about.cpp
|
|
|
|
ui/addstreamdialog.cpp
|
2011-01-24 01:09:57 +01:00
|
|
|
ui/albumcoverchoicecontroller.cpp
|
2013-05-06 21:22:05 +02:00
|
|
|
ui/albumcoverexport.cpp
|
2011-04-27 21:10:37 +02:00
|
|
|
ui/albumcovermanager.cpp
|
|
|
|
ui/albumcovermanagerlist.cpp
|
|
|
|
ui/albumcoversearcher.cpp
|
2012-01-09 20:08:09 +01:00
|
|
|
ui/appearancesettingspage.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/backgroundstreamssettingspage.cpp
|
|
|
|
ui/behavioursettingspage.cpp
|
2012-09-26 18:36:47 +02:00
|
|
|
ui/console.cpp
|
2011-01-23 21:24:17 +01:00
|
|
|
ui/coverfromurldialog.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/edittagdialog.cpp
|
2020-07-26 20:38:14 +02:00
|
|
|
ui/lovedialog.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/equalizer.cpp
|
2020-11-27 13:05:53 +01:00
|
|
|
ui/filechooserwidget.cpp
|
2010-10-10 20:57:23 +02:00
|
|
|
ui/flowlayout.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/globalshortcutgrabber.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/globalshortcutssettingspage.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/iconloader.cpp
|
|
|
|
ui/mainwindow.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/networkproxysettingspage.cpp
|
2012-12-31 23:37:39 +01:00
|
|
|
ui/networkremotesettingspage.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/notificationssettingspage.cpp
|
2010-06-24 18:26:49 +02:00
|
|
|
ui/organisedialog.cpp
|
2010-08-14 13:51:50 +02:00
|
|
|
ui/organiseerrordialog.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/playbacksettingspage.cpp
|
2010-06-22 13:52:55 +02:00
|
|
|
ui/qtsystemtrayicon.cpp
|
2010-10-12 16:44:33 +02:00
|
|
|
ui/screensaver.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/settingsdialog.cpp
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/settingspage.cpp
|
2012-03-06 22:24:41 +01:00
|
|
|
ui/standarditemiconloader.cpp
|
2016-12-21 17:57:04 +01:00
|
|
|
ui/streamdetailsdialog.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/systemtrayicon.cpp
|
2011-01-21 00:42:28 +01:00
|
|
|
ui/trackselectiondialog.cpp
|
2011-01-16 01:39:51 +01:00
|
|
|
ui/windows7thumbbar.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
|
|
|
|
widgets/autoexpandingtreeview.cpp
|
|
|
|
widgets/busyindicator.cpp
|
2011-01-25 20:15:51 +01:00
|
|
|
widgets/clickablelabel.cpp
|
2011-04-28 22:48:53 +02:00
|
|
|
widgets/didyoumean.cpp
|
2010-09-26 18:00:28 +02:00
|
|
|
widgets/elidedlabel.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/equalizerslider.cpp
|
|
|
|
widgets/errordialog.cpp
|
2010-10-10 16:04:05 +02:00
|
|
|
widgets/fancytabwidget.cpp
|
2013-05-11 23:17:54 +02:00
|
|
|
widgets/favoritewidget.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/fileview.cpp
|
|
|
|
widgets/fileviewlist.cpp
|
2011-06-26 17:06:59 +02:00
|
|
|
widgets/forcescrollperpixel.cpp
|
2010-07-29 22:03:24 +02:00
|
|
|
widgets/freespacebar.cpp
|
2011-03-13 23:46:25 +01:00
|
|
|
widgets/fullscreenhypnotoad.cpp
|
2011-06-25 18:47:00 +02:00
|
|
|
widgets/groupediconview.cpp
|
2010-08-28 20:48:16 +02:00
|
|
|
widgets/lineedit.cpp
|
2010-06-24 18:26:49 +02:00
|
|
|
widgets/linetextedit.cpp
|
2011-08-27 23:01:28 +02:00
|
|
|
widgets/loginstatewidget.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/multiloadingindicator.cpp
|
2010-06-17 00:00:39 +02:00
|
|
|
widgets/nowplayingwidget.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/osd.cpp
|
|
|
|
widgets/osdpretty.cpp
|
2010-10-09 18:07:20 +02:00
|
|
|
widgets/prettyimage.cpp
|
2010-10-08 01:13:41 +02:00
|
|
|
widgets/prettyimageview.cpp
|
2010-06-09 16:02:26 +02:00
|
|
|
widgets/progressitemdelegate.cpp
|
2010-10-26 21:59:55 +02:00
|
|
|
widgets/ratingwidget.cpp
|
2011-04-02 16:46:56 +02:00
|
|
|
widgets/renametablineedit.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/sliderwidget.cpp
|
|
|
|
widgets/stickyslider.cpp
|
2010-08-27 14:42:06 +02:00
|
|
|
widgets/stretchheaderview.cpp
|
2010-10-10 16:04:05 +02:00
|
|
|
widgets/stylehelper.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/trackslider.cpp
|
2010-12-27 17:34:00 +01:00
|
|
|
widgets/tracksliderpopup.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/tracksliderslider.cpp
|
2010-10-09 16:15:30 +02:00
|
|
|
widgets/widgetfadehelper.cpp
|
2010-06-09 00:39:31 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(HEADERS
|
|
|
|
analyzers/analyzerbase.h
|
|
|
|
analyzers/analyzercontainer.h
|
|
|
|
analyzers/baranalyzer.h
|
|
|
|
analyzers/blockanalyzer.h
|
|
|
|
analyzers/boomanalyzer.h
|
2015-11-21 16:20:47 +01:00
|
|
|
analyzers/rainbowanalyzer.h
|
2010-06-09 00:39:31 +02:00
|
|
|
analyzers/sonogram.h
|
|
|
|
analyzers/turbine.h
|
|
|
|
|
2012-02-12 14:41:50 +01:00
|
|
|
core/application.h
|
2010-12-03 14:53:43 +01:00
|
|
|
core/backgroundstreams.h
|
2011-03-23 22:53:24 +01:00
|
|
|
core/crashreporting.h
|
2010-06-09 00:39:31 +02:00
|
|
|
core/database.h
|
2010-07-31 18:12:16 +02:00
|
|
|
core/deletefiles.h
|
2012-01-05 15:51:23 +01:00
|
|
|
core/filesystemwatcherinterface.h
|
2010-06-09 00:39:31 +02:00
|
|
|
core/globalshortcuts.h
|
2011-01-10 00:11:51 +01:00
|
|
|
core/globalshortcutbackend.h
|
2010-06-09 00:39:31 +02:00
|
|
|
core/gnomeglobalshortcutbackend.h
|
2019-12-06 05:25:28 +01:00
|
|
|
core/kglobalaccelglobalshortcutbackend.h
|
2010-06-09 00:39:31 +02:00
|
|
|
core/mergedproxymodel.h
|
2011-01-10 23:26:13 +01:00
|
|
|
core/mimedata.h
|
2010-10-16 19:20:54 +02:00
|
|
|
core/network.h
|
2010-06-24 20:33:38 +02:00
|
|
|
core/organise.h
|
2010-06-09 00:39:31 +02:00
|
|
|
core/player.h
|
2012-01-05 15:51:23 +01:00
|
|
|
core/qtfslistener.h
|
2010-06-15 15:24:17 +02:00
|
|
|
core/songloader.h
|
2012-01-06 00:22:51 +01:00
|
|
|
core/tagreaderclient.h
|
2011-01-17 23:58:16 +01:00
|
|
|
core/taskmanager.h
|
2011-04-28 17:10:28 +02:00
|
|
|
core/urlhandler.h
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2013-05-06 21:22:05 +02:00
|
|
|
covers/albumcoverexporter.h
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/albumcoverfetcher.h
|
|
|
|
covers/albumcoverfetchersearch.h
|
|
|
|
covers/albumcoverloader.h
|
2018-03-19 15:18:56 +01:00
|
|
|
covers/discogscoverprovider.h
|
2013-05-06 21:22:05 +02:00
|
|
|
covers/coverexportrunnable.h
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/coverprovider.h
|
|
|
|
covers/coverproviders.h
|
2011-06-26 17:07:48 +02:00
|
|
|
covers/coversearchstatisticsdialog.h
|
2012-02-13 21:44:04 +01:00
|
|
|
covers/currentartloader.h
|
2011-04-02 15:34:06 +02:00
|
|
|
covers/kittenloader.h
|
2012-10-10 14:45:13 +02:00
|
|
|
covers/musicbrainzcoverprovider.h
|
2011-04-02 15:34:06 +02:00
|
|
|
|
2010-06-26 01:38:21 +02:00
|
|
|
devices/connecteddevice.h
|
2010-07-04 01:00:07 +02:00
|
|
|
devices/devicedatabasebackend.h
|
2010-06-26 00:36:21 +02:00
|
|
|
devices/devicelister.h
|
2010-06-26 14:41:18 +02:00
|
|
|
devices/devicemanager.h
|
2010-07-04 17:01:24 +02:00
|
|
|
devices/deviceproperties.h
|
2010-07-24 20:31:05 +02:00
|
|
|
devices/devicestatefiltermodel.h
|
2010-07-03 23:05:55 +02:00
|
|
|
devices/deviceview.h
|
2014-01-05 01:32:07 +01:00
|
|
|
devices/deviceviewcontainer.h
|
2010-06-26 01:38:21 +02:00
|
|
|
devices/filesystemdevice.h
|
2019-01-21 10:06:48 +01:00
|
|
|
devices/deviceinfo.h
|
2010-06-25 21:04:10 +02:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
engines/enginebase.h
|
2010-12-26 14:01:35 +01:00
|
|
|
engines/gstengine.h
|
2020-12-31 21:56:32 +01:00
|
|
|
engines/gstenginedebug.h
|
2010-12-26 14:01:35 +01:00
|
|
|
engines/gstenginepipeline.h
|
|
|
|
engines/gstelementdeleter.h
|
2021-01-07 07:18:47 +01:00
|
|
|
engines/gstpipelinebase.h
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2011-08-28 22:33:59 +02:00
|
|
|
globalsearch/globalsearch.h
|
2012-06-10 22:11:55 +02:00
|
|
|
globalsearch/globalsearchmodel.h
|
2011-10-30 19:52:38 +01:00
|
|
|
globalsearch/globalsearchsettingspage.h
|
2012-06-04 19:18:37 +02:00
|
|
|
globalsearch/globalsearchview.h
|
2011-08-28 22:33:59 +02:00
|
|
|
globalsearch/searchprovider.h
|
2011-10-01 18:41:28 +02:00
|
|
|
globalsearch/simplesearchprovider.h
|
2012-06-11 00:05:30 +02:00
|
|
|
globalsearch/suggestionwidget.h
|
2011-08-28 22:33:59 +02:00
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/core/cloudfileservice.h
|
|
|
|
internet/digitally/digitallyimportedclient.h
|
|
|
|
internet/digitally/digitallyimportedservicebase.h
|
|
|
|
internet/digitally/digitallyimportedsettingspage.h
|
|
|
|
internet/core/geolocator.h
|
|
|
|
internet/icecast/icecastbackend.h
|
|
|
|
internet/icecast/icecastfilterwidget.h
|
|
|
|
internet/icecast/icecastmodel.h
|
|
|
|
internet/icecast/icecastservice.h
|
|
|
|
internet/core/internetmimedata.h
|
|
|
|
internet/core/internetmodel.h
|
|
|
|
internet/core/internetservice.h
|
|
|
|
internet/core/internetshowsettingspage.h
|
|
|
|
internet/core/internetsongmimedata.h
|
|
|
|
internet/core/internetview.h
|
|
|
|
internet/core/internetviewcontainer.h
|
|
|
|
internet/jamendo/jamendodynamicplaylist.h
|
|
|
|
internet/jamendo/jamendoservice.h
|
|
|
|
internet/core/localredirectserver.h
|
|
|
|
internet/magnatune/magnatunedownloaddialog.h
|
|
|
|
internet/magnatune/magnatuneservice.h
|
|
|
|
internet/magnatune/magnatunesettingspage.h
|
|
|
|
internet/core/oauthenticator.h
|
|
|
|
internet/internetradio/savedradio.h
|
|
|
|
internet/core/scrobbler.h
|
|
|
|
internet/core/searchboxwidget.h
|
|
|
|
internet/somafm/somafmservice.h
|
|
|
|
internet/somafm/somafmurlhandler.h
|
2016-02-06 14:21:51 +01:00
|
|
|
internet/intergalacticfm/intergalacticfmservice.h
|
|
|
|
internet/intergalacticfm/intergalacticfmurlhandler.h
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/subsonic/subsonicservice.h
|
|
|
|
internet/subsonic/subsonicsettingspage.h
|
|
|
|
internet/subsonic/subsonicurlhandler.h
|
2015-12-01 07:13:37 +01:00
|
|
|
internet/subsonic/subsonicdynamicplaylist.h
|
2011-07-15 15:27:50 +02:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
library/groupbydialog.h
|
|
|
|
library/library.h
|
|
|
|
library/librarybackend.h
|
|
|
|
library/librarydirectorymodel.h
|
|
|
|
library/libraryfilterwidget.h
|
|
|
|
library/librarymodel.h
|
2011-08-14 01:07:10 +02:00
|
|
|
library/librarysettingspage.h
|
2010-06-09 00:39:31 +02:00
|
|
|
library/libraryview.h
|
2010-10-01 21:27:01 +02:00
|
|
|
library/libraryviewcontainer.h
|
2010-06-09 00:39:31 +02:00
|
|
|
library/librarywatcher.h
|
2015-12-12 04:49:51 +01:00
|
|
|
library/savedgroupingmanager.h
|
2016-05-09 12:30:52 +02:00
|
|
|
|
2012-01-06 17:51:27 +01:00
|
|
|
musicbrainz/acoustidclient.h
|
2011-03-12 22:19:41 +01:00
|
|
|
musicbrainz/musicbrainzclient.h
|
|
|
|
musicbrainz/tagfetcher.h
|
2016-05-09 12:30:52 +02:00
|
|
|
|
2012-12-31 23:37:39 +01:00
|
|
|
networkremote/networkremotehelper.h
|
|
|
|
networkremote/networkremote.h
|
2013-01-03 21:40:47 +01:00
|
|
|
networkremote/incomingdataparser.h
|
|
|
|
networkremote/outgoingdatacreator.h
|
2013-01-10 21:21:55 +01:00
|
|
|
networkremote/remoteclient.h
|
2014-11-13 22:31:49 +01:00
|
|
|
networkremote/songsender.h
|
2011-03-12 22:19:41 +01:00
|
|
|
|
2020-06-17 00:23:30 +02:00
|
|
|
playlist/dbplaylistitem.h
|
2010-11-20 21:00:40 +01:00
|
|
|
playlist/dynamicplaylistcontrols.h
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlist.h
|
|
|
|
playlist/playlistbackend.h
|
|
|
|
playlist/playlistcontainer.h
|
|
|
|
playlist/playlistdelegates.h
|
|
|
|
playlist/playlistfilter.h
|
|
|
|
playlist/playlistheader.h
|
2020-06-16 23:08:23 +02:00
|
|
|
playlist/playlistitem.h
|
2011-01-10 23:26:13 +01:00
|
|
|
playlist/playlistitemmimedata.h
|
2012-10-31 07:04:22 +01:00
|
|
|
playlist/playlistlistcontainer.h
|
|
|
|
playlist/playlistlistmodel.h
|
2013-06-29 18:05:03 +02:00
|
|
|
playlist/playlistlistview.h
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistmanager.h
|
2014-10-06 22:40:11 +02:00
|
|
|
playlist/playlistsaveoptionsdialog.h
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistsequence.h
|
|
|
|
playlist/playlisttabbar.h
|
|
|
|
playlist/playlistview.h
|
2010-07-11 17:37:40 +02:00
|
|
|
playlist/queue.h
|
|
|
|
playlist/queuemanager.h
|
2010-06-15 20:24:08 +02:00
|
|
|
playlist/songloaderinserter.h
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/songmimedata.h
|
|
|
|
|
|
|
|
playlistparsers/asxparser.h
|
2010-07-10 20:39:41 +02:00
|
|
|
playlistparsers/asxiniparser.h
|
2010-12-23 22:13:43 +01:00
|
|
|
playlistparsers/cueparser.h
|
2010-06-09 00:39:31 +02:00
|
|
|
playlistparsers/m3uparser.h
|
|
|
|
playlistparsers/parserbase.h
|
|
|
|
playlistparsers/playlistparser.h
|
|
|
|
playlistparsers/plsparser.h
|
|
|
|
playlistparsers/xspfparser.h
|
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/addpodcastbyurl.h
|
|
|
|
internet/podcasts/addpodcastdialog.h
|
|
|
|
internet/podcasts/addpodcastpage.h
|
2018-11-17 14:29:16 +01:00
|
|
|
internet/podcasts/episodeinfowidget.h
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/fixedopmlpage.h
|
|
|
|
internet/podcasts/gpoddersearchpage.h
|
|
|
|
internet/podcasts/gpoddersync.h
|
|
|
|
internet/podcasts/gpoddertoptagsmodel.h
|
|
|
|
internet/podcasts/gpoddertoptagspage.h
|
|
|
|
internet/podcasts/itunessearchpage.h
|
|
|
|
internet/podcasts/podcastbackend.h
|
|
|
|
internet/podcasts/podcastdiscoverymodel.h
|
|
|
|
internet/podcasts/podcastdeleter.h
|
|
|
|
internet/podcasts/podcastdownloader.h
|
2018-11-11 21:53:06 +01:00
|
|
|
internet/podcasts/podcastinfodialog.h
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/podcastinfowidget.h
|
|
|
|
internet/podcasts/podcastservice.h
|
|
|
|
internet/podcasts/podcastservicemodel.h
|
|
|
|
internet/podcasts/podcastsettingspage.h
|
|
|
|
internet/podcasts/podcastupdater.h
|
|
|
|
internet/podcasts/podcasturlloader.h
|
2012-03-04 21:47:58 +01:00
|
|
|
|
2010-11-18 21:19:33 +01:00
|
|
|
smartplaylists/generator.h
|
|
|
|
smartplaylists/generatorinserter.h
|
2010-10-24 18:40:19 +02:00
|
|
|
smartplaylists/generatormimedata.h
|
2010-11-18 22:13:43 +01:00
|
|
|
smartplaylists/querywizardplugin.h
|
2010-11-18 21:19:33 +01:00
|
|
|
smartplaylists/searchpreview.h
|
|
|
|
smartplaylists/searchtermwidget.h
|
|
|
|
smartplaylists/wizard.h
|
2010-11-18 22:13:43 +01:00
|
|
|
smartplaylists/wizardplugin.h
|
2010-10-24 17:38:12 +02:00
|
|
|
|
2016-06-28 15:15:23 +02:00
|
|
|
songinfo/artistbiography.h
|
2010-10-02 18:23:33 +02:00
|
|
|
songinfo/artistinfoview.h
|
2010-10-07 23:06:26 +02:00
|
|
|
songinfo/collapsibleinfoheader.h
|
2010-10-02 18:23:33 +02:00
|
|
|
songinfo/collapsibleinfopane.h
|
2010-10-02 15:43:45 +02:00
|
|
|
songinfo/songinfobase.h
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/songinfofetcher.h
|
|
|
|
songinfo/songinfoprovider.h
|
2011-08-14 01:07:10 +02:00
|
|
|
songinfo/songinfosettingspage.h
|
2010-10-16 16:11:23 +02:00
|
|
|
songinfo/songinfotextview.h
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/songinfoview.h
|
2012-05-30 01:31:27 +02:00
|
|
|
songinfo/songkickconcerts.h
|
2012-08-27 13:24:28 +02:00
|
|
|
songinfo/songkickconcertwidget.h
|
2010-10-10 19:59:23 +02:00
|
|
|
songinfo/songplaystats.h
|
2018-11-18 20:16:41 +01:00
|
|
|
songinfo/spotifyimages.h
|
2016-12-21 17:57:04 +01:00
|
|
|
songinfo/streamdiscoverer.h
|
2015-04-10 21:05:07 +02:00
|
|
|
songinfo/taglyricsinfoprovider.h
|
2013-10-09 19:33:59 +02:00
|
|
|
songinfo/ultimatelyricslyric.h
|
2010-10-10 18:09:20 +02:00
|
|
|
songinfo/ultimatelyricsprovider.h
|
2010-10-02 15:43:45 +02:00
|
|
|
songinfo/ultimatelyricsreader.h
|
|
|
|
|
2010-12-26 14:01:35 +01:00
|
|
|
transcoder/transcodedialog.h
|
|
|
|
transcoder/transcoder.h
|
2011-04-17 01:04:15 +02:00
|
|
|
transcoder/transcoderoptionsdialog.h
|
|
|
|
transcoder/transcoderoptionsmp3.h
|
2021-01-11 09:33:51 +01:00
|
|
|
transcoder/transcoderoptionsflac.h
|
2011-08-14 01:07:10 +02:00
|
|
|
transcoder/transcodersettingspage.h
|
2010-12-26 14:01:35 +01:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/about.h
|
|
|
|
ui/addstreamdialog.h
|
2011-01-24 01:09:57 +01:00
|
|
|
ui/albumcoverchoicecontroller.h
|
2013-05-06 21:22:05 +02:00
|
|
|
ui/albumcoverexport.h
|
2011-04-27 21:10:37 +02:00
|
|
|
ui/albumcovermanager.h
|
|
|
|
ui/albumcovermanagerlist.h
|
|
|
|
ui/albumcoversearcher.h
|
2012-01-09 20:08:09 +01:00
|
|
|
ui/appearancesettingspage.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/backgroundstreamssettingspage.h
|
|
|
|
ui/behavioursettingspage.h
|
2012-09-26 18:36:47 +02:00
|
|
|
ui/console.h
|
2011-01-23 21:24:17 +01:00
|
|
|
ui/coverfromurldialog.h
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/edittagdialog.h
|
2020-11-27 13:05:53 +01:00
|
|
|
ui/filechooserwidget.h
|
2020-07-26 20:38:14 +02:00
|
|
|
ui/lovedialog.h
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/equalizer.h
|
|
|
|
ui/globalshortcutgrabber.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/globalshortcutssettingspage.h
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/mainwindow.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/networkproxysettingspage.h
|
2012-12-31 23:37:39 +01:00
|
|
|
ui/networkremotesettingspage.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/notificationssettingspage.h
|
2010-06-24 18:26:49 +02:00
|
|
|
ui/organisedialog.h
|
2010-08-14 13:51:50 +02:00
|
|
|
ui/organiseerrordialog.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/playbacksettingspage.h
|
2010-06-22 13:52:55 +02:00
|
|
|
ui/qtsystemtrayicon.h
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/settingsdialog.h
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/settingspage.h
|
2012-03-06 22:24:41 +01:00
|
|
|
ui/standarditemiconloader.h
|
2016-12-21 17:57:04 +01:00
|
|
|
ui/streamdetailsdialog.h
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/systemtrayicon.h
|
2011-01-21 00:42:28 +01:00
|
|
|
ui/trackselectiondialog.h
|
2011-01-16 01:39:51 +01:00
|
|
|
ui/windows7thumbbar.h
|
2010-06-09 00:39:31 +02:00
|
|
|
|
|
|
|
widgets/autoexpandingtreeview.h
|
|
|
|
widgets/busyindicator.h
|
2011-01-25 20:15:51 +01:00
|
|
|
widgets/clickablelabel.h
|
2011-04-28 22:48:53 +02:00
|
|
|
widgets/didyoumean.h
|
2010-09-26 18:00:28 +02:00
|
|
|
widgets/elidedlabel.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/equalizerslider.h
|
|
|
|
widgets/errordialog.h
|
2010-10-10 16:04:05 +02:00
|
|
|
widgets/fancytabwidget.h
|
2013-05-11 23:17:54 +02:00
|
|
|
widgets/favoritewidget.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/fileview.h
|
|
|
|
widgets/fileviewlist.h
|
2010-07-29 22:03:24 +02:00
|
|
|
widgets/freespacebar.h
|
2011-06-25 18:47:00 +02:00
|
|
|
widgets/groupediconview.h
|
2010-08-28 20:48:16 +02:00
|
|
|
widgets/lineedit.h
|
2010-06-24 18:26:49 +02:00
|
|
|
widgets/linetextedit.h
|
2011-08-27 23:01:28 +02:00
|
|
|
widgets/loginstatewidget.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/multiloadingindicator.h
|
2010-06-17 00:00:39 +02:00
|
|
|
widgets/nowplayingwidget.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/osd.h
|
|
|
|
widgets/osdpretty.h
|
2010-10-09 18:07:20 +02:00
|
|
|
widgets/prettyimage.h
|
2010-10-08 01:13:41 +02:00
|
|
|
widgets/prettyimageview.h
|
2010-06-09 16:02:26 +02:00
|
|
|
widgets/progressitemdelegate.h
|
2010-10-26 21:59:55 +02:00
|
|
|
widgets/ratingwidget.h
|
2011-04-02 16:46:56 +02:00
|
|
|
widgets/renametablineedit.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/sliderwidget.h
|
|
|
|
widgets/stickyslider.h
|
2010-08-27 14:42:06 +02:00
|
|
|
widgets/stretchheaderview.h
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/trackslider.h
|
2010-12-27 17:34:00 +01:00
|
|
|
widgets/tracksliderpopup.h
|
2011-02-21 23:25:04 +01:00
|
|
|
widgets/tracksliderslider.h
|
2010-10-09 16:15:30 +02:00
|
|
|
widgets/widgetfadehelper.h
|
2010-06-09 00:39:31 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(UI
|
2011-06-26 17:07:48 +02:00
|
|
|
covers/coversearchstatisticsdialog.ui
|
|
|
|
|
2010-07-04 17:01:24 +02:00
|
|
|
devices/deviceproperties.ui
|
2014-01-05 01:32:07 +01:00
|
|
|
devices/deviceviewcontainer.ui
|
2010-07-04 17:01:24 +02:00
|
|
|
|
2020-12-31 21:56:32 +01:00
|
|
|
engines/gstenginedebug.ui
|
|
|
|
|
2011-10-30 19:52:38 +01:00
|
|
|
globalsearch/globalsearchsettingspage.ui
|
2012-06-04 19:18:37 +02:00
|
|
|
globalsearch/globalsearchview.ui
|
2012-06-10 20:00:51 +02:00
|
|
|
globalsearch/searchproviderstatuswidget.ui
|
2012-06-11 00:05:30 +02:00
|
|
|
globalsearch/suggestionwidget.ui
|
2011-08-28 22:33:59 +02:00
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/digitally/digitallyimportedsettingspage.ui
|
|
|
|
internet/icecast/icecastfilterwidget.ui
|
|
|
|
internet/core/internetshowsettingspage.ui
|
|
|
|
internet/core/internetviewcontainer.ui
|
|
|
|
internet/magnatune/magnatunedownloaddialog.ui
|
|
|
|
internet/magnatune/magnatunesettingspage.ui
|
|
|
|
internet/core/searchboxwidget.ui
|
|
|
|
internet/subsonic/subsonicsettingspage.ui
|
2011-07-15 15:27:50 +02:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
library/groupbydialog.ui
|
|
|
|
library/libraryfilterwidget.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
library/librarysettingspage.ui
|
2010-10-01 21:27:01 +02:00
|
|
|
library/libraryviewcontainer.ui
|
2015-12-12 04:49:51 +01:00
|
|
|
library/savedgroupingmanager.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2010-11-20 21:00:40 +01:00
|
|
|
playlist/dynamicplaylistcontrols.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistcontainer.ui
|
2014-10-06 22:40:11 +02:00
|
|
|
playlist/playlistsaveoptionsdialog.ui
|
2012-10-31 07:04:22 +01:00
|
|
|
playlist/playlistlistcontainer.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
playlist/playlistsequence.ui
|
2010-07-11 17:37:40 +02:00
|
|
|
playlist/queuemanager.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/addpodcastbyurl.ui
|
|
|
|
internet/podcasts/addpodcastdialog.ui
|
2018-11-17 14:29:16 +01:00
|
|
|
internet/podcasts/episodeinfowidget.ui
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/gpoddersearchpage.ui
|
|
|
|
internet/podcasts/itunessearchpage.ui
|
2018-11-11 21:53:06 +01:00
|
|
|
internet/podcasts/podcastinfodialog.ui
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/podcasts/podcastinfowidget.ui
|
|
|
|
internet/podcasts/podcastsettingspage.ui
|
2012-03-05 19:15:45 +01:00
|
|
|
|
2010-11-18 22:13:43 +01:00
|
|
|
smartplaylists/querysearchpage.ui
|
|
|
|
smartplaylists/querysortpage.ui
|
2010-11-18 21:19:33 +01:00
|
|
|
smartplaylists/searchpreview.ui
|
|
|
|
smartplaylists/searchtermwidget.ui
|
2010-11-19 00:08:37 +01:00
|
|
|
smartplaylists/wizardfinishpage.ui
|
2010-10-24 17:38:12 +02:00
|
|
|
|
2012-08-27 13:24:28 +02:00
|
|
|
songinfo/songkickconcertwidget.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
songinfo/songinfosettingspage.ui
|
2010-10-02 15:43:45 +02:00
|
|
|
|
2010-12-26 14:01:35 +01:00
|
|
|
transcoder/transcodedialog.ui
|
|
|
|
transcoder/transcodelogdialog.ui
|
2011-04-17 01:04:15 +02:00
|
|
|
transcoder/transcoderoptionsaac.ui
|
|
|
|
transcoder/transcoderoptionsdialog.ui
|
|
|
|
transcoder/transcoderoptionsflac.ui
|
|
|
|
transcoder/transcoderoptionsmp3.ui
|
2013-01-28 14:08:34 +01:00
|
|
|
transcoder/transcoderoptionsopus.ui
|
2011-04-17 01:04:15 +02:00
|
|
|
transcoder/transcoderoptionsspeex.ui
|
|
|
|
transcoder/transcoderoptionsvorbis.ui
|
|
|
|
transcoder/transcoderoptionswma.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
transcoder/transcodersettingspage.ui
|
2010-12-26 14:01:35 +01:00
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/about.ui
|
|
|
|
ui/addstreamdialog.ui
|
2013-05-06 21:22:05 +02:00
|
|
|
ui/albumcoverexport.ui
|
2011-04-27 21:10:37 +02:00
|
|
|
ui/albumcovermanager.ui
|
|
|
|
ui/albumcoversearcher.ui
|
2012-01-09 20:08:09 +01:00
|
|
|
ui/appearancesettingspage.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/backgroundstreamssettingspage.ui
|
|
|
|
ui/behavioursettingspage.ui
|
2012-09-26 18:36:47 +02:00
|
|
|
ui/console.ui
|
2011-01-23 21:24:17 +01:00
|
|
|
ui/coverfromurldialog.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/edittagdialog.ui
|
2020-07-26 20:38:14 +02:00
|
|
|
ui/lovedialog.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/equalizer.ui
|
|
|
|
ui/globalshortcutgrabber.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/globalshortcutssettingspage.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/mainwindow.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/networkproxysettingspage.ui
|
2012-12-31 23:37:39 +01:00
|
|
|
ui/networkremotesettingspage.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/notificationssettingspage.ui
|
2010-06-24 18:26:49 +02:00
|
|
|
ui/organisedialog.ui
|
2010-08-14 13:51:50 +02:00
|
|
|
ui/organiseerrordialog.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
ui/playbacksettingspage.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
ui/settingsdialog.ui
|
2016-12-21 17:57:04 +01:00
|
|
|
ui/streamdetailsdialog.ui
|
2011-01-21 00:42:28 +01:00
|
|
|
ui/trackselectiondialog.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
|
|
|
|
widgets/equalizerslider.ui
|
|
|
|
widgets/errordialog.ui
|
|
|
|
widgets/fileview.ui
|
2011-08-27 23:01:28 +02:00
|
|
|
widgets/loginstatewidget.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
widgets/osdpretty.ui
|
|
|
|
widgets/trackslider.ui
|
2011-08-14 01:07:10 +02:00
|
|
|
|
|
|
|
wiimotedev/wiimotesettingspage.ui
|
|
|
|
wiimotedev/wiimoteshortcutgrabber.ui
|
2010-06-09 00:39:31 +02:00
|
|
|
)
|
|
|
|
|
|
|
|
set(RESOURCES
|
2010-02-28 18:28:56 +01:00
|
|
|
../data/data.qrc
|
|
|
|
)
|
|
|
|
|
2011-11-03 18:19:37 +01:00
|
|
|
set(OTHER_SOURCES)
|
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if (HAVE_TRANSLATIONS)
|
|
|
|
set(LINGUAS "All" CACHE STRING "A space-seperated list of translations to compile in to Clementine, or \"None\".")
|
|
|
|
if (LINGUAS STREQUAL "All")
|
|
|
|
# build LANGUAGES from all existing .po files
|
|
|
|
file(GLOB pofiles translations/*.po)
|
|
|
|
foreach(pofile ${pofiles})
|
|
|
|
get_filename_component(lang ${pofile} NAME_WE)
|
|
|
|
list(APPEND LANGUAGES ${lang})
|
|
|
|
endforeach(pofile)
|
|
|
|
else (LINGUAS STREQUAL "All")
|
|
|
|
if (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
|
|
|
set (LANGUAGES "")
|
|
|
|
else (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
|
|
|
string(REGEX MATCHALL [a-zA-Z_@]+
|
2010-06-12 19:44:19 +02:00
|
|
|
LANGUAGES ${LINGUAS})
|
2018-11-17 15:08:37 +01:00
|
|
|
endif (NOT LINGUAS OR LINGUAS STREQUAL "None")
|
|
|
|
endif (LINGUAS STREQUAL "All")
|
|
|
|
endif(HAVE_TRANSLATIONS)
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2011-01-16 16:11:23 +01:00
|
|
|
option(USE_INSTALL_PREFIX "Look for data in CMAKE_INSTALL_PREFIX" ON)
|
|
|
|
|
2010-06-11 00:48:23 +02:00
|
|
|
# Visualisations
|
2018-11-29 22:32:12 +01:00
|
|
|
optional_source(HAVE_VISUALISATIONS
|
2011-10-29 19:37:30 +02:00
|
|
|
SOURCES
|
2010-06-11 00:48:23 +02:00
|
|
|
visualisations/projectmpresetmodel.cpp
|
|
|
|
visualisations/projectmvisualisation.cpp
|
|
|
|
visualisations/visualisationcontainer.cpp
|
|
|
|
visualisations/visualisationoverlay.cpp
|
|
|
|
visualisations/visualisationselector.cpp
|
2011-10-29 19:37:30 +02:00
|
|
|
HEADERS
|
2010-06-11 00:48:23 +02:00
|
|
|
visualisations/projectmpresetmodel.h
|
|
|
|
visualisations/projectmvisualisation.h
|
|
|
|
visualisations/visualisationcontainer.h
|
|
|
|
visualisations/visualisationoverlay.h
|
|
|
|
visualisations/visualisationselector.h
|
2011-10-29 19:37:30 +02:00
|
|
|
UI
|
2010-06-11 00:48:23 +02:00
|
|
|
visualisations/visualisationoverlay.ui
|
|
|
|
visualisations/visualisationselector.ui
|
2011-10-29 19:37:30 +02:00
|
|
|
)
|
2010-06-11 00:48:23 +02:00
|
|
|
|
2010-12-18 18:28:02 +01:00
|
|
|
# Lastfm
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_LIBLASTFM
|
|
|
|
SOURCES
|
2011-04-02 16:43:50 +02:00
|
|
|
covers/lastfmcoverprovider.cpp
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/lastfm/fixlastfm.cpp
|
|
|
|
internet/lastfm/lastfmcompat.cpp
|
|
|
|
internet/lastfm/lastfmservice.cpp
|
|
|
|
internet/lastfm/lastfmsettingspage.cpp
|
2010-12-18 18:28:02 +01:00
|
|
|
songinfo/lastfmtrackinfoprovider.cpp
|
|
|
|
songinfo/tagwidget.cpp
|
2011-10-29 19:37:30 +02:00
|
|
|
HEADERS
|
2011-04-02 16:43:50 +02:00
|
|
|
covers/lastfmcoverprovider.h
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/lastfm/lastfmservice.h
|
|
|
|
internet/lastfm/lastfmsettingspage.h
|
2010-12-18 18:28:02 +01:00
|
|
|
songinfo/lastfmtrackinfoprovider.h
|
|
|
|
songinfo/tagwidget.h
|
2011-10-29 19:37:30 +02:00
|
|
|
UI
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/lastfm/lastfmsettingspage.ui
|
2011-10-29 19:37:30 +02:00
|
|
|
)
|
2010-12-18 18:28:02 +01:00
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
# Spotify support
|
|
|
|
optional_source(HAVE_SPOTIFY
|
2013-09-17 17:09:56 +02:00
|
|
|
SOURCES
|
2018-11-17 15:08:37 +01:00
|
|
|
internet/spotify/spotifyserver.cpp
|
|
|
|
internet/spotify/spotifyservice.cpp
|
|
|
|
internet/spotify/spotifysettingspage.cpp
|
|
|
|
globalsearch/spotifysearchprovider.cpp
|
2013-09-17 17:09:56 +02:00
|
|
|
HEADERS
|
2018-11-17 15:08:37 +01:00
|
|
|
globalsearch/spotifysearchprovider.h
|
|
|
|
internet/spotify/spotifyserver.h
|
|
|
|
internet/spotify/spotifyservice.h
|
|
|
|
internet/spotify/spotifysettingspage.h
|
|
|
|
UI
|
|
|
|
internet/spotify/spotifysettingspage.ui
|
2013-09-17 17:09:56 +02:00
|
|
|
)
|
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if(HAVE_SPOTIFY)
|
|
|
|
optional_source(HAVE_SPOTIFY_DOWNLOADER
|
|
|
|
SOURCES
|
|
|
|
internet/spotify/spotifyblobdownloader.cpp
|
|
|
|
HEADERS
|
|
|
|
internet/spotify/spotifyblobdownloader.h
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
${CRYPTOPP_INCLUDE_DIRS}
|
|
|
|
)
|
|
|
|
endif(HAVE_SPOTIFY)
|
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
# Platform specific - OS X
|
|
|
|
optional_source(APPLE
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/google-breakpad/client/mac/build/Release/Breakpad.framework
|
|
|
|
SOURCES
|
2012-01-04 16:24:53 +01:00
|
|
|
core/macfslistener.mm
|
2011-10-29 19:37:30 +02:00
|
|
|
core/macglobalshortcutbackend.mm
|
|
|
|
core/mac_startup.mm
|
2014-03-29 10:06:33 +01:00
|
|
|
engines/osxdevicefinder.cpp
|
2013-01-16 15:26:35 +01:00
|
|
|
networkremote/bonjour.mm
|
2011-10-29 19:37:30 +02:00
|
|
|
ui/globalshortcutgrabber.mm
|
|
|
|
ui/macscreensaver.cpp
|
|
|
|
ui/macsystemtrayicon.mm
|
|
|
|
widgets/osd_mac.mm
|
|
|
|
HEADERS
|
2012-01-04 16:24:53 +01:00
|
|
|
core/macfslistener.h
|
2011-10-29 19:37:30 +02:00
|
|
|
core/macglobalshortcutbackend.h
|
|
|
|
ui/macsystemtrayicon.h
|
|
|
|
)
|
|
|
|
|
2016-12-15 12:36:05 +01:00
|
|
|
if(APPLE)
|
|
|
|
optional_source(HAVE_LIBMTP
|
|
|
|
SOURCES
|
|
|
|
devices/macdevicelister.mm
|
|
|
|
HEADERS
|
|
|
|
devices/macdevicelister.h
|
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
# Platform specific - Windows
|
2013-01-17 14:11:15 +01:00
|
|
|
optional_source(WIN32
|
|
|
|
SOURCES
|
2014-03-29 13:47:48 +01:00
|
|
|
engines/directsounddevicefinder.cpp
|
2013-01-17 14:11:15 +01:00
|
|
|
networkremote/tinysvcmdns.cpp
|
2015-10-30 17:45:51 +01:00
|
|
|
ui/windowsscreensaver.cpp
|
2013-01-17 14:11:15 +01:00
|
|
|
widgets/osd_win.cpp
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
${CMAKE_SOURCE_DIR}/3rdparty/tinysvcmdns
|
|
|
|
)
|
2011-10-29 19:37:30 +02:00
|
|
|
|
|
|
|
# Platform specific - X11
|
2018-11-17 15:08:37 +01:00
|
|
|
optional_source(HAVE_X11 SOURCES widgets/osd_x11.cpp)
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
# DBUS and MPRIS - Unix specific
|
|
|
|
if(UNIX AND HAVE_DBUS)
|
2010-06-25 18:05:02 +02:00
|
|
|
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus)
|
|
|
|
|
2010-11-21 16:13:26 +01:00
|
|
|
# MPRIS 2.0 DBUS interfaces
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_adaptor(SOURCES
|
2010-11-21 16:13:26 +01:00
|
|
|
dbus/org.mpris.MediaPlayer2.Player.xml
|
2010-12-04 23:27:58 +01:00
|
|
|
core/mpris2.h mpris::Mpris2 core/mpris2_player Mpris2Player)
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_adaptor(SOURCES
|
2010-11-21 16:13:26 +01:00
|
|
|
dbus/org.mpris.MediaPlayer2.xml
|
2010-12-04 23:27:58 +01:00
|
|
|
core/mpris2.h mpris::Mpris2 core/mpris2_root Mpris2Root)
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_adaptor(SOURCES
|
2010-11-21 16:13:26 +01:00
|
|
|
dbus/org.mpris.MediaPlayer2.TrackList.xml
|
2010-12-04 23:27:58 +01:00
|
|
|
core/mpris2.h mpris::Mpris2 core/mpris2_tracklist Mpris2TrackList)
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2012-10-11 15:38:51 +02:00
|
|
|
# MPRIS 2.1 DBUS interfaces
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_adaptor(SOURCES
|
2012-10-11 15:38:51 +02:00
|
|
|
dbus/org.mpris.MediaPlayer2.Playlists.xml
|
|
|
|
core/mpris2.h mpris::Mpris2 core/mpris2_playlists Mpris2Playlists)
|
|
|
|
|
2010-06-25 18:05:02 +02:00
|
|
|
# org.freedesktop.Notifications DBUS interface
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2010-06-25 18:05:02 +02:00
|
|
|
dbus/org.freedesktop.Notifications.xml
|
|
|
|
dbus/notification)
|
|
|
|
|
2011-01-22 13:47:19 +01:00
|
|
|
# org.gnome.SettingsDaemon interface
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2011-01-22 13:47:19 +01:00
|
|
|
dbus/org.gnome.SettingsDaemon.MediaKeys.xml
|
|
|
|
dbus/gnomesettingsdaemon)
|
|
|
|
|
2019-12-06 05:25:28 +01:00
|
|
|
# org.kde.KGlobalAccel interfaces
|
|
|
|
# these are taken from the KGlobalAccel sources (LGPL 2.1)
|
|
|
|
qt5_add_dbus_interface(SOURCES
|
|
|
|
dbus/org.kde.KGlobalAccel.xml
|
|
|
|
dbus/kglobalaccel)
|
|
|
|
qt5_add_dbus_interface(SOURCES
|
|
|
|
dbus/org.kde.kglobalaccel.Component.xml
|
|
|
|
dbus/kglobalaccelcomponent)
|
|
|
|
|
2013-01-16 14:56:31 +01:00
|
|
|
# org.freedesktop.Avahi.Server interface
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dbus/avahiserver.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dbus/avahiserver.h
|
|
|
|
COMMAND ${QT_DBUSXML2CPP_EXECUTABLE}
|
|
|
|
dbus/org.freedesktop.Avahi.Server.xml
|
|
|
|
-p ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahiserver
|
|
|
|
-i dbus/metatypes.h
|
|
|
|
DEPENDS dbus/org.freedesktop.Avahi.Server.xml
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
list(APPEND HEADERS ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahiserver.h)
|
|
|
|
list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahiserver.cpp)
|
|
|
|
|
|
|
|
# org.freedesktop.Avahi.EntryGroup interface
|
|
|
|
add_custom_command(
|
|
|
|
OUTPUT
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.cpp
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.h
|
|
|
|
COMMAND ${QT_DBUSXML2CPP_EXECUTABLE}
|
|
|
|
dbus/org.freedesktop.Avahi.EntryGroup.xml
|
|
|
|
-p ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup
|
|
|
|
-i dbus/metatypes.h
|
|
|
|
DEPENDS dbus/org.freedesktop.Avahi.EntryGroup.xml
|
|
|
|
WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR})
|
|
|
|
list(APPEND HEADERS ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.h)
|
|
|
|
list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.cpp)
|
|
|
|
|
2010-06-25 18:17:17 +02:00
|
|
|
# DeviceKit DBUS interfaces
|
2010-12-26 14:38:35 +01:00
|
|
|
if(HAVE_DEVICEKIT)
|
2014-07-16 15:57:25 +02:00
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisks)
|
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisksdevice)
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2010-12-26 14:38:35 +01:00
|
|
|
dbus/org.freedesktop.UDisks.xml
|
|
|
|
dbus/udisks)
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2010-12-26 14:38:35 +01:00
|
|
|
dbus/org.freedesktop.UDisks.Device.xml
|
|
|
|
dbus/udisksdevice)
|
|
|
|
endif(HAVE_DEVICEKIT)
|
2010-06-25 18:17:17 +02:00
|
|
|
|
2016-05-17 21:56:16 +02:00
|
|
|
if(HAVE_UDISKS2)
|
|
|
|
set_source_files_properties(dbus/org.freedesktop.DBus.ObjectManager.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/objectmanager INCLUDE dbus/metatypes.h)
|
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks2.Filesystem.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisks2filesystem INCLUDE dbus/metatypes.h)
|
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks2.Block.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisks2block INCLUDE dbus/metatypes.h)
|
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks2.Drive.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisks2drive INCLUDE dbus/metatypes.h)
|
2016-05-22 22:44:22 +02:00
|
|
|
set_source_files_properties(dbus/org.freedesktop.UDisks2.Job.xml
|
|
|
|
PROPERTIES NO_NAMESPACE dbus/udisks2job INCLUDE dbus/metatypes.h)
|
2016-10-07 13:29:50 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2016-05-17 21:56:16 +02:00
|
|
|
dbus/org.freedesktop.DBus.ObjectManager.xml
|
|
|
|
dbus/objectmanager)
|
2016-10-07 13:29:50 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2016-05-17 21:56:16 +02:00
|
|
|
dbus/org.freedesktop.UDisks2.Filesystem.xml
|
|
|
|
dbus/udisks2filesystem)
|
2016-10-07 13:29:50 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2016-05-17 21:56:16 +02:00
|
|
|
dbus/org.freedesktop.UDisks2.Block.xml
|
|
|
|
dbus/udisks2block)
|
2016-10-07 13:29:50 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2016-05-17 21:56:16 +02:00
|
|
|
dbus/org.freedesktop.UDisks2.Drive.xml
|
|
|
|
dbus/udisks2drive)
|
2016-10-07 13:29:50 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2016-05-22 22:44:22 +02:00
|
|
|
dbus/org.freedesktop.UDisks2.Job.xml
|
|
|
|
dbus/udisks2job)
|
2016-05-17 21:56:16 +02:00
|
|
|
endif(HAVE_UDISKS2)
|
|
|
|
|
2010-08-23 20:59:40 +02:00
|
|
|
# Wiimotedev interface classes
|
2010-08-24 21:57:43 +02:00
|
|
|
if(ENABLE_WIIMOTEDEV)
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_add_dbus_interface(SOURCES
|
2010-08-31 01:57:31 +02:00
|
|
|
dbus/org.wiimotedev.deviceEvents.xml
|
|
|
|
dbus/wiimotedev)
|
2010-08-24 21:57:43 +02:00
|
|
|
endif(ENABLE_WIIMOTEDEV)
|
2018-11-17 15:08:37 +01:00
|
|
|
endif(UNIX AND HAVE_DBUS)
|
2010-08-23 20:59:40 +02:00
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_DBUS
|
|
|
|
SOURCES
|
|
|
|
core/mpris.cpp
|
|
|
|
core/mpris2.cpp
|
2013-01-16 14:56:31 +01:00
|
|
|
networkremote/avahi.cpp
|
2011-10-29 19:37:30 +02:00
|
|
|
ui/dbusscreensaver.cpp
|
|
|
|
HEADERS
|
|
|
|
core/mpris.h
|
|
|
|
core/mpris2.h
|
|
|
|
)
|
2010-10-12 16:44:33 +02:00
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_WIIMOTEDEV
|
|
|
|
SOURCES
|
|
|
|
wiimotedev/shortcuts.cpp
|
|
|
|
wiimotedev/wiimotesettingspage.cpp
|
|
|
|
wiimotedev/wiimoteshortcutgrabber.cpp
|
|
|
|
HEADERS
|
|
|
|
wiimotedev/shortcuts.h
|
|
|
|
wiimotedev/wiimotesettingspage.h
|
|
|
|
wiimotedev/wiimoteshortcutgrabber.h
|
|
|
|
)
|
2010-06-09 00:39:31 +02:00
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_DEVICEKIT
|
|
|
|
SOURCES devices/devicekitlister.cpp
|
|
|
|
HEADERS devices/devicekitlister.h
|
|
|
|
)
|
2010-07-04 22:52:45 +02:00
|
|
|
|
2016-05-17 21:56:16 +02:00
|
|
|
optional_source(HAVE_UDISKS2
|
|
|
|
SOURCES devices/udisks2lister.cpp
|
|
|
|
HEADERS devices/udisks2lister.h
|
|
|
|
)
|
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
# Libgpod device backend
|
|
|
|
optional_source(HAVE_LIBGPOD
|
|
|
|
INCLUDE_DIRECTORIES ${LIBGPOD_INCLUDE_DIRS}
|
|
|
|
SOURCES
|
|
|
|
devices/gpoddevice.cpp
|
|
|
|
devices/gpodloader.cpp
|
|
|
|
HEADERS
|
|
|
|
devices/gpoddevice.h
|
|
|
|
devices/gpodloader.h
|
|
|
|
)
|
2010-07-04 22:52:45 +02:00
|
|
|
|
2010-07-17 16:22:07 +02:00
|
|
|
# GIO device backend
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_GIO
|
|
|
|
INCLUDE_DIRECTORIES ${GIO_INCLUDE_DIRS}
|
|
|
|
SOURCES devices/giolister.cpp
|
|
|
|
HEADERS devices/giolister.h
|
|
|
|
)
|
2010-07-17 16:22:07 +02:00
|
|
|
|
2011-08-10 17:23:32 +02:00
|
|
|
# CDIO backend and device
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_AUDIOCD
|
|
|
|
SOURCES
|
|
|
|
devices/cddadevice.cpp
|
|
|
|
devices/cddalister.cpp
|
2014-10-26 03:32:37 +01:00
|
|
|
devices/cddasongloader.cpp
|
2015-02-18 20:05:35 +01:00
|
|
|
ripper/ripcddialog.cpp
|
|
|
|
ripper/ripper.cpp
|
2011-10-29 19:37:30 +02:00
|
|
|
HEADERS
|
|
|
|
devices/cddadevice.h
|
|
|
|
devices/cddalister.h
|
2014-10-26 03:32:37 +01:00
|
|
|
devices/cddasongloader.h
|
2015-02-18 20:05:35 +01:00
|
|
|
ripper/ripcddialog.h
|
|
|
|
ripper/ripper.h
|
2014-01-22 04:44:56 +01:00
|
|
|
UI
|
2015-02-18 20:05:35 +01:00
|
|
|
ripper/ripcddialog.ui
|
2011-10-29 19:37:30 +02:00
|
|
|
)
|
2011-08-10 17:23:32 +02:00
|
|
|
|
2010-08-14 17:57:05 +02:00
|
|
|
# mtp device
|
2011-10-29 19:37:30 +02:00
|
|
|
optional_source(HAVE_LIBMTP
|
|
|
|
INCLUDE_DIRECTORIES ${LIBMTP_INCLUDE_DIRS}
|
|
|
|
SOURCES
|
|
|
|
devices/mtpconnection.cpp
|
|
|
|
devices/mtpdevice.cpp
|
|
|
|
devices/mtploader.cpp
|
|
|
|
HEADERS
|
|
|
|
devices/mtpdevice.h
|
|
|
|
devices/mtploader.h
|
|
|
|
)
|
2010-08-14 17:57:05 +02:00
|
|
|
|
2012-05-27 22:15:58 +02:00
|
|
|
# Moodbar support
|
|
|
|
optional_source(HAVE_MOODBAR
|
|
|
|
SOURCES
|
2014-09-21 11:35:21 +02:00
|
|
|
moodbar/moodbarbuilder.cpp
|
2012-05-27 22:15:58 +02:00
|
|
|
moodbar/moodbarcontroller.cpp
|
|
|
|
moodbar/moodbaritemdelegate.cpp
|
|
|
|
moodbar/moodbarloader.cpp
|
|
|
|
moodbar/moodbarpipeline.cpp
|
|
|
|
moodbar/moodbarproxystyle.cpp
|
|
|
|
moodbar/moodbarrenderer.cpp
|
|
|
|
HEADERS
|
|
|
|
moodbar/moodbarcontroller.h
|
|
|
|
moodbar/moodbaritemdelegate.h
|
|
|
|
moodbar/moodbarloader.h
|
|
|
|
moodbar/moodbarpipeline.h
|
|
|
|
moodbar/moodbarproxystyle.h
|
|
|
|
)
|
|
|
|
|
2012-07-26 22:23:08 +02:00
|
|
|
# Google Drive support
|
|
|
|
optional_source(HAVE_GOOGLE_DRIVE
|
|
|
|
SOURCES
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/googledrive/googledriveclient.cpp
|
|
|
|
internet/googledrive/googledriveservice.cpp
|
|
|
|
internet/googledrive/googledrivesettingspage.cpp
|
|
|
|
internet/googledrive/googledriveurlhandler.cpp
|
2012-07-26 22:23:08 +02:00
|
|
|
HEADERS
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/googledrive/googledriveclient.h
|
|
|
|
internet/googledrive/googledriveservice.h
|
|
|
|
internet/googledrive/googledrivesettingspage.h
|
|
|
|
internet/googledrive/googledriveurlhandler.h
|
2012-07-29 16:06:23 +02:00
|
|
|
UI
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/googledrive/googledrivesettingspage.ui
|
2012-07-26 22:23:08 +02:00
|
|
|
)
|
|
|
|
|
2012-11-29 17:03:52 +01:00
|
|
|
# Dropbox support
|
|
|
|
optional_source(HAVE_DROPBOX
|
|
|
|
SOURCES
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/dropbox/dropboxservice.cpp
|
|
|
|
internet/dropbox/dropboxsettingspage.cpp
|
|
|
|
internet/dropbox/dropboxurlhandler.cpp
|
2012-11-29 17:03:52 +01:00
|
|
|
HEADERS
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/dropbox/dropboxservice.h
|
|
|
|
internet/dropbox/dropboxsettingspage.h
|
|
|
|
internet/dropbox/dropboxurlhandler.h
|
2012-11-29 18:19:41 +01:00
|
|
|
UI
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/dropbox/dropboxsettingspage.ui
|
2012-11-29 17:03:52 +01:00
|
|
|
)
|
|
|
|
|
2012-12-12 18:34:15 +01:00
|
|
|
# Skydrive support
|
|
|
|
optional_source(HAVE_SKYDRIVE
|
|
|
|
SOURCES
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/skydrive/skydriveservice.cpp
|
|
|
|
internet/skydrive/skydrivesettingspage.cpp
|
|
|
|
internet/skydrive/skydriveurlhandler.cpp
|
2012-12-12 18:34:15 +01:00
|
|
|
HEADERS
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/skydrive/skydriveservice.h
|
|
|
|
internet/skydrive/skydrivesettingspage.h
|
|
|
|
internet/skydrive/skydriveurlhandler.h
|
2014-03-30 07:35:27 +02:00
|
|
|
UI
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/skydrive/skydrivesettingspage.ui
|
2012-12-12 18:34:15 +01:00
|
|
|
)
|
|
|
|
|
2013-02-12 13:54:19 +01:00
|
|
|
# Box support
|
|
|
|
optional_source(HAVE_BOX
|
|
|
|
SOURCES
|
2014-12-18 00:39:20 +01:00
|
|
|
internet/box/boxservice.cpp
|
|
|
|
internet/box/boxsettingspage.cpp
|
|
|
|
internet/box/boxurlhandler.cpp
|
2013-02-12 13:54:19 +01:00
|
|
|
HEADERS
|
2014-12-18 00:39:20 +01:00
|
|
|
internet/box/boxservice.h
|
|
|
|
internet/box/boxsettingspage.h
|
|
|
|
internet/box/boxurlhandler.h
|
2013-02-12 13:54:19 +01:00
|
|
|
UI
|
2014-12-18 00:39:20 +01:00
|
|
|
internet/box/boxsettingspage.ui
|
2013-02-12 13:54:19 +01:00
|
|
|
)
|
|
|
|
|
2014-06-03 14:33:07 +02:00
|
|
|
# Seafile support
|
|
|
|
optional_source(HAVE_SEAFILE
|
|
|
|
SOURCES
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/seafile/seafileservice.cpp
|
|
|
|
internet/seafile/seafilesettingspage.cpp
|
|
|
|
internet/seafile/seafileurlhandler.cpp
|
|
|
|
internet/seafile/seafiletree.cpp
|
2014-06-03 14:33:07 +02:00
|
|
|
HEADERS
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/seafile/seafileservice.h
|
|
|
|
internet/seafile/seafilesettingspage.h
|
|
|
|
internet/seafile/seafileurlhandler.h
|
|
|
|
internet/seafile/seafiletree.h
|
2014-06-03 14:33:07 +02:00
|
|
|
UI
|
2014-12-18 23:35:21 +01:00
|
|
|
internet/seafile/seafilesettingspage.ui
|
2014-06-03 14:33:07 +02:00
|
|
|
)
|
|
|
|
|
2014-03-29 09:17:34 +01:00
|
|
|
# Pulse audio integration
|
|
|
|
optional_source(HAVE_LIBPULSE
|
|
|
|
INCLUDE_DIRECTORIES
|
|
|
|
${LIBPULSE_INCLUDE_DIRS}
|
|
|
|
SOURCES
|
|
|
|
engines/pulsedevicefinder.cpp
|
2014-03-07 18:58:50 +01:00
|
|
|
)
|
|
|
|
|
2018-06-13 10:56:42 +02:00
|
|
|
# ALSA integration
|
|
|
|
optional_source(HAVE_ALSA
|
|
|
|
SOURCES
|
|
|
|
engines/alsadevicefinder.cpp
|
|
|
|
)
|
|
|
|
|
2011-10-29 19:37:30 +02:00
|
|
|
# Hack to add Clementine to the Unity system tray whitelist
|
|
|
|
optional_source(LINUX
|
|
|
|
SOURCES core/ubuntuunityhack.cpp
|
|
|
|
HEADERS core/ubuntuunityhack.h
|
2010-06-26 14:57:00 +02:00
|
|
|
)
|
|
|
|
|
2010-06-09 00:39:31 +02:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
|
|
|
|
2011-01-24 21:45:15 +01:00
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/version.h.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/version.h)
|
|
|
|
|
2015-04-11 22:51:40 +02:00
|
|
|
qt5_wrap_cpp(MOC ${HEADERS})
|
|
|
|
qt5_wrap_ui(UIC ${UI})
|
|
|
|
qt5_add_resources(QRC ${RESOURCES})
|
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if(HAVE_TRANSLATIONS)
|
|
|
|
add_pot(POT
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/translations/header
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/translations/translations.pot
|
|
|
|
${SOURCES} ${MOC} ${UIC} ${OTHER_SOURCES}
|
|
|
|
../data/oauthsuccess.html
|
|
|
|
)
|
|
|
|
add_po(PO clementine_
|
|
|
|
LANGUAGES ${LANGUAGES}
|
|
|
|
DIRECTORY translations
|
|
|
|
)
|
|
|
|
endif(HAVE_TRANSLATIONS)
|
2010-04-06 21:18:14 +02:00
|
|
|
|
2010-06-22 18:07:29 +02:00
|
|
|
add_library(clementine_lib STATIC
|
2010-06-09 00:39:31 +02:00
|
|
|
${SOURCES}
|
|
|
|
${MOC}
|
|
|
|
${UIC}
|
|
|
|
${QRC}
|
2011-10-29 19:37:30 +02:00
|
|
|
${POT}
|
2010-06-09 00:39:31 +02:00
|
|
|
${PO}
|
2011-11-03 18:19:37 +01:00
|
|
|
${OTHER_UIC_SOURCES}
|
2010-02-28 18:28:56 +01:00
|
|
|
)
|
2010-05-10 23:50:31 +02:00
|
|
|
|
2010-03-01 02:47:50 +01:00
|
|
|
target_link_libraries(clementine_lib
|
2012-01-06 00:22:51 +01:00
|
|
|
libclementine-common
|
|
|
|
libclementine-tagreader
|
2013-01-03 21:40:47 +01:00
|
|
|
libclementine-remote
|
2018-12-05 18:16:34 +01:00
|
|
|
|
2012-01-06 22:27:02 +01:00
|
|
|
${TAGLIB_LIBRARIES}
|
2015-04-11 22:51:40 +02:00
|
|
|
${MYGPOQT5_LIBRARIES}
|
2012-01-07 16:25:39 +01:00
|
|
|
${CHROMAPRINT_LIBRARIES}
|
2010-05-10 23:50:31 +02:00
|
|
|
${GOBJECT_LIBRARIES}
|
|
|
|
${GLIB_LIBRARIES}
|
2015-04-27 12:19:58 +02:00
|
|
|
${GIO_LIBRARIES}
|
2019-01-02 16:02:34 +01:00
|
|
|
${QT_LIBRARIES}
|
2010-12-26 14:01:35 +01:00
|
|
|
${GSTREAMER_BASE_LIBRARIES}
|
|
|
|
${GSTREAMER_LIBRARIES}
|
2011-05-19 18:34:33 +02:00
|
|
|
${GSTREAMER_APP_LIBRARIES}
|
2011-06-16 15:49:10 +02:00
|
|
|
${GSTREAMER_TAG_LIBRARIES}
|
2016-12-21 17:57:04 +01:00
|
|
|
${GSTREAMER_PBUTILS_LIBRARIES}
|
2015-04-16 15:06:00 +02:00
|
|
|
${QTSINGLEAPPLICATION_LIBRARIES}
|
2018-10-22 17:44:59 +02:00
|
|
|
${QTSINGLECOREAPPLICATION_LIBRARIES}
|
2010-07-11 14:02:30 +02:00
|
|
|
${QTIOCOMPRESSOR_LIBRARIES}
|
2010-11-03 22:11:43 +01:00
|
|
|
${CMAKE_THREAD_LIBS_INIT}
|
2013-11-22 17:05:55 +01:00
|
|
|
${SQLITE_LIBRARIES}
|
2018-12-05 18:16:34 +01:00
|
|
|
|
2012-06-27 17:08:51 +02:00
|
|
|
Qocoa
|
2018-12-05 18:16:34 +01:00
|
|
|
z
|
2010-02-28 18:28:56 +01:00
|
|
|
)
|
2010-05-10 23:50:31 +02:00
|
|
|
|
2019-10-16 20:42:21 +02:00
|
|
|
link_directories(
|
|
|
|
${CHROMAPRINT_LIBRARY_DIRS}
|
|
|
|
${GSTREAMER_APP_LIBRARY_DIRS}
|
|
|
|
${GLEW_LIBRARY_DIRS}
|
|
|
|
)
|
|
|
|
|
2018-11-29 22:32:12 +01:00
|
|
|
if(HAVE_VISUALISATIONS)
|
2010-07-10 22:21:06 +02:00
|
|
|
target_link_libraries(clementine_lib ${LIBPROJECTM_LIBRARIES})
|
2018-11-29 22:32:12 +01:00
|
|
|
endif(HAVE_VISUALISATIONS)
|
2010-06-11 00:48:23 +02:00
|
|
|
|
2010-12-18 18:28:02 +01:00
|
|
|
if(HAVE_LIBLASTFM)
|
2015-04-15 18:26:09 +02:00
|
|
|
target_link_libraries(clementine_lib ${LASTFM5_LIBRARIES})
|
2010-12-18 18:28:02 +01:00
|
|
|
endif(HAVE_LIBLASTFM)
|
|
|
|
|
2010-07-04 22:52:45 +02:00
|
|
|
if(HAVE_LIBGPOD)
|
|
|
|
target_link_libraries(clementine_lib ${LIBGPOD_LIBRARIES})
|
|
|
|
endif(HAVE_LIBGPOD)
|
|
|
|
|
2010-07-17 23:29:41 +02:00
|
|
|
if(HAVE_GIO)
|
|
|
|
target_link_libraries(clementine_lib ${GIO_LIBRARIES})
|
|
|
|
endif(HAVE_GIO)
|
|
|
|
|
2011-08-10 17:23:32 +02:00
|
|
|
if(HAVE_AUDIOCD)
|
|
|
|
target_link_libraries(clementine_lib ${CDIO_LIBRARIES})
|
|
|
|
endif(HAVE_AUDIOCD)
|
|
|
|
|
2012-05-27 18:28:07 +02:00
|
|
|
if(HAVE_MOODBAR)
|
|
|
|
target_link_libraries(clementine_lib gstmoodbar)
|
|
|
|
endif()
|
|
|
|
|
2010-09-22 15:05:51 +02:00
|
|
|
if(HAVE_LIBMTP)
|
2010-08-14 17:57:05 +02:00
|
|
|
target_link_libraries(clementine_lib ${LIBMTP_LIBRARIES})
|
2010-09-22 15:05:51 +02:00
|
|
|
endif(HAVE_LIBMTP)
|
2010-07-30 23:10:34 +02:00
|
|
|
|
2011-03-23 22:53:24 +01:00
|
|
|
if(HAVE_BREAKPAD)
|
2011-03-25 12:38:03 +01:00
|
|
|
if (LINUX)
|
|
|
|
target_link_libraries(clementine_lib breakpad)
|
|
|
|
elseif (APPLE)
|
|
|
|
add_dependencies(clementine_lib breakpad)
|
|
|
|
target_link_libraries(clementine_lib
|
|
|
|
"-F${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/google-breakpad/client/mac/build/Release"
|
|
|
|
"-framework Breakpad")
|
|
|
|
endif (LINUX)
|
2011-03-23 22:53:24 +01:00
|
|
|
endif(HAVE_BREAKPAD)
|
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if(HAVE_SPOTIFY)
|
|
|
|
target_link_libraries(clementine_lib clementine-spotifyblob-messages)
|
|
|
|
endif(HAVE_SPOTIFY)
|
|
|
|
|
2013-09-17 17:09:56 +02:00
|
|
|
if(HAVE_SPOTIFY_DOWNLOADER)
|
|
|
|
target_link_libraries(clementine_lib
|
2015-04-28 13:25:42 +02:00
|
|
|
${CRYPTOPP_LIBRARIES}
|
2013-09-17 17:09:56 +02:00
|
|
|
)
|
2015-04-28 13:25:42 +02:00
|
|
|
link_directories(${CRYPTOPP_LIBRARY_DIRS})
|
2013-09-17 17:09:56 +02:00
|
|
|
endif(HAVE_SPOTIFY_DOWNLOADER)
|
|
|
|
|
2014-03-29 09:17:34 +01:00
|
|
|
if(HAVE_LIBPULSE)
|
|
|
|
target_link_libraries(clementine_lib ${LIBPULSE_LIBRARIES})
|
|
|
|
endif()
|
|
|
|
|
2018-06-13 10:56:42 +02:00
|
|
|
if(HAVE_ALSA)
|
|
|
|
target_link_libraries(clementine_lib ${ALSA_LIBRARIES})
|
|
|
|
endif(HAVE_ALSA)
|
|
|
|
|
2010-02-28 21:55:10 +01:00
|
|
|
if (APPLE)
|
2010-03-01 02:47:50 +01:00
|
|
|
target_link_libraries(clementine_lib
|
2016-12-15 19:45:51 +01:00
|
|
|
"-framework AppKit"
|
|
|
|
"-framework Carbon"
|
|
|
|
"-framework CoreAudio"
|
|
|
|
"-framework DiskArbitration"
|
|
|
|
"-framework Foundation"
|
|
|
|
"-framework IOKit"
|
|
|
|
"-framework ScriptingBridge"
|
2010-02-28 21:55:10 +01:00
|
|
|
)
|
2011-05-30 12:09:34 +02:00
|
|
|
target_link_libraries(clementine_lib ${SPMEDIAKEYTAP_LIBRARIES})
|
2010-12-14 19:20:14 +01:00
|
|
|
if (HAVE_SPARKLE)
|
|
|
|
include_directories(${SPARKLE}/Headers)
|
2010-12-22 16:41:30 +01:00
|
|
|
target_link_libraries(clementine_lib ${SPARKLE})
|
2010-12-14 19:20:14 +01:00
|
|
|
endif (HAVE_SPARKLE)
|
2010-04-13 21:43:08 +02:00
|
|
|
else (APPLE)
|
2010-07-24 14:35:21 +02:00
|
|
|
target_link_libraries(clementine_lib ${QXT_LIBRARIES})
|
2010-02-28 21:55:10 +01:00
|
|
|
endif (APPLE)
|
2010-03-01 02:47:50 +01:00
|
|
|
|
2013-11-22 17:05:55 +01:00
|
|
|
set(3RDPARTY_SQLITE_LIBRARY qsqlite)
|
|
|
|
target_link_libraries(clementine_lib qsqlite)
|
2010-03-22 19:35:31 +01:00
|
|
|
|
2010-08-14 20:56:05 +02:00
|
|
|
if (WIN32)
|
2010-08-15 20:08:09 +02:00
|
|
|
target_link_libraries(clementine_lib
|
2018-11-17 15:08:37 +01:00
|
|
|
protobuf
|
2010-08-15 20:08:09 +02:00
|
|
|
${ZLIB_LIBRARIES}
|
2013-01-17 14:11:15 +01:00
|
|
|
tinysvcmdns
|
2014-03-29 13:47:48 +01:00
|
|
|
dsound
|
2010-08-15 20:08:09 +02:00
|
|
|
)
|
2010-08-14 20:56:05 +02:00
|
|
|
endif (WIN32)
|
|
|
|
|
2012-10-31 15:55:18 +01:00
|
|
|
if (UNIX AND NOT APPLE)
|
2010-11-22 23:57:44 +01:00
|
|
|
# Hack: the Gold linker pays attention to the order that libraries are
|
|
|
|
# specified on the link line. -lX11 and -ldl are provided earlier in the link
|
|
|
|
# command but they're actually used by libraries that appear after them, so
|
|
|
|
# they end up getting ignored. This appends them to the very end of the link
|
|
|
|
# line, ensuring they're always used.
|
2018-11-17 15:08:37 +01:00
|
|
|
if (FREEBSD)
|
2012-10-31 15:55:18 +01:00
|
|
|
target_link_libraries(clementine_lib ${X11_X11_LIB})
|
|
|
|
else ()
|
|
|
|
target_link_libraries(clementine_lib ${X11_X11_LIB} ${CMAKE_DL_LIBS})
|
|
|
|
endif ()
|
|
|
|
endif ()
|
2010-11-22 23:57:44 +01:00
|
|
|
|
2015-04-16 15:06:00 +02:00
|
|
|
add_dependencies(clementine_lib qtsingleapplication)
|
2010-05-10 23:50:31 +02:00
|
|
|
|
|
|
|
|
|
|
|
###############################################################################
|
|
|
|
|
|
|
|
set(EXECUTABLE_OUTPUT_PATH ..)
|
|
|
|
|
2010-05-05 18:56:55 +02:00
|
|
|
# Show the console window in debug mode on Windows
|
2011-04-24 19:02:26 +02:00
|
|
|
if (NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT ENABLE_WIN32_CONSOLE)
|
2010-05-05 18:56:55 +02:00
|
|
|
set(CLEMENTINE-WIN32-FLAG WIN32)
|
2011-04-24 19:02:26 +02:00
|
|
|
endif (NOT CMAKE_BUILD_TYPE STREQUAL "Debug" AND NOT ENABLE_WIN32_CONSOLE)
|
2010-05-05 18:56:55 +02:00
|
|
|
|
2010-05-10 23:50:31 +02:00
|
|
|
# resource file for windows
|
|
|
|
if(WIN32)
|
|
|
|
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/../dist/windows/windres.rc.in
|
|
|
|
${CMAKE_CURRENT_BINARY_DIR}/windres.rc)
|
|
|
|
set(CLEMENTINE-WIN32-RESOURCES windres.rc)
|
|
|
|
endif(WIN32)
|
|
|
|
|
2010-03-01 02:47:50 +01:00
|
|
|
add_executable(clementine
|
2010-05-05 18:56:35 +02:00
|
|
|
MACOSX_BUNDLE
|
2010-05-05 18:56:55 +02:00
|
|
|
${CLEMENTINE-WIN32-FLAG}
|
2010-05-05 18:56:35 +02:00
|
|
|
${CLEMENTINE-WIN32-RESOURCES}
|
|
|
|
main.cpp
|
2010-03-01 02:47:50 +01:00
|
|
|
)
|
2012-10-31 15:55:18 +01:00
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if (FREEBSD)
|
2012-10-31 15:55:18 +01:00
|
|
|
target_link_libraries(clementine execinfo)
|
2018-11-17 15:08:37 +01:00
|
|
|
endif (FREEBSD)
|
2012-10-31 15:55:18 +01:00
|
|
|
|
2010-05-10 23:50:31 +02:00
|
|
|
target_link_libraries(clementine
|
|
|
|
clementine_lib
|
|
|
|
)
|
2010-02-28 18:28:56 +01:00
|
|
|
|
2011-05-17 13:53:17 +02:00
|
|
|
# macdeploy.py relies on the blob being built first.
|
|
|
|
if(HAVE_SPOTIFY_BLOB)
|
|
|
|
add_dependencies(clementine clementine-spotifyblob)
|
|
|
|
endif(HAVE_SPOTIFY_BLOB)
|
2012-01-09 12:24:34 +01:00
|
|
|
add_dependencies(clementine clementine-tagreader)
|
2011-05-17 13:53:17 +02:00
|
|
|
|
2010-02-28 21:55:10 +01:00
|
|
|
set_target_properties(clementine PROPERTIES
|
2010-05-10 23:50:31 +02:00
|
|
|
MACOSX_BUNDLE_INFO_PLIST "../dist/Info.plist"
|
2010-02-28 21:55:10 +01:00
|
|
|
)
|
2010-05-10 23:50:31 +02:00
|
|
|
|
2010-04-15 21:09:39 +02:00
|
|
|
if (APPLE)
|
2010-06-07 21:01:35 +02:00
|
|
|
install(FILES ../dist/clementine.icns
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/clementine.app/Contents/Resources")
|
|
|
|
install(FILES ../dist/qt.conf
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/clementine.app/Contents/Resources")
|
|
|
|
install(FILES ../dist/sparkle_pub.pem
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/clementine.app/Contents/Resources")
|
2014-10-01 15:06:22 +02:00
|
|
|
install(FILES ../dist/cacert.pem
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/clementine.app/Contents/Resources")
|
2010-06-07 21:01:35 +02:00
|
|
|
|
2011-03-25 12:38:03 +01:00
|
|
|
if (HAVE_BREAKPAD)
|
|
|
|
install(DIRECTORY
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/google-breakpad/client/mac/build/Release/Breakpad.framework
|
|
|
|
DESTINATION "${CMAKE_BINARY_DIR}/clementine.app/Contents/Frameworks"
|
|
|
|
PATTERN "*.h" EXCLUDE
|
|
|
|
PATTERN "Inspector" PERMISSIONS OWNER_EXECUTE OWNER_READ
|
|
|
|
GROUP_EXECUTE GROUP_READ
|
|
|
|
WORLD_READ WORLD_EXECUTE
|
|
|
|
PATTERN "crash_report_sender" PERMISSIONS OWNER_EXECUTE OWNER_READ
|
|
|
|
GROUP_EXECUTE GROUP_READ
|
|
|
|
WORLD_READ WORLD_EXECUTE)
|
|
|
|
endif (HAVE_BREAKPAD)
|
|
|
|
|
2018-11-17 15:08:37 +01:00
|
|
|
if (USE_BUNDLE)
|
|
|
|
add_custom_command(TARGET clementine
|
|
|
|
POST_BUILD
|
|
|
|
COMMAND
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../dist/macdeploy.py ${PROJECT_BINARY_DIR}/clementine.app -f
|
|
|
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
|
|
|
)
|
|
|
|
endif(USE_BUNDLE)
|
2011-01-18 15:02:51 +01:00
|
|
|
|
2011-03-25 12:38:03 +01:00
|
|
|
add_custom_command(OUTPUT ${PROJECT_BINARY_DIR}/clementine.breakpad
|
|
|
|
COMMAND
|
|
|
|
${CMAKE_CURRENT_SOURCE_DIR}/../3rdparty/google-breakpad/tools/mac/dump_syms/build/Release/dump_syms
|
|
|
|
-a i386 ${PROJECT_BINARY_DIR}/clementine.app/Contents/MacOS/clementine
|
|
|
|
> ${PROJECT_BINARY_DIR}/clementine.breakpad
|
|
|
|
DEPENDS clementine)
|
|
|
|
add_custom_target(clementine-breakpad
|
|
|
|
DEPENDS ${PROJECT_BINARY_DIR}/clementine.breakpad)
|
|
|
|
|
2012-09-10 11:02:54 +02:00
|
|
|
if (APPLE_DEVELOPER_ID)
|
2013-07-10 20:19:28 +02:00
|
|
|
add_custom_target(
|
|
|
|
sign
|
2012-09-10 11:02:54 +02:00
|
|
|
COMMAND
|
2013-12-17 16:15:40 +01:00
|
|
|
${PROJECT_SOURCE_DIR}/dist/codesign.py ${APPLE_DEVELOPER_ID} ${PROJECT_BINARY_DIR}/clementine.app
|
2013-12-12 16:24:02 +01:00
|
|
|
DEPENDS clementine
|
2013-07-10 18:59:39 +02:00
|
|
|
VERBATIM
|
2012-09-10 11:02:54 +02:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2011-03-25 12:38:03 +01:00
|
|
|
|
2011-01-14 15:16:56 +01:00
|
|
|
add_custom_command(
|
2011-12-02 15:47:25 +01:00
|
|
|
OUTPUT ${PROJECT_BINARY_DIR}/clementine-${CLEMENTINE_VERSION_SPARKLE}.dmg
|
2015-12-13 06:23:35 +01:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E remove -f ${PROJECT_BINARY_DIR}/clementine-${CLEMENTINE_VERSION_SPARKLE}.dmg
|
2011-12-02 17:58:16 +01:00
|
|
|
COMMAND ${CMAKE_CURRENT_SOURCE_DIR}/../dist/create-dmg.sh ${PROJECT_BINARY_DIR}/clementine.app
|
2011-01-13 13:34:14 +01:00
|
|
|
COMMAND ${CMAKE_COMMAND} -E rename
|
|
|
|
${PROJECT_BINARY_DIR}/clementine.dmg
|
2011-12-02 15:47:25 +01:00
|
|
|
${PROJECT_BINARY_DIR}/clementine-${CLEMENTINE_VERSION_SPARKLE}.dmg
|
2010-05-10 23:50:31 +02:00
|
|
|
DEPENDS clementine
|
2010-06-07 22:39:06 +02:00
|
|
|
WORKING_DIRECTORY ${PROJECT_BINARY_DIR}
|
2010-05-10 23:50:31 +02:00
|
|
|
)
|
2011-01-14 15:16:56 +01:00
|
|
|
add_custom_target(dmg
|
2011-12-02 15:47:25 +01:00
|
|
|
DEPENDS ${PROJECT_BINARY_DIR}/clementine-${CLEMENTINE_VERSION_SPARKLE}.dmg)
|
2010-06-07 21:01:35 +02:00
|
|
|
else (APPLE)
|
|
|
|
install(TARGETS clementine
|
|
|
|
RUNTIME DESTINATION bin
|
|
|
|
)
|
|
|
|
endif (APPLE)
|