keditbookmarks: update to 20.08.3.

This commit is contained in:
Piotr Wójcik 2020-11-05 23:08:56 +01:00 committed by Piotr
parent b84b6e2d37
commit fbea7d4dda
2 changed files with 30 additions and 2 deletions

View file

@ -0,0 +1,28 @@
From aad04fa1c1d953094d570fbb26d8d015ae0e4462 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
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

View file

@ -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 <chocimier@tlen.pl>"
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