okteta: update to 0.26.5

This commit is contained in:
Pierre Bourgin 2021-02-04 20:12:08 +01:00 committed by John Zimmermann
parent 63eaa9c296
commit 4ea65c31eb
2 changed files with 2 additions and 38 deletions

View file

@ -1,36 +0,0 @@
fix https://invent.kde.org/utilities/okteta/-/issues/1
--- kasten/controllers/CMakeLists.txt.ORIG 2020-07-28 23:41:01.000000000 +0200
+++ kasten/controllers/CMakeLists.txt 2020-11-01 11:15:35.947523996 +0100
@@ -583,14 +583,29 @@
test/scriptvalueconvertertest.cpp
test/osdparsertest.cpp
test/commonparsertest.cpp
- test/jsparsertest.cpp
- test/customtostringtest.cpp
test/locktooffsettest.cpp
NAME_PREFIX structures-
LINK_LIBRARIES structureview-tested-srcs Qt5::Test poddecoder-typeeditors
)
+ #these tests are using QFINDTESTDATA, that does not work since managed by
+ #CMake from this parent directory: WORKING_DIRECTORY must be set accordindly
+ add_executable(jsparsertest test/jsparsertest.cpp)
+ add_test(
+ NAME structures-jsparsertest
+ COMMAND jsparsertest
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test
+ )
+ target_link_libraries(jsparsertest structureview-tested-srcs Qt5::Test poddecoder-typeeditors)
+ add_executable(customtostringtest test/customtostringtest.cpp)
+ add_test(
+ NAME structures-customtostringtest
+ COMMAND customtostringtest
+ WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/test
+ )
+ target_link_libraries(customtostringtest structureview-tested-srcs Qt5::Test poddecoder-typeeditors)
+
#replace tool unit tests
ecm_add_test(
view/search/searchjob.cpp

View file

@ -1,7 +1,7 @@
# Template file for 'okteta'
pkgname=okteta
reverts="4.14.3_1"
version=0.26.4
version=0.26.5
revision=1
build_style=cmake
hostmakedepends="extra-cmake-modules gettext python qt5-qmake qt5-host-tools
@ -15,7 +15,7 @@ maintainer="yopito <pierre.bourgin@free.fr>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="https://kde.org/applications/utilities/org.kde.okteta"
distfiles="${KDE_SITE}/okteta/${version}/src/okteta-${version}.tar.xz"
checksum=ef22b096c4d8a682b5467ee7d8e9e05ede44cde116daef804312745c4bfd0f03
checksum=9fc7edfff73e7b0583af540b0c052f9221ca3f11ea3fc3604c2bcedb09c29a97
pre_check() {
export QT_QPA_PLATFORM=offscreen