Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / pyside2-tools / remove_hacky_binary_copying.patch
blob19dd8aaf101c18f229ec7795c687da57b0ffeb99
1 --- pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt~ 2020-07-17 10:51:14.498291075 +0200
2 +++ pyside-setup-opensource-src-5.14.2/sources/pyside2-tools/CMakeLists.txt 2020-07-17 10:52:20.165336508 +0200
3 @@ -46,47 +46,6 @@
4 set(EXE_EXT "")
5 endif()
7 -set(TOOLS_PATH "${_qt5Core_install_prefix}/bin")
8 -set(UIC_PATH "${TOOLS_PATH}/uic${EXE_EXT}")
9 -set(RCC_PATH "${TOOLS_PATH}/rcc${EXE_EXT}")
10 -if (APPLE)
11 - set(DESIGNER_PATH "${TOOLS_PATH}/Designer.app")
12 -else()
13 - set(DESIGNER_PATH "${TOOLS_PATH}/designer${EXE_EXT}")
14 -endif()
16 -install(FILES "${UIC_PATH}"
17 - DESTINATION bin
18 - PERMISSIONS
19 - OWNER_EXECUTE OWNER_WRITE OWNER_READ
20 - GROUP_EXECUTE GROUP_READ
21 - WORLD_EXECUTE WORLD_READ)
23 -install(FILES "${RCC_PATH}"
24 - DESTINATION bin
25 - PERMISSIONS
26 - OWNER_EXECUTE OWNER_WRITE OWNER_READ
27 - GROUP_EXECUTE GROUP_READ
28 - WORLD_EXECUTE WORLD_READ)
30 -if (EXISTS ${DESIGNER_PATH})
31 - if (APPLE)
32 - install(DIRECTORY "${DESIGNER_PATH}"
33 - DESTINATION bin
34 - FILE_PERMISSIONS
35 - OWNER_EXECUTE OWNER_WRITE OWNER_READ
36 - GROUP_EXECUTE GROUP_READ
37 - WORLD_EXECUTE WORLD_READ)
38 - else()
39 - install(FILES "${DESIGNER_PATH}"
40 - DESTINATION bin
41 - PERMISSIONS
42 - OWNER_EXECUTE OWNER_WRITE OWNER_READ
43 - GROUP_EXECUTE GROUP_READ
44 - WORLD_EXECUTE WORLD_READ)
45 - endif()
46 -endif()
48 configure_file("${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake"
49 "${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake"
50 IMMEDIATE @ONLY)