File: install-stuff-to-standard-location.patch

package info (click to toggle)
qtalicevision 2025.1.0-1
  • links: PTS, VCS
  • area: contrib
  • in suites: sid
  • size: 620 kB
  • sloc: cpp: 7,287; makefile: 3
file content (57 lines) | stat: -rw-r--r-- 2,481 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
From: Dima Kogan <dkogan@debian.org>
Date: Sat, 23 Aug 2025 17:29:17 -0700
X-Dgit-Generated: 2025.1.0-1 024f8c4b6929079e5a8d30d9832705e69171e1ed
Subject: install stuff to standard location


---

diff --git a/src/depthMapEntity/CMakeLists.txt b/src/depthMapEntity/CMakeLists.txt
index c1daaca..db60e8f 100644
--- a/src/depthMapEntity/CMakeLists.txt
+++ b/src/depthMapEntity/CMakeLists.txt
@@ -62,6 +62,6 @@ set_target_properties(depthMapEntityPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/DepthMapEntity)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/DepthMapEntity)
 install(TARGETS depthMapEntityPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/DepthMapEntity")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/DepthMapEntity")
diff --git a/src/qmlSfmData/CMakeLists.txt b/src/qmlSfmData/CMakeLists.txt
index 64d41db..8f993eb 100644
--- a/src/qmlSfmData/CMakeLists.txt
+++ b/src/qmlSfmData/CMakeLists.txt
@@ -55,6 +55,6 @@ set_target_properties(sfmDataEntityQmlPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/SfmDataEntity)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/SfmDataEntity)
 install(TARGETS sfmDataEntityQmlPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/SfmDataEntity")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/SfmDataEntity")
diff --git a/src/qtAliceVision/CMakeLists.txt b/src/qtAliceVision/CMakeLists.txt
index 2a09216..5c06669 100644
--- a/src/qtAliceVision/CMakeLists.txt
+++ b/src/qtAliceVision/CMakeLists.txt
@@ -109,6 +109,6 @@ set_target_properties(qtAliceVisionPlugin
 
 # Install settings
 install(FILES "qmldir"
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/qml/AliceVision)
+        DESTINATION ${CMAKE_INSTALL_LIBDIR}/qt6/qml/AliceVision)
 install(TARGETS qtAliceVisionPlugin
-        DESTINATION "${CMAKE_INSTALL_PREFIX}/qml/AliceVision")
+        DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/qml/AliceVision")
diff --git a/src/qtAliceVisionImageIO/CMakeLists.txt b/src/qtAliceVisionImageIO/CMakeLists.txt
index 84d9e2d..f8cd4fc 100644
--- a/src/qtAliceVisionImageIO/CMakeLists.txt
+++ b/src/qtAliceVisionImageIO/CMakeLists.txt
@@ -45,4 +45,4 @@ target_link_libraries(qtAliceVisionImageIOPlugin
 
 
 # Install settings
-install(TARGETS qtAliceVisionImageIOPlugin DESTINATION imageformats)
+install(TARGETS qtAliceVisionImageIOPlugin DESTINATION "${CMAKE_INSTALL_LIBDIR}/qt6/plugins/imageformats/")