mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +00:00
I prefer create MR now to avoid biggest merge request. It add minimalist implementation: - First configuration of Waydroid - Stop / Start Waydroid session - Configure properties of Waydroid - Display current ip of Waydroid | Not installed | First initialization | initializing | SessionNotStarted | SessionStarting | SessionStarted | | ------ | ------ | ------ | ------ | ------ | ------ | |  |  |  |  |  |  | Linked to https://invent.kde.org/teams/plasma-mobile/issues/-/issues/307 **Note for Reviewer**: In my local environment, i need to add manually the KAuth files otherwise polkit not recognize the implementation. ``` sudo cp ~/kde/usr/share/dbus-1/system-services/org.kde.plasma.mobileshell.waydroidhelper.service /usr/share/dbus-1/system-services/ sudo cp ~/kde/usr/share/dbus-1/system.d/org.kde.plasma.mobileshell.waydroidhelper.conf /usr/share/dbus-1/system.d/ sudo cp ~/kde/usr/share/polkit-1/actions/org.kde.plasma.mobileshell.waydroidhelper.policy /usr/share/polkit-1/actions/ ```
26 lines
No EOL
859 B
CMake
26 lines
No EOL
859 B
CMake
# SPDX-FileCopyrightText: 2025 Florian RICHER <florian.richer@protonmail.com>
|
|
# SPDX-License-Identifier: BSD-2-Clause
|
|
|
|
add_executable(waydroidhelper)
|
|
target_sources(waydroidhelper PRIVATE waydroidhelper.cpp)
|
|
|
|
target_link_libraries(waydroidhelper
|
|
Qt6::Core
|
|
KF6::AuthCore
|
|
KF6::CoreAddons
|
|
)
|
|
|
|
install(TARGETS waydroidhelper DESTINATION ${KAUTH_HELPER_INSTALL_DIR})
|
|
|
|
find_package(KF6Auth NO_MODULE)
|
|
|
|
kauth_install_helper_files(waydroidhelper org.kde.plasma.mobileshell.waydroidhelper root)
|
|
kauth_install_actions(org.kde.plasma.mobileshell.waydroidhelper waydroidhelper.actions)
|
|
|
|
ecm_qt_declare_logging_category(waydroidhelper
|
|
HEADER waydroidhelper_debug.h
|
|
IDENTIFIER WAYDROIDHELPER
|
|
DEFAULT_SEVERITY Warning
|
|
CATEGORY_NAME org.kde.plasma.mobileshell.waydroidhelper
|
|
DESCRIPTION "Helper for Waydroid for some actions need root access"
|
|
) |