* [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-logbookkonni/files/
@ 2021-11-30 9:05 Marc Schiffbauer
0 siblings, 0 replies; only message in thread
From: Marc Schiffbauer @ 2021-11-30 9:05 UTC (permalink / raw
To: gentoo-commits
commit: 8321543ab1c500a4444f359423df7e8f677c5eb6
Author: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 30 09:05:10 2021 +0000
Commit: Marc Schiffbauer <mschiff <AT> gentoo <DOT> org>
CommitDate: Tue Nov 30 09:05:10 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8321543a
sci-geosciences/opencpn-plugin-logbookkonni: add cmake patch
Signed-off-by: Marc Schiffbauer <mschiff <AT> gentoo.org>
.../opencpn-plugin-logbookkonni/files/cmake.patch | 57 ++++++++++++++++++++++
1 file changed, 57 insertions(+)
diff --git a/sci-geosciences/opencpn-plugin-logbookkonni/files/cmake.patch b/sci-geosciences/opencpn-plugin-logbookkonni/files/cmake.patch
new file mode 100644
index 000000000000..4221ce9f82cd
--- /dev/null
+++ b/sci-geosciences/opencpn-plugin-logbookkonni/files/cmake.patch
@@ -0,0 +1,57 @@
+diff -urN LogbookKonni_pi-1.4.22.0.orig/cmake/PluginInstall.cmake LogbookKonni_pi-1.4.22.0/cmake/PluginInstall.cmake
+--- LogbookKonni_pi-1.4.22.0.orig/cmake/PluginInstall.cmake 2021-10-30 07:35:43.000000000 -1000
++++ LogbookKonni_pi-1.4.22.0/cmake/PluginInstall.cmake 2021-11-29 22:31:48.755156001 -1000
+@@ -6,7 +6,7 @@
+ # Installation items and layout.
+ # ~~~
+
+-include(Metadata)
++#include(Metadata)
+
+ if (APPLE)
+ install(
+diff -urN LogbookKonni_pi-1.4.22.0.orig/cmake/Targets.cmake LogbookKonni_pi-1.4.22.0/cmake/Targets.cmake
+--- LogbookKonni_pi-1.4.22.0.orig/cmake/Targets.cmake 2021-10-30 07:35:43.000000000 -1000
++++ LogbookKonni_pi-1.4.22.0/cmake/Targets.cmake 2021-11-29 22:31:48.756156018 -1000
+@@ -8,7 +8,7 @@
+ return()
+ endif ()
+
+-include(Metadata)
++#include(Metadata)
+
+ if (UNIX AND NOT APPLE AND NOT QT_ANDROID)
+ set(_LINUX ON)
+diff -urN LogbookKonni_pi-1.4.22.0.orig/CMakeLists.txt LogbookKonni_pi-1.4.22.0/CMakeLists.txt
+--- LogbookKonni_pi-1.4.22.0.orig/CMakeLists.txt 2021-10-30 07:35:43.000000000 -1000
++++ LogbookKonni_pi-1.4.22.0/CMakeLists.txt 2021-11-29 22:42:03.398496368 -1000
+@@ -27,6 +27,7 @@
+ endif ()
+ message(STATUS "Cmake version: ${CMAKE_VERSION}.")
+
++set(BUILD_TYPE "tarball")
+
+ # -------- Build setup (mostly in PluginCompiler) --------
+ #
+@@ -57,6 +58,7 @@
+
+ option(PLUGIN_USE_SVG "Use SVG graphics" ON)
+
++
+ include(PluginOptions)
+
+ #
+@@ -135,9 +137,10 @@
+ create_targets(
+ ${PROJECT_SOURCE_DIR}/flatpak/org.opencpn.OpenCPN.Plugin.logbook.yaml
+ )
+-if ("${BUILD_TYPE}" STREQUAL "")
+- return ()
+-endif ()
++#if ("${BUILD_TYPE}" STREQUAL "")
++# return ()
++#endif ()
++include(PluginLibs)
+
+ if (NOT ${BUILD_TYPE} STREQUAL "flatpak")
+ # Build package as required (flatpak already dealt with).
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2021-11-30 9:05 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-11-30 9:05 [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/opencpn-plugin-logbookkonni/files/ Marc Schiffbauer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox