mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
This adds a new component that manages Plasma Mobile specific configuration on every session startup. It also restores configuration when logged into a desktop session. This allows us to remove https://invent.kde.org/plasma-mobile/plasma-phone-settings, as well as configuration that was set in the look and feel. This also gives us an easy way to control configuration upgrade paths, and in the future, add ways for the configuration to easily be reset for debugging purposes.
22 lines
735 B
CMake
22 lines
735 B
CMake
# SPDX-FileCopyrightText: 2021 Tobias Fella <fella@posteo.de>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
add_library(ppc-mmqmlplugin)
|
|
target_sources(ppc-mmqmlplugin PRIVATE
|
|
mmqmlplugin.cpp
|
|
signalindicator.cpp
|
|
)
|
|
|
|
target_link_libraries(ppc-mmqmlplugin
|
|
Qt::Qml
|
|
KF5::ModemManagerQt
|
|
KF5::NetworkManagerQt
|
|
KF5::CoreAddons
|
|
KF5::I18n
|
|
)
|
|
|
|
set_property(TARGET ppc-mmqmlplugin PROPERTY LIBRARY_OUTPUT_DIRECTORY ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/mm)
|
|
file(COPY qmldir DESTINATION ${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/org/kde/plasma/mm)
|
|
|
|
install(TARGETS ppc-mmqmlplugin DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/mm)
|
|
install(FILES qmldir ${qml_SRC} DESTINATION ${KDE_INSTALL_QMLDIR}/org/kde/plasma/mm)
|