Index: recipes-kf5/tier3/kwallet.inc =================================================================== --- /dev/null +++ recipes-kf5/tier3/kwallet.inc @@ -0,0 +1,40 @@ +DESCRIPTION = "KWallet" +HOMEPAGE = "https://api.kde.org/frameworks/kwallet/html/index.html" +LICENSE = "LGPL-2.1" +LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1" +PR = "r0" + +DEPENDS = " \ + qtbase \ + kconfig \ + kconfigwidgets \ + kcoreaddons \ + kdbusaddons \ + kiconthemes \ + knotifications \ + ki18n \ + kservice \ + kwidgetsaddons \ + kwindowsystem \ + libgcrypt \ +" + +SRC_URI = " \ + git://anongit.kde.org/kwallet;nobranch=1 \ + file://0001-no-find-file.patch \ +" +S = "${WORKDIR}/git" + +inherit cmake_kf5 +inherit gettext +inherit python3native + +FILES_${PN} += " \ + ${datadir}/knotifications5/*.notifyrc \ + ${datadir}/kservices5/*.desktop \ + ${datadir}/dbus-1/services/*.service \ +" + +FILES_${PN}-dev += " \ + ${datadir}/dbus-1/interfaces/*.xml \ +" Index: recipes-kf5/tier3/kwallet/0001-no-find-file.patch =================================================================== --- /dev/null +++ recipes-kf5/tier3/kwallet/0001-no-find-file.patch @@ -0,0 +1,29 @@ +commit 0922360ec29816a0843f5eb93be24891ef2cfe8f +Author: Volker Krause +Date: Fri Aug 4 20:15:45 2017 +0200 + + Don't use find_file for finding files in our own source dir + + Summary: + It's not necessary, and it breaks when cross-compiling, as find_file + changes its behavior then. + + Reviewers: #frameworks + + Tags: #frameworks + + Differential Revision: https://phabricator.kde.org/D7136 + +diff --git a/src/runtime/kwalletd/CMakeLists.txt b/src/runtime/kwalletd/CMakeLists.txt +index f530d7a..7c916c4 100644 +--- a/src/runtime/kwalletd/CMakeLists.txt ++++ b/src/runtime/kwalletd/CMakeLists.txt +@@ -78,7 +78,7 @@ if (Gpgmepp_FOUND) + ) + endif(Gpgmepp_FOUND) + +-find_file(kwallet_xml org.kde.KWallet.xml HINTS ${CMAKE_CURRENT_SOURCE_DIR}/../../api/KWallet) ++set(kwallet_xml ${CMAKE_CURRENT_SOURCE_DIR}/../../api/KWallet/org.kde.KWallet.xml) + + qt5_add_dbus_adaptor( kwalletd_SRCS ${kwallet_xml} kwalletd.h KWalletD ) + Index: recipes-kf5/tier3/kwallet_5.36.0.bb =================================================================== --- /dev/null +++ recipes-kf5/tier3/kwallet_5.36.0.bb @@ -0,0 +1,2 @@ +require ${PN}.inc +SRCREV = "v${PV}"