mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 22:33:08 +00:00
Try to reduce the amount of preloaded objects that aren't needed until the quick setting is toggled. Also port the the kpipewire interaction parts to C++.
26 lines
706 B
CMake
26 lines
706 B
CMake
# SPDX-FileCopyrightText: 2022 Devin Lin <devin@kde.org>
|
|
# SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
ecm_add_qml_module(recordplugin URI "org.kde.plasma.quicksetting.record" GENERATE_PLUGIN_SOURCE)
|
|
|
|
target_sources(recordplugin PRIVATE recordutil.cpp)
|
|
|
|
target_link_libraries(recordplugin PRIVATE
|
|
Qt::Core
|
|
Qt::DBus
|
|
Qt::Qml
|
|
Qt::Quick
|
|
KF6::CoreAddons
|
|
KF6::ConfigCore
|
|
KF6::ConfigGui
|
|
KF6::I18n
|
|
KF6::Notifications
|
|
K::KPipeWire
|
|
K::KPipeWireRecord
|
|
)
|
|
|
|
ecm_finalize_qml_module(recordplugin)
|
|
|
|
install(FILES plasma_mobile_quicksetting_record.notifyrc DESTINATION ${KDE_INSTALL_KNOTIFYRCDIR})
|
|
|
|
plasma_install_package(package org.kde.plasma.quicksetting.record quicksettings)
|