[neon/neon-packaging/glaxnimate/Neon/unstable] debian/patches: pybind patch
Carlos De Maine
null at kde.org
Sat Sep 30 08:29:25 BST 2023
Git commit cba0550bbb2f552d242b1e7d66f5317e7755caf0 by Carlos De Maine.
Committed on 30/09/2023 at 09:29.
Pushed by carlosdem into branch 'Neon/unstable'.
pybind patch
A +30 -0 debian/patches/0002
M +1 -0 debian/patches/series
https://invent.kde.org/neon/neon-packaging/glaxnimate/-/commit/cba0550bbb2f552d242b1e7d66f5317e7755caf0
diff --git a/debian/patches/0002 b/debian/patches/0002
new file mode 100644
index 0000000..7cfdb87
--- /dev/null
+++ b/debian/patches/0002
@@ -0,0 +1,30 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index dd26a4fd0cc2f62ee871e77f5c47a8b9232d0b89..86e4f3b87bafc5d371483d9ce0c76c1155266066 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -101,6 +101,8 @@ if ( NOT ANDROID )
+ set(SCRIPTING_PY ON)
+ endif()
+
++
++
+ # Qt
+ #find_package(Qt5Qml QUIET)
+ set(QT_VERSION_MAJOR 5)
+@@ -127,6 +129,16 @@ else()
+ find_package(Potrace REQUIRED)
+ endif()
+
++
++# pybind11
++option(GLAXNIMATE_SYSTEM_PYBIND "Use the system pybind11 libarary" ON)
++if (NOT GLAXNIMATE_SYSTEM_PYBIND)
++ message(STATUS "Using bundled pybind11")
++ add_subdirectory(/external/QtAppSetup/external/pybind11/)
++else()
++ find_package(pybind11 REQUIRED)
++endif()
++
+ # Debug flags
+ if(CMAKE_BUILD_TYPE STREQUAL "")
+ set(CMAKE_BUILD_TYPE "Debug")
\ No newline at end of file
diff --git a/debian/patches/series b/debian/patches/series
index 6c6871b..a0f33b1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
# You must remove unused comment lines for the released package.
0001_patch
+0002
\ No newline at end of file
More information about the Neon-commits
mailing list