From 802277c97658c68c7528419334f5339cf6d6ad92 Mon Sep 17 00:00:00 2001 From: Volker Krause Date: Sun, 30 Jul 2017 19:23:06 +0200 Subject: [PATCH] Make KAuth actually build Reviewers: cordlandwehr Reviewed By: cordlandwehr Differential Revision: https://phabricator.kde.org/D7001 --- recipes-kdesupport/polkit-qt-1.inc | 15 +++++++++++++++ recipes-kdesupport/polkit-qt-1_0.112.0.bb | 2 ++ recipes-kf5/tier2/kauth.inc | 5 +++-- 3 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 recipes-kdesupport/polkit-qt-1.inc create mode 100644 recipes-kdesupport/polkit-qt-1_0.112.0.bb diff --git a/recipes-kdesupport/polkit-qt-1.inc b/recipes-kdesupport/polkit-qt-1.inc new file mode 100644 index 0000000..d8dea1a --- /dev/null +++ b/recipes-kdesupport/polkit-qt-1.inc @@ -0,0 +1,15 @@ +DESCRIPTION = "Polkit-Qt-1" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING;md5=7dbc59dc445b2261c4fb2f9466e3446a" +PR = "r0" + +DEPENDS = "qtbase polkit" + +SRC_URI = "git://anongit.kde.org/polkit-qt-1" +S = "${WORKDIR}/git" + +inherit cmake_kf5 + +FILES_${PN}-dev += " \ + ${libdir}/cmake/PolkitQt5-1/* \ +" diff --git a/recipes-kdesupport/polkit-qt-1_0.112.0.bb b/recipes-kdesupport/polkit-qt-1_0.112.0.bb new file mode 100644 index 0000000..56169bb --- /dev/null +++ b/recipes-kdesupport/polkit-qt-1_0.112.0.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +SRCREV = "v${PV}" diff --git a/recipes-kf5/tier2/kauth.inc b/recipes-kf5/tier2/kauth.inc index 257a4e4..f733faa 100644 --- a/recipes-kf5/tier2/kauth.inc +++ b/recipes-kf5/tier2/kauth.inc @@ -5,7 +5,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \ " PR = "r0" -DEPENDS = "qtbase kcoreaddons" +DEPENDS = "qtbase kcoreaddons kcoreaddons-native polkit-qt-1" SRC_URI = "git://anongit.kde.org/kauth;nobranch=1" S = "${WORKDIR}/git" @@ -14,7 +14,8 @@ inherit cmake_kf5 FILES_${PN} += " \ ${libdir}/plugins/kauth/helper/kauth_helper_plugin.so \ - /usr/share/kf5/kauth/*.stub \ + ${libdir}/plugins/kauth/backend/kauth_backend_plugin.so \ + ${datadir}/kf5/kauth/*.stub \ " FILES_${PN}-dev += " \