From f00bcb8e24c86289ca9c4e51f9554b785bc22961 Mon Sep 17 00:00:00 2001 From: Pierre Bourgin Date: Thu, 4 Feb 2021 20:12:08 +0100 Subject: [PATCH] okteta: update to 0.26.5 --- .../patches/cmake.testing.working_dir.patch | 36 ------------------- srcpkgs/okteta/template | 4 +-- 2 files changed, 2 insertions(+), 38 deletions(-) delete mode 100644 srcpkgs/okteta/patches/cmake.testing.working_dir.patch diff --git a/srcpkgs/okteta/patches/cmake.testing.working_dir.patch b/srcpkgs/okteta/patches/cmake.testing.working_dir.patch deleted file mode 100644 index b2fae6dccaf..00000000000 --- a/srcpkgs/okteta/patches/cmake.testing.working_dir.patch +++ /dev/null @@ -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 diff --git a/srcpkgs/okteta/template b/srcpkgs/okteta/template index 41881760f00..6cef4e659fe 100644 --- a/srcpkgs/okteta/template +++ b/srcpkgs/okteta/template @@ -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 " 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