mirror of
https://invent.kde.org/packaging/yocto-meta-kf5.git
synced 2026-01-29 21:08:43 +01:00
Add KWallet recipe
Reviewers: cordlandwehr Reviewed By: cordlandwehr Differential Revision: https://phabricator.kde.org/D7138
This commit is contained in:
40
recipes-kf5/tier3/kwallet.inc
Normal file
40
recipes-kf5/tier3/kwallet.inc
Normal file
@@ -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 \
|
||||
"
|
||||
29
recipes-kf5/tier3/kwallet/0001-no-find-file.patch
Normal file
29
recipes-kf5/tier3/kwallet/0001-no-find-file.patch
Normal file
@@ -0,0 +1,29 @@
|
||||
commit 0922360ec29816a0843f5eb93be24891ef2cfe8f
|
||||
Author: Volker Krause <vkrause@kde.org>
|
||||
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 )
|
||||
|
||||
2
recipes-kf5/tier3/kwallet_5.36.0.bb
Normal file
2
recipes-kf5/tier3/kwallet_5.36.0.bb
Normal file
@@ -0,0 +1,2 @@
|
||||
require ${PN}.inc
|
||||
SRCREV = "v${PV}"
|
||||
Reference in New Issue
Block a user