qtkeychain-qt5: remove obsoleted patch

This commit is contained in:
Mazin Fadl 2023-10-13 12:43:46 -04:00 committed by classabbyamp
parent b3c986568e
commit c0e9836255
2 changed files with 2 additions and 22 deletions

View file

@ -1,15 +0,0 @@
Use kwallet interface definition from the kwallet package,
instead of using the out-of-date provided in qtkeychain package
see https://github.com/frankosterfeld/qtkeychain/issues/172
--- a/CMakeLists.txt 2020-09-08 15:13:16.000000000 +0200
+++ b/CMakeLists.txt 2020-11-13 13:50:56.648621533 +0100
@@ -169,7 +169,7 @@
add_definitions(-DKEYCHAIN_DBUS=1)
list(APPEND qtkeychain_SOURCES keychain_unix.cpp gnomekeyring.cpp libsecret.cpp plaintextstore.cpp)
- qt_add_dbus_interface(qtkeychain_SOURCES ${CMAKE_CURRENT_SOURCE_DIR}/org.kde.KWallet.xml kwallet_interface KWalletInterface)
+ qt_add_dbus_interface(qtkeychain_SOURCES /usr/share/dbus-1/interfaces/kf5_org.kde.KWallet.xml kwallet_interface KWalletInterface)
list(APPEND qtkeychain_LIBRARIES ${QTDBUS_LIBRARIES} )
endif()

View file

@ -1,9 +1,9 @@
# Template file for 'qtkeychain-qt5'
pkgname=qtkeychain-qt5
version=0.14.1
revision=1
revision=2
build_style=cmake
hostmakedepends="pkg-config kwallet"
hostmakedepends="pkg-config"
makedepends="libsecret-devel qt5-tools-devel"
short_desc="Platform-independent Qt5 API for storing passwords securely"
maintainer="yopito <pierre.bourgin@free.fr>"
@ -16,11 +16,6 @@ if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" qt5-host-tools qt5-tools-devel"
fi
post_patch() {
# ensure it's not used (see dedicated patch)
rm org.kde.KWallet.xml
}
post_install() {
vlicense COPYING
vdoc "${FILESDIR}/README.voidlinux"