Warning, /packaging/yocto-meta-kf5/recipes-kf5/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.1-only & LGPL-2.0-or-later & BSD-3-Clause"
0008 PR = "r0"
0009 
0010 DEPENDS:class-native = "extra-cmake-modules qtbase-native kcoreaddons-native"
0011 DEPENDS:class-target = "qtbase kcoreaddons kauth-native polkit-qt-1"
0012 
0013 require kauth_metainfo.inc
0014 inherit cmake_kf5
0015 inherit reuse_license_checksums
0016 
0017 EXTRA_OECMAKE:class-target = " \
0018     -DKAUTH_BACKEND_NAME=POLKITQT5-1 \
0019 "
0020 
0021 EXTRA_OECMAKE:class-native = " \
0022     -DKAUTH_BACKEND_NAME=POLKITQT5-1 \
0023     -DKAUTH_BUILD_CODEGENERATOR_ONLY=ON \
0024     -DKAUTH_POLICY_FILES_INSTALL_DIR=${datadir}/polkit-1/actions \
0025 "
0026 
0027 FILES:${PN} += " \
0028     ${libdir}/plugins/kauth/helper/kauth_helper_plugin.so \
0029     ${libdir}/plugins/kauth/backend/kauth_backend_plugin.so \
0030     ${datadir}/kf5/kauth/*.stub \
0031 "
0032 
0033 FILES:${PN}-dev += " \
0034     ${libexecdir}/kauth/kauth-policy-gen \
0035 "