feat: load the user's mpv.conf
This commit is contained in:
1 parent
fe2f159660
commit
6b5742b2ca
11 files changed
+298
-6
No files matched your search
+8
-5
@@ -1,12 +1,15 @@
|
||||
# Subtitle parsing and extraction, kept apart from the app so autotests can link it.
|
||||
add_library(qtpotato_subtitles STATIC
|
||||
# Code without UI (subtitles, mpv.conf handling), kept apart from the app so autotests
|
||||
# can link it.
|
||||
add_library(qtpotato_core STATIC
|
||||
mpv/mpvuserconfig.cpp
|
||||
mpv/mpvuserconfig.h
|
||||
subtitles/subtitleparser.cpp
|
||||
subtitles/subtitleparser.h
|
||||
subtitles/subtitleextractor.cpp
|
||||
subtitles/subtitleextractor.h
|
||||
)
|
||||
target_include_directories(qtpotato_subtitles PUBLIC subtitles)
|
||||
target_link_libraries(qtpotato_subtitles PUBLIC
|
||||
target_include_directories(qtpotato_core PUBLIC mpv subtitles)
|
||||
target_link_libraries(qtpotato_core PUBLIC
|
||||
Qt6::Core
|
||||
KF6::I18n
|
||||
PRIVATE
|
||||
@@ -52,7 +55,7 @@ target_include_directories(qtpotato PRIVATE mpv translate)
|
||||
target_compile_definitions(qtpotato PRIVATE QTPOTATO_VERSION_STRING="${PROJECT_VERSION}")
|
||||
|
||||
target_link_libraries(qtpotato PRIVATE
|
||||
qtpotato_subtitles
|
||||
qtpotato_core
|
||||
Qt6::Gui
|
||||
Qt6::Qml
|
||||
Qt6::Quick
|
||||
|
||||
Reference in new issue
Block a user