mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-09-09 05:30:52 +02:00
Merge pull request #266 from tomahawk-player/libvlc
Replace Phonon with libvlc directly
This commit is contained in:
@@ -346,6 +346,9 @@ endif()
|
||||
macro_log_feature(LIBSNORE_FOUND "Libsnore" "Library for notifications" "https://github.com/TheOneRing/Snorenotify" FALSE "" "")
|
||||
endif()
|
||||
|
||||
find_package(LIBVLC REQUIRED 2.1.0)
|
||||
macro_log_feature(LIBVLC_FOUND "LibVLC" "Provides audio output" TRUE "" "")
|
||||
|
||||
set(QXTWEB_FOUND TRUE)
|
||||
set(QXTWEB_LIBRARIES qxtweb-standalone)
|
||||
set(QXTWEB_INCLUDE_DIRS ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/web ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/network ${THIRDPARTY_DIR}/qxt/qxtweb-standalone/core ${CMAKE_CURRENT_BINARY_DIR})
|
||||
@@ -377,16 +380,7 @@ if (WITH_KDE4)
|
||||
endif(WITH_KDE4)
|
||||
macro_log_feature(KDE4_FOUND "KDE4" "Provides support for configuring Telepathy Accounts from inside Tomahawk" "https://www.kde.org" FALSE "" "")
|
||||
|
||||
if(NOT Phonon_FOUND)
|
||||
macro_optional_find_package(Phonon 4.5.0)
|
||||
endif()
|
||||
macro_log_feature(Phonon_FOUND "Phonon" "The Phonon multimedia library" "http://phonon.kde.org" TRUE "" "")
|
||||
|
||||
if(Phonon_FOUND)
|
||||
message(STATUS "Phonon found; ensure that phonon-vlc is at least 0.4")
|
||||
endif()
|
||||
|
||||
IF( KDE4_FOUND OR Phonon_FOUND )
|
||||
IF( KDE4_FOUND )
|
||||
IF( CMAKE_C_FLAGS )
|
||||
# KDE4 adds and removes some compiler flags that we don't like
|
||||
# (only for gcc not for clang e.g.)
|
||||
|
Reference in New Issue
Block a user