Warning, /packaging/yocto-meta-kf6/recipes-kf6/tier2/kauth.inc is written in an unsupported language. File is not indexed.

0001 # SPDX-FileCopyrightText: 2014 Johan Thelin <johan.thelin@pelagicore.com>
0002 # SPDX-FileCopyrightText: 2017-2020 Volker Krause <vkrause@kde.org>
0003 # SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
0004 #
0005 # SPDX-License-Identifier: MIT
0006 
0007 LICENSE = "LGPL-2.0-or-later & LGPL-2.1-or-later & BSD-3-Clause"
0008 PR = "r0"
0009 
0010 DEPENDS += " \
0011     extra-cmake-modules \
0012     qtbase \
0013     qt5compat \
0014     kcoreaddons \
0015 "
0016 DEPENDS:append:class-target = " \
0017     kauth-native \
0018     polkit-qt-1 \
0019 "
0020 
0021 require kauth_metainfo.inc
0022 inherit kf6-cmake-framework
0023 inherit reuse_license_checksums
0024 
0025 EXTRA_OECMAKE:append:class-target = " \
0026     -DKAUTH_BACKEND_NAME=POLKITQT5-1 \
0027 "
0028 
0029 EXTRA_OECMAKE:append:class-native = " \
0030     -DKAUTH_BUILD_CODEGENERATOR_ONLY=ON \
0031     -DKAUTH_POLICY_FILES_INSTALL_DIR=${datadir}/polkit-1/actions \
0032 "
0033 
0034 FILES:${PN} += " \
0035     ${libdir}/plugins/kf6/kauth/helper/kauth_helper_plugin.so \
0036     ${libdir}/plugins/kauth/backend/kauth_backend_plugin.so \
0037     ${datadir}/kf6/kauth/*.stub \
0038 "
0039 
0040 FILES:${PN}-dev += " \
0041     ${libexecdir}/kauth/kauth-policy-gen \
0042 "