shift-shell/kded/autodetectapn/CMakeLists.txt
Marco Allegretti f00a29bd21 Brand KCM and KDED metadata as SHIFT
Point the mobile shell, navigation, and Waydroid KCM metadata at the Shift repository. Brand the KDED startup and APN autodetect module names and descriptions as SHIFT while keeping existing plasma-mobile plugin/library identifiers stable.

Add a guard for these metadata surfaces so upstream project URLs and translated Plasma Mobile overrides are not reintroduced.
2026-05-17 16:31:45 +02:00

30 lines
917 B
CMake

# SPDX-FileCopyrightText: 2023 Devin Lin <devin@kde.org>
# SPDX-License-Identifier: GPL-2.0-or-later OR LicenseRef-KDE-Accepted-GPL
set(kded_plasma_mobile_autodetect_apn_SRCS
autodetectapn.cpp
)
kcoreaddons_add_plugin(kded_plasma_mobile_autodetect_apn SOURCES ${kded_plasma_mobile_autodetect_apn_SRCS} INSTALL_NAMESPACE "kf6/kded")
install(FILES android/apns-full-conf.xml DESTINATION ${KDE_INSTALL_DATADIR}/plasma-mobile-apn-info)
target_link_libraries(kded_plasma_mobile_autodetect_apn PRIVATE
Qt::Core
Qt::Xml
KF6::DBusAddons
KF6::KIOGui
KF6::JobWidgets
KF6::Package
KF6::NetworkManagerQt
KF6::ModemManagerQt
QCoro::DBus
)
ecm_qt_declare_logging_category(kded_plasma_mobile_autodetect_apn
HEADER autodetectapn_debug.h
IDENTIFIER AUTODETECTAPN_LOG
CATEGORY_NAME org.kde.plasma.autodetectapn
DESCRIPTION "SHIFT Autodetect APNs"
EXPORT PLASMA_MOBILE
)