diff --git a/srcpkgs/kmymoney/patches/fix-sepa-plugin-filename.patch b/srcpkgs/kmymoney/patches/fix-sepa-plugin-filename.patch new file mode 100644 index 00000000000..606bbe7afa7 --- /dev/null +++ b/srcpkgs/kmymoney/patches/fix-sepa-plugin-filename.patch @@ -0,0 +1,55 @@ +From 8a4292268c2d88cdf757b4c162315360901139c5 Mon Sep 17 00:00:00 2001 +From: Andreas Mayer +Date: Fri, 29 Dec 2017 21:09:36 +0100 +Subject: Fix SEPA plugin installation + +Summary: +add_library() may add a "lib" prefix to the plugin's filename, which causes it not to be found. +Using kde4_add_plugin() instead again fixes that. + +This change to add_library() was (accidentally?) backported from the KF5 version in commit c78183f18201 . + +BUG: 386547 +FIXED-IN: 4.8.2 + +Intended for the 4.8 branch only, of course. + +Test Plan: +The plugin is again installed as konlinetasks_sepa.so here (like in 4.8.0, and also the KF5 port). +The error message that the plugin could not be found does not occur anymore, kmymoney prints + +> onlineTask available "org.kmymoney.creditTransfer.sepa" + + to stdout now. + +Haven't tested the actual functionality though. + +Reviewers: #kmymoney, habacker + +Reviewed By: #kmymoney, habacker + +Subscribers: tbaumgart + +Tags: #kmymoney + +Differential Revision: https://phabricator.kde.org/D9545 +--- + kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt b/kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt +index e3962d7..031820e 100644 +--- kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt ++++ kmymoney/plugins/onlinetasks/sepa/CMakeLists.txt +@@ -13,7 +13,7 @@ kde4_add_ui_files( sepaOnlineTasks_SRCS + ui/sepacredittransferedit.ui + ) + +-add_library(konlinetasks_sepa MODULE ++kde4_add_plugin(konlinetasks_sepa + ${sepaOnlineTasks_SRCS} + ) + +-- +cgit v0.11.2 + diff --git a/srcpkgs/kmymoney/template b/srcpkgs/kmymoney/template index 3c22a801b1a..dd04cfd1431 100644 --- a/srcpkgs/kmymoney/template +++ b/srcpkgs/kmymoney/template @@ -1,7 +1,7 @@ # Template file for 'kmymoney' pkgname=kmymoney version=4.8.1.1 -revision=1 +revision=2 build_style=cmake hostmakedepends="qt-qmake automoc4 perl doxygen pkg-config gwenhywfar-qt" makedepends="kdelibs-devel gpgme-devel aqbanking-devel gwenhywfar-devel libical-devel kactivities-devel gmp-devel libofx-devel qt-devel phonon-devel libalkimia-devel boost-devel kdepimlibs-devel gmpxx-devel"