feat: add Kirigami app skeleton with libmpv playback
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
1eb67b829c
8 files changed
+540
No files matched your search
@@ -0,0 +1,32 @@
|
||||
add_executable(qtpotato
|
||||
main.cpp
|
||||
mpv/mpvitem.cpp
|
||||
mpv/mpvitem.h
|
||||
)
|
||||
|
||||
ecm_add_qml_module(qtpotato
|
||||
URI dev.trivk.qtpotato
|
||||
)
|
||||
|
||||
ecm_target_qml_sources(qtpotato SOURCES
|
||||
qml/Main.qml
|
||||
qml/PlayerPage.qml
|
||||
)
|
||||
|
||||
target_include_directories(qtpotato PRIVATE mpv)
|
||||
target_compile_definitions(qtpotato PRIVATE QTPOTATO_VERSION_STRING="${PROJECT_VERSION}")
|
||||
|
||||
target_link_libraries(qtpotato PRIVATE
|
||||
Qt6::Gui
|
||||
Qt6::Qml
|
||||
Qt6::Quick
|
||||
Qt6::QuickControls2
|
||||
Qt6::Widgets
|
||||
KF6::I18n
|
||||
KF6::I18nQml
|
||||
KF6::CoreAddons
|
||||
KF6::Crash
|
||||
MpvQt::MpvQt
|
||||
)
|
||||
|
||||
install(TARGETS qtpotato ${KDE_INSTALL_TARGETS_DEFAULT_ARGS})
|
||||
Reference in new issue
Block a user