From 74606411fb3959f7431ec164653eb203bc330435 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Wed, 16 Nov 2022 19:45:01 +0100 Subject: kde-misc/tellico: Fix version check with KF-5.100 Upstream commit 32aef89113a1939b20766bf0e09cce7287b56f40 Signed-off-by: Andreas Sturmlechner --- .../tellico-3.4.4-fix-kf-5.100-version-check.patch | 25 ++++++++++++++++++++++ kde-misc/tellico/tellico-3.4.4-r1.ebuild | 6 +++--- 2 files changed, 28 insertions(+), 3 deletions(-) create mode 100644 kde-misc/tellico/files/tellico-3.4.4-fix-kf-5.100-version-check.patch (limited to 'kde-misc') diff --git a/kde-misc/tellico/files/tellico-3.4.4-fix-kf-5.100-version-check.patch b/kde-misc/tellico/files/tellico-3.4.4-fix-kf-5.100-version-check.patch new file mode 100644 index 000000000000..6cbb9aef239c --- /dev/null +++ b/kde-misc/tellico/files/tellico-3.4.4-fix-kf-5.100-version-check.patch @@ -0,0 +1,25 @@ +From 32aef89113a1939b20766bf0e09cce7287b56f40 Mon Sep 17 00:00:00 2001 +From: Jonathan Esk-Riddell +Date: Fri, 21 Oct 2022 12:03:40 +0100 +Subject: [PATCH] fix version check which breaks on KF5 5.100 + +--- + src/newstuff/CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/newstuff/CMakeLists.txt b/src/newstuff/CMakeLists.txt +index b51914fd..c0ebfa54 100644 +--- a/src/newstuff/CMakeLists.txt ++++ b/src/newstuff/CMakeLists.txt +@@ -19,7 +19,7 @@ TARGET_LINK_LIBRARIES(newstuff + ) + + IF( KF5NewStuff_FOUND ) +- if(${ECM_VERSION} STRGREATER "5.57.0") ++ if(${ECM_VERSION} VERSION_GREATER "5.57.0") + INSTALL(FILES tellico-template.knsrc tellico-script.knsrc DESTINATION ${KDE_INSTALL_KNSRCDIR}) + else() + INSTALL(FILES tellico-template.knsrc tellico-script.knsrc DESTINATION ${KDE_INSTALL_CONFDIR}) +-- +GitLab + diff --git a/kde-misc/tellico/tellico-3.4.4-r1.ebuild b/kde-misc/tellico/tellico-3.4.4-r1.ebuild index b05e573a3bb4..94c6dab3f550 100644 --- a/kde-misc/tellico/tellico-3.4.4-r1.ebuild +++ b/kde-misc/tellico/tellico-3.4.4-r1.ebuild @@ -69,9 +69,9 @@ RDEPEND=" yaz? ( >=dev-libs/yaz-2:0= ) " DEPEND="${RDEPEND}" -BDEPEND=" - sys-devel/gettext -" +BDEPEND="sys-devel/gettext" + +PATCHES=( "${FILESDIR}/${P}-fix-kf-5.100-version-check.patch" ) src_configure() { local mycmakeargs=( -- cgit v1.2.3-65-gdbad