1 |
commit: 82fb77334931d62d9811a1c361d2a3756dc10c86 |
2 |
Author: Bernd Waibel <waebbl-gentoo <AT> posteo <DOT> net> |
3 |
AuthorDate: Wed Oct 27 17:31:03 2021 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 31 02:22:48 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=82fb7733 |
7 |
|
8 |
sci-libs/opencascade: drop 7.4.0 |
9 |
|
10 |
Bugs: https://github.com/gentoo/sci/issues/1119 |
11 |
|
12 |
Package-Manager: Portage-3.0.28, Repoman-3.0.3 |
13 |
Signed-off-by: Bernd Waibel <waebbl-gentoo <AT> posteo.net> |
14 |
Closes: https://github.com/gentoo/gentoo/pull/22729 |
15 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
16 |
|
17 |
sci-libs/opencascade/Manifest | 1 - |
18 |
...Gentoo-specific-avoid-pre-stripping-files.patch | 30 ----- |
19 |
.../files/opencascade-7.4.0-find-qt.patch | 85 ------------ |
20 |
...pencascade-7.4.0-fix-flow-control-nesting.patch | 31 ----- |
21 |
.../files/opencascade-7.4.0-fix-install.patch | 133 ------------------- |
22 |
...7.4.0-fix-issue-with-cmake-path-variables.patch | 41 ------ |
23 |
.../opencascade/files/opencascade-7.4.0.env.in | 103 --------------- |
24 |
sci-libs/opencascade/metadata.xml | 3 - |
25 |
sci-libs/opencascade/opencascade-7.4.0-r5.ebuild | 147 --------------------- |
26 |
9 files changed, 574 deletions(-) |
27 |
|
28 |
diff --git a/sci-libs/opencascade/Manifest b/sci-libs/opencascade/Manifest |
29 |
index a6e46ffdc98..aa5f02d0bfc 100644 |
30 |
--- a/sci-libs/opencascade/Manifest |
31 |
+++ b/sci-libs/opencascade/Manifest |
32 |
@@ -1,4 +1,3 @@ |
33 |
-DIST opencascade-7.4.0.tar.gz 49210449 BLAKE2B c92afe7551e9a066ad0940dcf49278b556a726f0534131706b3a11cb0986ba32818e162df3982283f6815eb9d67d7e91f909485d78f2b8d638da1934ffbc2f7f SHA512 eb0d47848d48f42a159ae5d7a4144483ba1f59f634844bd2053e48e04af30a30ba7056112cd38a1730d193a8d736b898f9608dd574cbe6829dbe7257a002772a |
34 |
DIST opencascade-7.5.1.tar.gz 47807222 BLAKE2B b5ef30ea7c373250db3e0863f3c7fde84256b37957a482f10a462a4c4ed1a21cffbbeb10e9fc140325022d7582efbd292ed6d1016d14cb67ccf5c84d14060d5a SHA512 ebb937254ac165041ef7e1a80df8f9d2ac1d518f01b3d4b0fd6d203fe0d80bd474b85a462cccc1c74a513bd257c0b0ab7002632573f38bf72170363c7e42ed2f |
35 |
DIST opencascade-7.5.2.tar.gz 47812603 BLAKE2B 86995ea60e24329f91a2cbede26112a70794fb091b34d33614bef412b05b8cc9f1e770aecf78272b54a241c2524422c86f8ff722b3f27b54bf10fa5eda626288 SHA512 f951a941043a56f381cfd25e4d78bb9ae08e5cc29a894e6c0c35daf30aeabf1e44ee09af65bb6b7d62d9325be67741ddcf52266b7186b4c336c70ed8bcfa1676 |
36 |
DIST opencascade-7.5.3.tar.gz 47817862 BLAKE2B be438a08997c18c3cb2c08c520fff2f439cc8a406cc3f471be3b24f874ac3bd892c4afe6fa37f742ffb5da21b5a29f9c8f737e3160dcbda35a217286218eb5e1 SHA512 2d7cf284a1b3ce8d05151085b41579cc2f4e29489b7920769cd04f86a6d76e49f533b570226d3cf041c75582894ed8a6aff889312c7c507fffae47d3e57c5c47 |
37 |
|
38 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch b/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch |
39 |
deleted file mode 100644 |
40 |
index 0d4015cabd7..00000000000 |
41 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0-Gentoo-specific-avoid-pre-stripping-files.patch |
42 |
+++ /dev/null |
43 |
@@ -1,30 +0,0 @@ |
44 |
-From 2ddba09ea491ae5d18b074a2d1126d44c0a2b1f6 Mon Sep 17 00:00:00 2001 |
45 |
-From: Bernd Waibel <waebbl-gentoo@××××××.net> |
46 |
-Date: Tue, 9 Feb 2021 22:26:14 +0100 |
47 |
-Subject: [PATCH] [Gentoo-specific] avoid pre-stripping files |
48 |
- |
49 |
-Signed-off-by: Bernd Waibel <waebbl-gentoo@××××××.net> |
50 |
---- |
51 |
- adm/cmake/occt_defs_flags.cmake | 6 ------ |
52 |
- 1 file changed, 6 deletions(-) |
53 |
- |
54 |
-diff --git a/adm/cmake/occt_defs_flags.cmake b/adm/cmake/occt_defs_flags.cmake |
55 |
-index 5484c675..4e513ab5 100644 |
56 |
---- a/adm/cmake/occt_defs_flags.cmake |
57 |
-+++ b/adm/cmake/occt_defs_flags.cmake |
58 |
-@@ -137,12 +137,6 @@ elseif (DEFINED CMAKE_COMPILER_IS_GNUCXX) |
59 |
- set (CMAKE_CXX_FLAGS "-std=c++0x ${CMAKE_CXX_FLAGS}") |
60 |
- endif() |
61 |
- |
62 |
--# Optimize size of binaries |
63 |
--if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUCXX OR MINGW) |
64 |
-- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -s") |
65 |
-- set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -s") |
66 |
--endif() |
67 |
-- |
68 |
- if (BUILD_RELEASE_DISABLE_EXCEPTIONS) |
69 |
- set (CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -DNo_Exception") |
70 |
- set (CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -DNo_Exception") |
71 |
--- |
72 |
-2.30.0 |
73 |
- |
74 |
|
75 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-find-qt.patch b/sci-libs/opencascade/files/opencascade-7.4.0-find-qt.patch |
76 |
deleted file mode 100644 |
77 |
index 1ebc1106a31..00000000000 |
78 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0-find-qt.patch |
79 |
+++ /dev/null |
80 |
@@ -1,85 +0,0 @@ |
81 |
-From 7304c888e57a581e9dc8ef2005e960ec579d58f4 Mon Sep 17 00:00:00 2001 |
82 |
-From: Bernd Waibel <waebbl@×××××.com> |
83 |
-Date: Sat, 9 Nov 2019 17:15:27 +0100 |
84 |
-Subject: [PATCH] Gentoo-specific: disable internal 3RDPARTY_QT_DIR |
85 |
- |
86 |
-The patch disables searching for internal 3rd-party Qt. Instead |
87 |
-system installed Qt is used. The call to find_package uses REQUIRED |
88 |
-flag for this. |
89 |
- |
90 |
-Signed-off-by: Bernd Waibel <waebbl@×××××.com> |
91 |
---- |
92 |
- adm/cmake/qt.cmake | 24 ++++++++++++------------ |
93 |
- adm/cmake/qt_macro.cmake | 6 +++--- |
94 |
- 2 files changed, 15 insertions(+), 15 deletions(-) |
95 |
- |
96 |
-diff --git a/adm/cmake/qt.cmake b/adm/cmake/qt.cmake |
97 |
-index 6958bab5..b6a9b794 100644 |
98 |
---- a/adm/cmake/qt.cmake |
99 |
-+++ b/adm/cmake/qt.cmake |
100 |
-@@ -3,27 +3,27 @@ |
101 |
- # Qt is searched manually first (just determine root) |
102 |
- message (STATUS "Processing Qt 3-rd party") |
103 |
- |
104 |
--if (NOT DEFINED ${3RDPARTY_QT_DIR} AND ${3RDPARTY_QT_DIR} STREQUAL "") |
105 |
-- FIND_PRODUCT_DIR ("${3RDPARTY_DIR}" Qt 3RDPARTY_QT_DIR_NAME) |
106 |
-+#if (NOT DEFINED ${3RDPARTY_QT_DIR} AND ${3RDPARTY_QT_DIR} STREQUAL "") |
107 |
-+# FIND_PRODUCT_DIR ("${3RDPARTY_DIR}" Qt 3RDPARTY_QT_DIR_NAME) |
108 |
- |
109 |
-- if (NOT DEFINED ${3RDPARTY_QT_DIR_NAME} AND ${3RDPARTY_QT_DIR_NAME} STREQUAL "") |
110 |
-- message (FATAL_ERROR "... Qt root directory was not found") |
111 |
-- endif() |
112 |
-+# if (NOT DEFINED ${3RDPARTY_QT_DIR_NAME} AND ${3RDPARTY_QT_DIR_NAME} STREQUAL "") |
113 |
-+# message (FATAL_ERROR "... Qt root directory was not found") |
114 |
-+# endif() |
115 |
- |
116 |
- # Combine directory name with absolute path and show in GUI |
117 |
-- set (3RDPARTY_QT_DIR "${3RDPARTY_DIR}/${3RDPARTY_QT_DIR_NAME}" CACHE PATH "The directory containing Qt" FORCE) |
118 |
-- message (STATUS "Info: Qt is used from folder: ${3RDPARTY_QT_DIR}") |
119 |
--endif() |
120 |
-+# set (3RDPARTY_QT_DIR "${3RDPARTY_DIR}/${3RDPARTY_QT_DIR_NAME}" CACHE PATH "The directory containing Qt" FORCE) |
121 |
-+# message (STATUS "Info: Qt is used from folder: ${3RDPARTY_QT_DIR}") |
122 |
-+#endif() |
123 |
- |
124 |
--set (USED_3RDPARTY_QT_DIR "${3RDPARTY_QT_DIR}") |
125 |
-+#set (USED_3RDPARTY_QT_DIR "${3RDPARTY_QT_DIR}") |
126 |
- |
127 |
- # Now set CMAKE_PREFIX_PATH to point to local Qt installation. |
128 |
- # Without this setting find_package() will not work |
129 |
--set(CMAKE_PREFIX_PATH ${3RDPARTY_QT_DIR}) |
130 |
-+#set(CMAKE_PREFIX_PATH ${3RDPARTY_QT_DIR}) |
131 |
- |
132 |
- # Now we can apply standard CMake finder for Qt5. We do this mostly |
133 |
- # to have qt5_wrap_cpp() function available and Qt5_FOUND variable filled |
134 |
--find_package(Qt5 QUIET COMPONENTS Widgets Quick Xml PATHS ${3RDPARTY_QT_DIR} NO_DEFAULT_PATH) |
135 |
-+find_package(Qt5 COMPONENTS Widgets Quick Xml REQUIRED) |
136 |
- if (NOT ${Qt5_FOUND}) |
137 |
- # Now we can apply standard CMake finder for Qt. We do this mostly |
138 |
- # to have qt4_wrap_cpp() function available |
139 |
-@@ -31,4 +31,4 @@ if (NOT ${Qt5_FOUND}) |
140 |
- #message (STATUS "Qt4 cmake configuration") |
141 |
- else() |
142 |
- #message (STATUS "Qt5 cmake configuration") |
143 |
--endif() |
144 |
-\ No newline at end of file |
145 |
-+endif() |
146 |
-diff --git a/adm/cmake/qt_macro.cmake b/adm/cmake/qt_macro.cmake |
147 |
-index ec897384..8bd314a4 100644 |
148 |
---- a/adm/cmake/qt_macro.cmake |
149 |
-+++ b/adm/cmake/qt_macro.cmake |
150 |
-@@ -2,9 +2,9 @@ |
151 |
- |
152 |
- macro (FIND_QT_PACKAGE PROJECT_LIBRARIES_DEBUG PROJECT_LIBRARIES_RELEASE PROJECT_INCLUDES) |
153 |
- |
154 |
-- if ("${3RDPARTY_QT_DIR}" STREQUAL "") |
155 |
-- message (FATAL_ERROR "Empty Qt dir") |
156 |
-- endif() |
157 |
-+# if ("${3RDPARTY_QT_DIR}" STREQUAL "") |
158 |
-+# message (FATAL_ERROR "Empty Qt dir") |
159 |
-+# endif() |
160 |
- |
161 |
- if (${Qt5_FOUND}) |
162 |
- #message (STATUS "Qt5 cmake configuration") |
163 |
--- |
164 |
-2.23.0 |
165 |
- |
166 |
|
167 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-fix-flow-control-nesting.patch b/sci-libs/opencascade/files/opencascade-7.4.0-fix-flow-control-nesting.patch |
168 |
deleted file mode 100644 |
169 |
index 7e2bb1d7b2a..00000000000 |
170 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0-fix-flow-control-nesting.patch |
171 |
+++ /dev/null |
172 |
@@ -1,31 +0,0 @@ |
173 |
-From e69c42386239bcc08143607df12b8bb3f1ff14ba Mon Sep 17 00:00:00 2001 |
174 |
-From: Bernd Waibel <waebbl-gentoo@××××××.net> |
175 |
-Date: Wed, 24 Feb 2021 20:06:02 +0100 |
176 |
-Subject: [PATCH] adm/cmake/vtk.cmake: fix flow control nesting |
177 |
- |
178 |
-Fix an unbalanced nesting of flow control statements |
179 |
-for >=cmake-3.20.0 |
180 |
- |
181 |
-Signed-off-by: Bernd Waibel <waebbl-gentoo@××××××.net> |
182 |
---- |
183 |
- adm/cmake/vtk.cmake | 4 ++-- |
184 |
- 1 file changed, 2 insertions(+), 2 deletions(-) |
185 |
- |
186 |
-diff --git a/adm/cmake/vtk.cmake b/adm/cmake/vtk.cmake |
187 |
-index c5692fd6..00b7ff4a 100644 |
188 |
---- a/adm/cmake/vtk.cmake |
189 |
-+++ b/adm/cmake/vtk.cmake |
190 |
-@@ -156,8 +156,8 @@ if (VTK_FOUND) |
191 |
- endif() |
192 |
- endif() |
193 |
- endif() |
194 |
-- endif() |
195 |
-- endforeach() |
196 |
-+ endforeach() |
197 |
-+ endif() |
198 |
- endif() |
199 |
- |
200 |
- if (3RDPARTY_VTK_INCLUDE_DIRS) |
201 |
--- |
202 |
-2.30.1 |
203 |
- |
204 |
|
205 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-fix-install.patch b/sci-libs/opencascade/files/opencascade-7.4.0-fix-install.patch |
206 |
deleted file mode 100644 |
207 |
index edf3545a74b..00000000000 |
208 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0-fix-install.patch |
209 |
+++ /dev/null |
210 |
@@ -1,133 +0,0 @@ |
211 |
-From 95c7c85f776d6e4764f2146c8385d6e29762043d Mon Sep 17 00:00:00 2001 |
212 |
-From: Bernd Waibel <waebbl@×××××.com> |
213 |
-Date: Sat, 16 Nov 2019 18:28:11 +0100 |
214 |
-Subject: [PATCH] Gentoo-specific: patch installation paths |
215 |
- |
216 |
-Patch parts of cmake to install into proper locations and handle slotting. |
217 |
- |
218 |
-Signed-off-by: Bernd Waibel <waebbl@×××××.com> |
219 |
---- |
220 |
- CMakeLists.txt | 28 +++++++++++++++------------- |
221 |
- adm/cmake/occt_macros.cmake | 2 +- |
222 |
- 2 files changed, 16 insertions(+), 14 deletions(-) |
223 |
- |
224 |
-diff --git a/CMakeLists.txt b/CMakeLists.txt |
225 |
-index 0b445de9..1fd5779e 100644 |
226 |
---- a/CMakeLists.txt |
227 |
-+++ b/CMakeLists.txt |
228 |
-@@ -15,6 +15,8 @@ macro (OCCT_INCLUDE_CMAKE_FILE BEING_INCLUDED_FILE) |
229 |
- endif() |
230 |
- endmacro() |
231 |
- |
232 |
-+SET(CMAKE_INSTALL_DO_STRIP OFF) |
233 |
-+ |
234 |
- # include variable description |
235 |
- OCCT_INCLUDE_CMAKE_FILE ("adm/cmake/vardescr") |
236 |
- |
237 |
-@@ -231,7 +233,7 @@ endif() |
238 |
- # place the libraries to <prefix>/lib folder for unix and leave old structure for windows |
239 |
- if (NOT DEFINED INSTALL_DIR_LIB) |
240 |
- if ("${INSTALL_DIR_LAYOUT}" STREQUAL "Unix") |
241 |
-- set (INSTALL_DIR_LIB "lib" CACHE PATH "${INSTALL_DIR_LIB_DESCR}") |
242 |
-+ set (INSTALL_DIR_LIB "lib${LIB_SUFFIX}" CACHE PATH "${INSTALL_DIR_LIB_DESCR}") |
243 |
- else() |
244 |
- set (INSTALL_DIR_LIB "${OS_WITH_BIT}/${COMPILER}/lib" CACHE PATH "${INSTALL_DIR_LIB_DESCR}") |
245 |
- endif() |
246 |
-@@ -315,9 +317,9 @@ endif() |
247 |
- if (NOT DEFINED INSTALL_DIR_CMAKE) |
248 |
- if ("${INSTALL_DIR_LAYOUT}" STREQUAL "Unix") |
249 |
- if (INSTALL_DIR_WITH_VERSION) |
250 |
-- set (INSTALL_DIR_CMAKE "lib/cmake/opencascade-${OCC_VERSION_STRING_EXT}" CACHE PATH "${INSTALL_DIR_CMAKE_DESCR}") |
251 |
-+ set (INSTALL_DIR_CMAKE "lib${LIB_SUFFIX}/cmake/opencascade-${OCC_VERSION_STRING_EXT}" CACHE PATH "${INSTALL_DIR_CMAKE_DESCR}") |
252 |
- else() |
253 |
-- set (INSTALL_DIR_CMAKE "lib/cmake/opencascade" CACHE PATH "${INSTALL_DIR_CMAKE_DESCR}") |
254 |
-+ set (INSTALL_DIR_CMAKE "lib${LIB_SUFFIX}/cmake/opencascade-${OCC_VERSION_STRING_EXT}" CACHE PATH "${INSTALL_DIR_CMAKE_DESCR}") |
255 |
- endif() |
256 |
- else() |
257 |
- set (INSTALL_DIR_CMAKE "cmake" CACHE PATH "${INSTALL_DIR_CMAKE_DESCR}") |
258 |
-@@ -868,10 +870,10 @@ if (${DRAWEXE_INDEX} GREATER -1) |
259 |
- # copy draw script to install script folder |
260 |
- if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/adm/templates/draw.${SCRIPT_EXT}") |
261 |
- install (FILES "${BUILD_PATCH}/adm/templates/draw.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" |
262 |
-- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) |
263 |
-+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |
264 |
- else() |
265 |
- install (FILES "${CMAKE_SOURCE_DIR}/adm/templates/draw.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" |
266 |
-- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) |
267 |
-+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |
268 |
- endif() |
269 |
- |
270 |
- # copy draw script to CMake binary folder |
271 |
-@@ -892,9 +894,9 @@ if (EXISTS "${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}/custom.${SCRIPT_EXT}") |
272 |
- |
273 |
- set (CUSTOM_CONTENT "${CUSTOM_CONTENT} ${ADDITIONAL_CUSTOM_CONTENT}") |
274 |
- |
275 |
-- file (WRITE "${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}/custom.${SCRIPT_EXT}" "${CUSTOM_CONTENT}") |
276 |
-+ file (WRITE "${CMAKE_BINARY_DIR}/custom.${SCRIPT_EXT}" "${CUSTOM_CONTENT}") |
277 |
- else() |
278 |
-- OCCT_CONFIGURE_AND_INSTALL ("adm/templates/custom.${SCRIPT_EXT}.main" "custom.${SCRIPT_EXT}" "custom.${SCRIPT_EXT}" "${INSTALL_DIR_SCRIPT}") |
279 |
-+ OCCT_CONFIGURE_AND_INSTALL ("adm/templates/custom.${SCRIPT_EXT}.main" "custom.${SCRIPT_EXT}" "custom.${SCRIPT_EXT}" "$ENV{DESTDIR}${INSTALL_DIR}/${INSTALL_DIR_SCRIPT}") |
280 |
- endif() |
281 |
- |
282 |
- if (WIN32) |
283 |
-@@ -1067,10 +1069,10 @@ if (BUILD_TOOL_TOOLKITS) |
284 |
- # copy tinspector script to install script folder |
285 |
- if (BUILD_PATCH AND EXISTS "${BUILD_PATCH}/adm/templates/inspector.${SCRIPT_EXT}") |
286 |
- install (FILES "${BUILD_PATCH}/adm/templates/inspector.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" |
287 |
-- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) |
288 |
-+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |
289 |
- else() |
290 |
- install (FILES "${CMAKE_SOURCE_DIR}/adm/templates/inspector.${SCRIPT_EXT}" DESTINATION "${INSTALL_DIR_SCRIPT}" |
291 |
-- PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_WRITE GROUP_EXECUTE WORLD_READ WORLD_WRITE WORLD_EXECUTE) |
292 |
-+ PERMISSIONS OWNER_READ OWNER_WRITE OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ WORLD_EXECUTE) |
293 |
- endif() |
294 |
- |
295 |
- set (OpenCASCADE_BINARY_DIR "${INSTALL_DIR}/${INSTALL_DIR_BIN}") |
296 |
-@@ -1122,7 +1124,7 @@ foreach (OCCT_CONFIGURATION ${CMAKE_CONFIGURATION_TYPES}) |
297 |
- endforeach() |
298 |
- # install OpenCASCADE config file with compile definitions and C/C++ flags ONLY for current configuration |
299 |
- install (CODE "string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWER)") |
300 |
--install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)") |
301 |
-+install (CODE "configure_file(\"${CMAKE_BINARY_DIR}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" \"\$ENV{DESTDIR}${INSTALL_DIR_CMAKE}/opencascade-${OCC_VERSION_STRING_EXT}/OpenCASCADECompileDefinitionsAndFlags-\${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake\" COPYONLY)") |
302 |
- |
303 |
- foreach (OCCT_MODULE ${OCCT_MODULES}) |
304 |
- if (BUILD_MODULE_${OCCT_MODULE}) |
305 |
-@@ -1163,7 +1165,7 @@ endif() |
306 |
- |
307 |
- # Configure and install cmake config file |
308 |
- configure_file("${CMAKE_SOURCE_DIR}/adm/templates/OpenCASCADEConfig.cmake.in" "OpenCASCADEConfig.cmake" @ONLY) |
309 |
--install(FILES "${CMAKE_BINARY_DIR}/OpenCASCADEConfig.cmake" DESTINATION "${INSTALL_DIR_CMAKE}") |
310 |
-+install(FILES "${CMAKE_BINARY_DIR}/OpenCASCADEConfig.cmake" DESTINATION "${INSTALL_DIR_CMAKE}/opencascade-${OCC_VERSION_STRING_EXT}") |
311 |
- |
312 |
- # Configure cmake version file |
313 |
- include(CMakePackageConfigHelpers) |
314 |
-@@ -1172,11 +1174,11 @@ write_basic_package_version_file( ${CMAKE_BINARY_DIR}/OpenCASCADEConfigVersion.c |
315 |
- COMPATIBILITY ExactVersion ) |
316 |
- |
317 |
- # Install cmake version file |
318 |
--install (FILES "${CMAKE_BINARY_DIR}/OpenCASCADEConfigVersion.cmake" DESTINATION "${INSTALL_DIR_CMAKE}") |
319 |
-+install (FILES "${CMAKE_BINARY_DIR}/OpenCASCADEConfigVersion.cmake" DESTINATION "${INSTALL_DIR_CMAKE}/opencascade-${OCC_VERSION_STRING_EXT}") |
320 |
- |
321 |
- # Install the export set for use with the install-tree for each configuration |
322 |
- foreach (OCCT_MODULE ${OCCT_MODULES_ENABLED}) |
323 |
-- install(EXPORT OpenCASCADE${OCCT_MODULE}Targets DESTINATION "${INSTALL_DIR_CMAKE}") |
324 |
-+ install(EXPORT OpenCASCADE${OCCT_MODULE}Targets DESTINATION "${INSTALL_DIR_CMAKE}/opencascade-${OCC_VERSION_STRING_EXT}") |
325 |
- endforeach() |
326 |
- |
327 |
- # Update generated OpenCASCADETargets-*.cmake files |
328 |
-diff --git a/adm/cmake/occt_macros.cmake b/adm/cmake/occt_macros.cmake |
329 |
-index 8220ecd5..228d801b 100644 |
330 |
---- a/adm/cmake/occt_macros.cmake |
331 |
-+++ b/adm/cmake/occt_macros.cmake |
332 |
-@@ -598,7 +598,7 @@ macro (OCCT_UPDATE_TARGET_FILE) |
333 |
- "cmake_policy(PUSH) |
334 |
- cmake_policy(SET CMP0007 NEW) |
335 |
- string (TOLOWER \"\${CMAKE_INSTALL_CONFIG_NAME}\" CMAKE_INSTALL_CONFIG_NAME_LOWERCASE) |
336 |
-- file (GLOB ALL_OCCT_TARGET_FILES \"${INSTALL_DIR}/${INSTALL_DIR_CMAKE}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\") |
337 |
-+ file (GLOB ALL_OCCT_TARGET_FILES \"\$ENV{DESTDIR}${INSTALL_DIR_CMAKE}/opencascade-${OCC_VERSION_STRING_EXT}/OpenCASCADE*Targets-\${CMAKE_INSTALL_CONFIG_NAME_LOWERCASE}.cmake\") |
338 |
- foreach(TARGET_FILENAME \${ALL_OCCT_TARGET_FILES}) |
339 |
- file (STRINGS \"\${TARGET_FILENAME}\" TARGET_FILE_CONTENT) |
340 |
- file (REMOVE \"\${TARGET_FILENAME}\") |
341 |
--- |
342 |
-2.23.0 |
343 |
- |
344 |
|
345 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0-fix-issue-with-cmake-path-variables.patch b/sci-libs/opencascade/files/opencascade-7.4.0-fix-issue-with-cmake-path-variables.patch |
346 |
deleted file mode 100644 |
347 |
index aacb642019f..00000000000 |
348 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0-fix-issue-with-cmake-path-variables.patch |
349 |
+++ /dev/null |
350 |
@@ -1,41 +0,0 @@ |
351 |
-From cefaa5bddedcb90a06d6ef8f0837a11619e5d87e Mon Sep 17 00:00:00 2001 |
352 |
-From: Bernd Waibel <waebbl-gentoo@××××××.net> |
353 |
-Date: Tue, 9 Feb 2021 20:58:43 +0100 |
354 |
-Subject: [PATCH] fix issue with cmake path variables |
355 |
- |
356 |
-Thanks to Fabio Rossi for reporting the issue. |
357 |
-Upstream bug: https://tracker.dev.opencascade.org/view.php?id=32035 |
358 |
- |
359 |
-Signed-off-by: Bernd Waibel <waebbl-gentoo@××××××.net> |
360 |
---- |
361 |
- adm/templates/OpenCASCADEConfig.cmake.in | 14 +------------- |
362 |
- 1 file changed, 1 insertion(+), 13 deletions(-) |
363 |
- |
364 |
-diff --git a/adm/templates/OpenCASCADEConfig.cmake.in b/adm/templates/OpenCASCADEConfig.cmake.in |
365 |
-index 4937103b..db99a8d1 100644 |
366 |
---- a/adm/templates/OpenCASCADEConfig.cmake.in |
367 |
-+++ b/adm/templates/OpenCASCADEConfig.cmake.in |
368 |
-@@ -16,19 +16,7 @@ set (OpenCASCADE_MINOR_VERSION "@OCC_VERSION_MINOR@") |
369 |
- set (OpenCASCADE_MAINTENANCE_VERSION "@OCC_VERSION_MAINTENANCE@") |
370 |
- set (OpenCASCADE_DEVELOPMENT_VERSION "@OCC_VERSION_DEVELOPMENT@") |
371 |
- |
372 |
--# Compute the installation prefix from this OpenCASCADEConfig.cmake file |
373 |
--# location, by going up one level + one level if "cmake" + one level if "lib". |
374 |
--# This is made to support different locations of CMake files: |
375 |
--# - in UNIX style: $INSTALL_DIR/lib/cmake/opencascade-<version> |
376 |
--# - in Windows style: $INSTALL_DIR/cmake |
377 |
--get_filename_component (OpenCASCADE_INSTALL_PREFIX "${CMAKE_CURRENT_LIST_FILE}" PATH) |
378 |
--get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH) |
379 |
--if (OpenCASCADE_INSTALL_PREFIX MATCHES "/cmake$") |
380 |
-- get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH) |
381 |
--endif() |
382 |
--if (OpenCASCADE_INSTALL_PREFIX MATCHES "/lib$") |
383 |
-- get_filename_component (OpenCASCADE_INSTALL_PREFIX "${OpenCASCADE_INSTALL_PREFIX}" PATH) |
384 |
--endif() |
385 |
-+set (OpenCASCADE_INSTALL_PREFIX "$ENV{CASROOT}") |
386 |
- |
387 |
- # Set OpenCASCADE paths to headers, binaries, libraries, resources, tests, samples, data |
388 |
- set (OpenCASCADE_BINARY_DIR "${OpenCASCADE_INSTALL_PREFIX}/@INSTALL_DIR_BIN@") |
389 |
--- |
390 |
-2.30.0 |
391 |
- |
392 |
|
393 |
diff --git a/sci-libs/opencascade/files/opencascade-7.4.0.env.in b/sci-libs/opencascade/files/opencascade-7.4.0.env.in |
394 |
deleted file mode 100644 |
395 |
index cf7cc6a724d..00000000000 |
396 |
--- a/sci-libs/opencascade/files/opencascade-7.4.0.env.in |
397 |
+++ /dev/null |
398 |
@@ -1,103 +0,0 @@ |
399 |
-# |
400 |
-# This file sets needed and optional environment variables for |
401 |
-# Open CASCADE Technology |
402 |
-# |
403 |
-# See: https://dev.opencascade.org/doc/overview/html/index.html#OCCT_OVW_SECTION_4_2 |
404 |
-# for further documentation. |
405 |
-# |
406 |
-# Some of the values are set at compile time depending on what USE flags |
407 |
-# were enabled. Those values are marked as such. |
408 |
- |
409 |
-# define the root directory of Open CASCADE Technology (needed) |
410 |
-CASROOT=VAR_CASROOT |
411 |
-# PATH and LDPATH are used to find the binaries and libraries of OCCT (needed) |
412 |
-PATH=VAR_CASROOT/bin |
413 |
-LDPATH=VAR_CASROOT/lib |
414 |
- |
415 |
-############################################################################# |
416 |
-# The MMGT_* variables are used to determine how memory management will work |
417 |
-# in OCCT. All of those are optional. If they are not set here, their default |
418 |
-# values will be used. |
419 |
-# |
420 |
-# Uncomment or change the ones you need to adapt from its default. |
421 |
-############################################################################# |
422 |
-# MMGT_OPT = {0,1,2} (default: 0) set at compile time |
423 |
-# if set to 0 (the default), every memory block is allocated in C |
424 |
-# memory heap directly (via malloc() and free()). Will be set, if |
425 |
-# neither the the 'optimize' nor the 'tbb' USE flags are set. |
426 |
-# if set to 1, the memory manager performs it's own internal optimization. |
427 |
-# Will be set, if the 'optimize' USE flag is set. |
428 |
-# if set to 2, Intel(R) TBB optimized memory manager is used. Will be set, |
429 |
-# if the 'tbb' USE flag is set. |
430 |
-#MMGT_OPT=0 |
431 |
- |
432 |
-# MMGT_CLEAR = {0,1} (default: 1) |
433 |
-# if set to 0, memory block is returned as it is. Will be set, if the |
434 |
-# 'optimize' USE flag is set |
435 |
-# if set to 1, every allocated memory block is cleared by zeros |
436 |
-#MMGT_CLEAR=1 |
437 |
- |
438 |
-# MMGT_CELLSIZE (default: 200) |
439 |
-# defines the maximal size of blocks allocated in large pools of memory. |
440 |
-#MMGT_CELLSIZE=200 |
441 |
- |
442 |
-# MMGT_NBPAGES (default: 10000) |
443 |
-# defines the size of memory chunks allocated for small blocks in pages |
444 |
-# (OS dependant) |
445 |
-#MMGT_NBPAGES=10000 |
446 |
- |
447 |
-# MMGT_THRESHOLD (default: 40000) |
448 |
-# defines the maximal size of blocks that are recycled internally instead |
449 |
-# of being returned to the heap. |
450 |
-#MMGT_THRESHOLD=40000 |
451 |
- |
452 |
-# MMGT_MMAP = {0,1} (default: 1) |
453 |
-# if set to 0, large memory blocks will be allocated in the C heap by |
454 |
-# malloc() |
455 |
-# if set to 1, large memory blocks are allocated using memory mapping |
456 |
-# functions of the operating system. |
457 |
-#MMGT_MMAP=1 |
458 |
- |
459 |
-# CSF_LANGUAGE (default: us) optional |
460 |
-# defines the default language of messages indicated by a two-letter |
461 |
-# country code. Currently it's not verified if this work with other |
462 |
-# than the default languages, so we keep it commented. |
463 |
-#CSF_LANGUAGE=us |
464 |
- |
465 |
-# CSF_DEBUG_BOP (default: undefined) optional |
466 |
-# if defined then it should specify the directory where diagnostic data |
467 |
-# on problems occured in Boolean operations will be saved. Not defined by |
468 |
-# default. |
469 |
-# |
470 |
-# NOTE: Only enable for debugging purposes. If set, this variable has a |
471 |
-# large impact on the performance of boolean operations. |
472 |
-#CSF_DEBUG_BOP=/var/tmp |
473 |
- |
474 |
-# CSF_EXCEPTION_PROMPT (default: 1) optional |
475 |
-# not documented upstream (maybe a flag indicating whether the user shall |
476 |
-# be prompted in the case of exceptions) |
477 |
-#CSF_EXCEPTION_PROMPT=1 |
478 |
- |
479 |
-# The following CSF_* variables define various directories and files where |
480 |
-# OCCT is looking for resources. |
481 |
-CSF_GraphicShr=VAR_CASROOT/lib/libTKOpenGl.so |
482 |
-CSF_MIGRATION_TYPES=VAR_CASROOT/share/opencascade/resources/StdResource/MigrationSheet.txt |
483 |
-CSF_MDTVTexturesDirectory=VAR_CASROOT/share/opencascade/resources/Textures |
484 |
-CSF_PluginDefaults=VAR_CASROOT/share/opencascade/resources/StdResource |
485 |
-CSF_StandardDefaults=VAR_CASROOT/share/opencascade/resources/StdResource |
486 |
-CSF_StandardLiteDefaults=VAR_CASROOT/share/opencascade/resources/StdResource |
487 |
-CSF_XCAFDefaults=VAR_CASROOT/share/opencascade/resources/StdResource |
488 |
-CSF_XmlOcafResource=VAR_CASROOT/share/opencascade/resources/XmlOcafResource |
489 |
-# The below values might be optional. |
490 |
-CSF_IGESDefaults=VAR_CASROOT/share/opencascade/resources/XSTEPResource |
491 |
-CSF_ShadersDirectory=VAR_CASROOT/share/opencascade/resources/Shaders |
492 |
-CSF_SHMessage=VAR_CASROOT/share/opencascade/resources/SHMessage |
493 |
-CSF_STEPDefaults=VAR_CASROOT/share/opencascade/resources/XSTEPResource |
494 |
-CSF_UnitsDefinition=VAR_CASROOT/share/opencascade/resources/UnitsAPI/Units.dat |
495 |
-CSF_XSMessage=VAR_CASROOT/share/opencascade/resources/XSMessage |
496 |
- |
497 |
-# TODO: check those |
498 |
-# they were defined in the original ebuild but the directories and files |
499 |
-# are not present in the current installation. |
500 |
-#CSF_MDTVFontDirectory=VAR_CASROOT/src/FontMFT |
501 |
-#CSF_UnitsLexicon=VAR_CASROOT/src/UnitsAPI/Lexi_Expr.dat |
502 |
|
503 |
diff --git a/sci-libs/opencascade/metadata.xml b/sci-libs/opencascade/metadata.xml |
504 |
index b0acd7390fe..fe7ad33b952 100644 |
505 |
--- a/sci-libs/opencascade/metadata.xml |
506 |
+++ b/sci-libs/opencascade/metadata.xml |
507 |
@@ -16,9 +16,6 @@ |
508 |
<flag name="gles2"> |
509 |
Use OpenGL ES 2.0 |
510 |
</flag> |
511 |
- <flag name="inspector"> |
512 |
- Build the OCCT inspector tool for low-level data inspection |
513 |
- </flag> |
514 |
<flag name="json"> |
515 |
Enable JSON support through <pkg>dev-libs/rapidjson</pkg> |
516 |
</flag> |
517 |
|
518 |
diff --git a/sci-libs/opencascade/opencascade-7.4.0-r5.ebuild b/sci-libs/opencascade/opencascade-7.4.0-r5.ebuild |
519 |
deleted file mode 100644 |
520 |
index b6dbf4121d0..00000000000 |
521 |
--- a/sci-libs/opencascade/opencascade-7.4.0-r5.ebuild |
522 |
+++ /dev/null |
523 |
@@ -1,147 +0,0 @@ |
524 |
-# Copyright 1999-2021 Gentoo Authors |
525 |
-# Distributed under the terms of the GNU General Public License v2 |
526 |
- |
527 |
-# TODO: |
528 |
-# check the src files referenced in 51opencascade, i.e. resources and the like |
529 |
-# check where cmake gets it's '-s' linker flag to avoid pre-stripping (QA) |
530 |
- |
531 |
-EAPI=7 |
532 |
- |
533 |
-inherit check-reqs cmake flag-o-matic java-pkg-opt-2 |
534 |
- |
535 |
-MY_PV="$(ver_rs 1- '_')" |
536 |
- |
537 |
-DESCRIPTION="Development platform for CAD/CAE, 3D surface/solid modeling and data exchange" |
538 |
-HOMEPAGE="https://www.opencascade.com" |
539 |
-SRC_URI="https://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V${MY_PV};sf=tgz -> ${P}.tar.gz" |
540 |
-S="${WORKDIR}/occt-V${MY_PV}" |
541 |
- |
542 |
-LICENSE="|| ( Open-CASCADE-LGPL-2.1-Exception-1.0 LGPL-2.1 )" |
543 |
-SLOT="${PV}" |
544 |
-KEYWORDS="~amd64 ~arm64 ~x86" |
545 |
-IUSE="debug doc +examples ffmpeg freeimage gles2 inspector java optimize qt5 tbb +vtk" |
546 |
- |
547 |
-REQUIRED_USE=" |
548 |
- inspector? ( qt5 ) |
549 |
- qt5? ( examples ) |
550 |
- ?? ( optimize tbb ) |
551 |
-" |
552 |
- |
553 |
-RDEPEND=" |
554 |
- app-eselect/eselect-opencascade |
555 |
- dev-cpp/eigen |
556 |
- dev-lang/tcl:0= |
557 |
- dev-lang/tk:0= |
558 |
- dev-tcltk/itcl |
559 |
- dev-tcltk/itk |
560 |
- dev-tcltk/tix |
561 |
- media-libs/freetype:2 |
562 |
- media-libs/ftgl |
563 |
- virtual/glu |
564 |
- virtual/opengl |
565 |
- x11-libs/libXmu |
566 |
- ffmpeg? ( media-video/ffmpeg ) |
567 |
- freeimage? ( media-libs/freeimage ) |
568 |
- java? ( virtual/jdk:1.8 ) |
569 |
- qt5? ( |
570 |
- dev-qt/qtcore:5 |
571 |
- dev-qt/qtgui:5 |
572 |
- dev-qt/qtquickcontrols2:5 |
573 |
- dev-qt/qtwidgets:5 |
574 |
- dev-qt/qtxml:5 |
575 |
- ) |
576 |
- tbb? ( dev-cpp/tbb:= ) |
577 |
- vtk? ( |
578 |
- >=sci-libs/vtk-8.1.0[rendering] |
579 |
- <sci-libs/vtk-9 |
580 |
- ) |
581 |
-" |
582 |
-DEPEND="${RDEPEND}" |
583 |
-BDEPEND=" |
584 |
- doc? ( app-doc/doxygen ) |
585 |
- qt5? ( dev-qt/linguist-tools:5 ) |
586 |
-" |
587 |
- |
588 |
-# There's no easy way to test. Testing needs a rather big environment |
589 |
-# properly set up. |
590 |
-RESTRICT="test" |
591 |
- |
592 |
-CHECKREQS_MEMORY="256M" |
593 |
-CHECKREQS_DISK_BUILD="3584M" |
594 |
- |
595 |
-CMAKE_BUILD_TYPE=Release |
596 |
- |
597 |
-PATCHES=( |
598 |
- "${FILESDIR}/${P}-find-qt.patch" |
599 |
- "${FILESDIR}/${P}-fix-install.patch" |
600 |
- "${FILESDIR}/${P}-fix-issue-with-cmake-path-variables.patch" |
601 |
- "${FILESDIR}/${P}-Gentoo-specific-avoid-pre-stripping-files.patch" |
602 |
- "${FILESDIR}/${P}-fix-flow-control-nesting.patch" |
603 |
-) |
604 |
- |
605 |
-pkg_setup() { |
606 |
- check-reqs_pkg_setup |
607 |
- use java && java-pkg-opt-2_pkg_setup |
608 |
-} |
609 |
- |
610 |
-src_prepare() { |
611 |
- cmake_src_prepare |
612 |
- use java && java-pkg-opt-2_src_prepare |
613 |
-} |
614 |
- |
615 |
-src_configure() { |
616 |
- local mycmakeargs=( |
617 |
- -DBUILD_DOC_Overview=$(usex doc) |
618 |
- -DBUILD_Inspector=$(usex inspector) |
619 |
- -DBUILD_WITH_DEBUG=$(usex debug) |
620 |
- -DCMAKE_CONFIGURATION_TYPES="Gentoo" |
621 |
- -DCMAKE_INSTALL_PREFIX="/usr/$(get_libdir)/${P}/ros" |
622 |
- -DINSTALL_DIR_DOC="/usr/share/doc/${PF}" |
623 |
- -DINSTALL_DIR_CMAKE="/usr/$(get_libdir)/cmake" |
624 |
- -DINSTALL_SAMPLES=$(usex examples) |
625 |
- -DINSTALL_TEST_CASES=NO |
626 |
- -DUSE_D3D=no |
627 |
- -DUSE_FFMPEG=$(usex ffmpeg) |
628 |
- -DUSE_FREEIMAGE=$(usex freeimage) |
629 |
- -DUSE_GLES2=$(usex gles2) |
630 |
- -DUSE_TBB=$(usex tbb) |
631 |
- -DUSE_VTK=$(usex vtk) |
632 |
- ) |
633 |
- |
634 |
- use doc && mycmakeargs+=( -DINSTALL_DOC_Overview=ON ) |
635 |
- use examples && mycmakeargs+=( -DBUILD_SAMPLES_QT=$(usex qt5) ) |
636 |
- |
637 |
- cmake_src_configure |
638 |
- |
639 |
- # prepare /etc/env.d file |
640 |
- sed -e 's|VAR_CASROOT|'${ESYSROOT}'/usr/'$(get_libdir)'/'${P}'/ros|g' < "${FILESDIR}/${P}.env.in" >> "${T}/${PV}" || die |
641 |
- sed -i -e 's|ros/lib|ros/'$(get_libdir)'|' "${T}/${PV}" || die |
642 |
- |
643 |
- # use TBB for memory allocation optimizations? |
644 |
- use tbb && (sed -i -e 's|^#MMGT_OPT=0$|MMGT_OPT=2|' "${T}/${PV}" || die) |
645 |
- |
646 |
- if use optimize ; then |
647 |
- # use internal optimized memory manager? |
648 |
- sed -i -e 's|^#MMGT_OPT=0$|MMGT_OPT=1|' "${T}/${PV}" || die |
649 |
- # don't clear memory ? |
650 |
- sed -i -e 's|^#MMGT_CLEAR=1$|MMGT_CLEAR=0|' "${T}/${PV}" || die |
651 |
- fi |
652 |
-} |
653 |
- |
654 |
-src_install() { |
655 |
- cmake_src_install |
656 |
- |
657 |
- # respect slotting |
658 |
- insinto "/etc/env.d/${PN}" |
659 |
- doins "${T}/${PV}" |
660 |
- |
661 |
- # remove examples |
662 |
- use examples || (rm -rf "${ED}/usr/$(get_libdir)/${P}/ros/share/${PN}/samples" || die) |
663 |
- use java || (rm -rf "${ED}/usr/$(get_libdir)/${P}/ros/share/${PN}/samples/java" || die) |
664 |
- use qt5 || (rm -rf "${ED}/usr/$(get_libdir)/${P}/ros/share/${PN}/samples/qt" || die) |
665 |
-} |
666 |
- |
667 |
-pkg_postinst() { |
668 |
- eselect ${PN} set ${PV} || die "failed to switch to updated implementation" |
669 |
- einfo "You can switch between available ${PN} implementations using eselect ${PN}" |
670 |
-} |