[multimedia/subtitlecomposer] src: Install kcfg file
Nicolas Fella <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit d9be6c4a99c0d4c058a1b5fb016aede653b08fe0 by Nicolas Fella.
Committed on 24/07/2026 at 09:16.
Pushed by milinkovic into branch 'master'.
Install kcfg file
So that it can be picked up by tooling
M +1 -0 src/CMakeLists.txt
M +2 -0 src/speechplugins/pocketsphinx/CMakeLists.txt
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/d9be6c4a99c0d4c058a1b5fb016aede653b08fe0
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 33252cc9..d8bbb225 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -168,6 +168,7 @@ install(FILES subtitlecomposerrc DESTINATION ${KDE_INSTALL_CONFDIR})
install(FILES org.kde.subtitlecomposer.desktop DESTINATION ${KDE_INSTALL_APPDIR})
install(FILES org.kde.subtitlecomposer.appdata.xml DESTINATION ${KDE_INSTALL_METAINFODIR})
install(FILES subtitlecomposer.xml DESTINATION ${KDE_INSTALL_MIMEDIR})
+install(FILES scconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} RENAME subtitlecomposer.kcfg)
# build plugins
add_subdirectory(speechplugins/pocketsphinx)
diff --git a/src/speechplugins/pocketsphinx/CMakeLists.txt b/src/speechplugins/pocketsphinx/CMakeLists.txt
index 048d9473..386f0c63 100644
--- a/src/speechplugins/pocketsphinx/CMakeLists.txt
+++ b/src/speechplugins/pocketsphinx/CMakeLists.txt
@@ -47,3 +47,5 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/plugin-config.h.cmake ${CMAKE_CURRENT
if(PocketSphinx_NEW_ps_seg_iter)
target_compile_definitions(pocketsphinxasr PRIVATE HAS_NEW_PS_SEG_ITER=1)
endif()
+
+install(FILES pocketsphinxconfig.kcfg DESTINATION ${KDE_INSTALL_KCFGDIR} RENAME subtitlecomposer-pocketsphinx.kcfg)