summaryrefslogtreecommitdiffstats
path: root/ConfigureChecks.cmake
diff options
context:
space:
mode:
authorMavridis Philippe <[email protected]>2023-05-17 15:33:02 +0300
committerMavridis Philippe <[email protected]>2024-09-08 01:41:03 +0300
commitc6007f32d633e03d32548a170590ac3d1691f8fc (patch)
tree35e2a52b01d3469b04be592bc0e6c4a1ec98d394 /ConfigureChecks.cmake
parentf0b65f432b2e602bd9a515bcc460bcd6790a4925 (diff)
downloadkaffeine-c6007f32d633e03d32548a170590ac3d1691f8fc.tar.gz
kaffeine-c6007f32d633e03d32548a170590ac3d1691f8fc.zip
Add libmpv backend
This commit adds the basic functionality including: - local/remote video playback - subtitles support - Kaffeine playlist integration What is missing: - sound controls Signed-off-by: Mavridis Philippe <[email protected]>
Diffstat (limited to 'ConfigureChecks.cmake')
-rw-r--r--ConfigureChecks.cmake10
1 files changed, 10 insertions, 0 deletions
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index b3becf2..fce49d2 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -135,6 +135,16 @@ if( WITH_GSTREAMER )
message( STATUS "gstreamer plugins version: ${GSTREAMER_PLUGIN_VERSION}" )
endif( WITH_GSTREAMER )
+##### check for libmpv
+if( WITH_LIBMPV )
+ pkg_search_module( MPV mpv )
+ if( NOT MPV_FOUND )
+ tde_message_fatal( "libmpv support has been requested but mpv headers were not found on your system." )
+ endif()
+
+ message( STATUS "libmpv version: ${MPV_VERSION}" )
+endif( WITH_LIBMPV )
+
##### check for lame