[neon/kde/kdesignerplugin/Neon/unstable] debian/patches: refresh patch

Jonathan Riddell null at kde.org
Mon Jun 7 13:24:18 BST 2021


Git commit 6a98440c8a45cb7ab4c9980e80f0a4bf8d353258 by Jonathan Riddell.
Committed on 07/06/2021 at 12:24.
Pushed by jriddell into branch 'Neon/unstable'.

refresh patch

M  +13   -11   debian/patches/cross.patch

https://invent.kde.org/neon/kde/kdesignerplugin/commit/6a98440c8a45cb7ab4c9980e80f0a4bf8d353258

diff --git a/debian/patches/cross.patch b/debian/patches/cross.patch
index aa27857..6662d0f 100644
--- a/debian/patches/cross.patch
+++ b/debian/patches/cross.patch
@@ -1,17 +1,19 @@
---- kdesignerplugin-5.49.0.orig/src/CMakeLists.txt
-+++ kdesignerplugin-5.49.0/src/CMakeLists.txt
-@@ -11,7 +11,13 @@
-   ${kdesignerplugin_QM_LOADER}
- )
- add_executable(kgendesignerplugin ${kgendesignerplugin_SRCS})
+Index: kdesignerplugin/src/CMakeLists.txt
+===================================================================
+--- kdesignerplugin.orig/src/CMakeLists.txt
++++ kdesignerplugin/src/CMakeLists.txt
+@@ -1,7 +1,13 @@
+ include(ECMMarkNonGuiExecutable)
+ 
+ add_executable(kgendesignerplugin)
 -add_executable(KF5::kgendesignerplugin ALIAS kgendesignerplugin)
-+if(CMAKE_CROSSCOMPILING)
+++if(CMAKE_CROSSCOMPILING)
 +    find_program(KGENDESIGNERPLUGIN_EXECUTABLE kgendesignerplugin)
 +    add_executable(KF5::kgendesignerplugin IMPORTED GLOBAL)
 +    set_target_properties(KF5::kgendesignerplugin PROPERTIES IMPORTED_LOCATION ${KGENDESIGNERPLUGIN_EXECUTABLE})
-+else()
+++else()
 +    add_executable(KF5::kgendesignerplugin ALIAS kgendesignerplugin)
-+endif()
- ecm_mark_nongui_executable(kgendesignerplugin)
+++endif()
+ 
+ ecm_create_qm_loader(kgendesignerplugin kdesignerplugin5_qt)
  
- target_link_libraries(kgendesignerplugin KF5::ConfigCore # KConfig + KConfigGroup


More information about the Neon-commits mailing list