diff --git a/srcpkgs/keditbookmarks/patches/20.08.3--fix-tests.patch b/srcpkgs/keditbookmarks/patches/20.08.3--fix-tests.patch new file mode 100644 index 0000000000..75ef1231f9 --- /dev/null +++ b/srcpkgs/keditbookmarks/patches/20.08.3--fix-tests.patch @@ -0,0 +1,28 @@ +From aad04fa1c1d953094d570fbb26d8d015ae0e4462 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= +Date: Fri, 6 Nov 2020 21:17:30 +0100 +Subject: [PATCH] fix-tests + + +diff --git src/kbookmarkmodel/tests/CMakeLists.txt src/kbookmarkmodel/tests/CMakeLists.txt +index 54df341..c07a310 100644 +--- src/kbookmarkmodel/tests/CMakeLists.txt ++++ src/kbookmarkmodel/tests/CMakeLists.txt +@@ -5,7 +5,11 @@ set( EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) + ###### kbookmarkmodeltest ###### + + set(kbookmarkmodeltest_SRCS kbookmarkmodeltest.cpp) +-ecm_add_test(${kbookmarkmodeltest_SRCS} +- TEST_NAME kbookmarkmodeltest +- LINK_LIBRARIES kbookmarkmodel_private KF5::Bookmarks Qt5::Test ++add_executable(kbookmarkmodeltest ${kbookmarkmodeltest_SRCS}) ++add_test( ++ NAME kbookmarkmodeltest ++ COMMAND kbookmarkmodeltest ++ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} + ) ++target_link_libraries(kbookmarkmodeltest kbookmarkmodel_private KF5::Bookmarks Qt5::Test) ++ +-- +2.29.2 + diff --git a/srcpkgs/keditbookmarks/template b/srcpkgs/keditbookmarks/template index 3cba9c4958..777f0df739 100644 --- a/srcpkgs/keditbookmarks/template +++ b/srcpkgs/keditbookmarks/template @@ -1,6 +1,6 @@ # Template file for 'keditbookmarks' pkgname=keditbookmarks -version=20.08.1 +version=20.08.3 revision=1 build_style=cmake hostmakedepends="extra-cmake-modules gettext kcoreaddons kconfig kdoctools @@ -11,7 +11,7 @@ maintainer="Piotr Wójcik " license="GPL-2.0-or-later, GFDL-1.2-only" homepage="https://www.kde.org/" distfiles="${KDE_SITE}/release-service/${version}/src/keditbookmarks-${version}.tar.xz" -checksum=8bfedffae0332dbfb611d25f3178ab7babe374155cce7c44e1aaa841934c3123 +checksum=c811f887a244ee6b90fec176a1a88490fa8ef6bc509bd960928d3eb961b90a55 pre_check() { export QT_QPA_PLATFORM=offscreen