Files
meta-kf5/recipes-kf5/tier2/kauth.inc
Andreas Cord-Landwehr e248665881 Make project REUSE compatible
The change was performed as follows:
- it was checked that the COPYING.MIT license was present with the
  initial commit and such each contributor was awere of the license
- mail was around to all previous contributors to check this assumption
  (mail was not replied by Hannah and Sebastian); every reply was a
  confirmation of the assumed MIT licensing
- all copyright information were recovered from the respective Git
  commits
- reuse lint was to used to check the REUSE conformance
2020-09-26 18:29:02 +02:00

40 lines
1.1 KiB
PHP

# SPDX-FileCopyrightText: 2014 Johan Thelin <johan.thelin@pelagicore.com>
# SPDX-FileCopyrightText: 2017-2020 Volker Krause <vkrause@kde.org>
# SPDX-FileCopyrightText: 2020 Andreas Cord-Landwehr <cordlandwehr@kde.org>
#
# SPDX-License-Identifier: MIT
DESCRIPTION = "KAuth"
HOMEPAGE = "https://api.kde.org/frameworks/kauth/html/index.html"
LICENSE = "LGPL-2.1"
PR = "r0"
DEPENDS_class-native = "extra-cmake-modules qtbase-native kcoreaddons-native"
DEPENDS_class-target = "qtbase kcoreaddons kauth-native polkit-qt-1"
SRC_URI = "git://invent.kde.org/frameworks/${BPN};nobranch=1;protocol=https"
S = "${WORKDIR}/git"
inherit cmake_kf5
inherit reuse_license_checksums
EXTRA_OECMAKE_class-target += " \
-DKAUTH_BACKEND_NAME=POLKITQT5-1 \
"
EXTRA_OECMAKE_class-native += " \
-DKAUTH_BACKEND_NAME=POLKITQT5-1 \
-DKAUTH_BUILD_CODEGENERATOR_ONLY=ON \
-DKAUTH_POLICY_FILES_INSTALL_DIR=${datadir}/polkit-1/actions \
"
FILES_${PN} += " \
${libdir}/plugins/kauth/helper/kauth_helper_plugin.so \
${libdir}/plugins/kauth/backend/kauth_backend_plugin.so \
${datadir}/kf5/kauth/*.stub \
"
FILES_${PN}-dev += " \
${libexecdir}/kauth/kauth-policy-gen \
"