feat(linux): add librepods-ctl CLI tool for IPC control (#494)

* feat(linux): expanded IPC socket handler with CLI command support

* feat(linux): added librepods-ctl CLI tool for IPC control

* build(linux): added librepods-ctl as a seperate binary

* docs(linux): added CLI control usage to README
This commit is contained in:
Fabian Moor Pucar
2026-03-31 05:39:37 +02:00
committed by GitHub
parent b81e420398
commit af2622b68e
4 changed files with 82 additions and 0 deletions

View File

@@ -78,6 +78,16 @@ target_link_libraries(librepods
PRIVATE Qt6::Quick Qt6::Widgets Qt6::Bluetooth Qt6::DBus OpenSSL::SSL OpenSSL::Crypto ${PULSEAUDIO_LIBRARIES}
)
qt_add_executable(librepods-ctl
librepods-ctl.cpp
)
target_link_libraries(librepods-ctl
PRIVATE Qt6::Core Qt6::Network
)
install(TARGETS librepods-ctl
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
)
target_include_directories(librepods PRIVATE ${PULSEAUDIO_INCLUDE_DIRS})
include(GNUInstallDirs)