Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Qt5] Update to 5.12.7 and add missing qt submodules #9860

Closed
wants to merge 111 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
111 commits
Select commit Hold shift + click to select a range
6998128
make qt5 all features and add the missing qt modules
Neumann-A Nov 25, 2019
0ceda59
fix control
Neumann-A Nov 25, 2019
2d3447f
qt5 webengine enviromnent setup
Neumann-A Nov 25, 2019
f19e368
copy qtminimal plugin to tools
Neumann-A Jan 11, 2020
98eb8ac
add opengles3 option for testing
Neumann-A Jan 11, 2020
880edcd
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Jan 11, 2020
6e7c510
[qt5-imageformats] freeglut is not a dependency on osx
Neumann-A Jan 15, 2020
a6265b8
[qt5-base] fontconfig can require iconv on linux and osx
Neumann-A Jan 15, 2020
e99b626
include the jasper fix to get CI coverage?
Neumann-A Jan 15, 2020
8b9b188
trying to get ci coverage for qt on osx
Neumann-A Jan 15, 2020
56b493f
Revert "trying to get ci coverage for qt on osx"
Neumann-A Jan 15, 2020
7058612
apply the correct ci hack
Neumann-A Jan 15, 2020
bf12fef
fix wrapper to include macosx debug suffix
Neumann-A Jan 16, 2020
486580c
update baseline
Neumann-A Jan 16, 2020
1a744c9
first try to fix the Qt5 cmake configs at the root.
Neumann-A Jan 16, 2020
baaa467
fix missing backslash
Neumann-A Jan 16, 2020
65531c3
fix plugin patch
Neumann-A Jan 16, 2020
0c3767c
fix qt config patch
Neumann-A Jan 16, 2020
795acd0
remove 90% of fixcmake.py
Neumann-A Jan 16, 2020
2c43ad4
update baseline
Neumann-A Jan 16, 2020
430e311
experimental removal of fixcmake.py and dll copying into tools/qt5/bin
Neumann-A Jan 16, 2020
7957d50
fix experimental dll copying.
Neumann-A Jan 16, 2020
a7d5029
fix static windows builds
Neumann-A Jan 16, 2020
d62c0ee
fix static builds
Neumann-A Jan 16, 2020
8da5f7e
fix plugin copy
Neumann-A Jan 16, 2020
cf1ff50
add quotes around configuration to make it work
Neumann-A Jan 16, 2020
136322c
remove dll debug messages
Neumann-A Jan 16, 2020
d0446cf
note about the cmake fix
Neumann-A Jan 17, 2020
4779bc0
revert fontconfig changes on linux. Make qt.conf relative and not abs…
Neumann-A Jan 17, 2020
728e9bd
make qt.conf relative
Neumann-A Jan 17, 2020
708d825
trying to fix ogre osx ci regression
Neumann-A Jan 17, 2020
d4797af
fix silly path error
Neumann-A Jan 17, 2020
ddb9443
Revert "trying to fix ogre osx ci regression"
Neumann-A Jan 17, 2020
e4b66ea
add ogre:x64-osx=fail to CI baseline
Neumann-A Jan 17, 2020
473f004
retry on osx
Neumann-A Jan 17, 2020
04f4209
fix configure error. since in qt5-base everything is in the package d…
Neumann-A Jan 17, 2020
50e4600
Merge branch 'master' into fix_osx_qt_2
Neumann-A Jan 22, 2020
a03d3d1
revert change to ci.baseline
Neumann-A Jan 22, 2020
b039084
update ci baseline
Neumann-A Jan 23, 2020
1d53d03
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Jan 31, 2020
a5906ea
Merge remote-tracking branch 'origin/fix_osx_qt_2' into make_qt_metap…
Neumann-A Jan 31, 2020
cfd3f62
update Qt Control fields
Neumann-A Jan 31, 2020
8300fae
update qt hashes to 5.12.7
Neumann-A Jan 31, 2020
122737a
Merge branch 'make_qt_metaport_feature' of https://github.com/Neumann…
Neumann-A Jan 31, 2020
2ea3d69
update baseline
Neumann-A Jan 31, 2020
19cc23c
fix linux qt targets not having debug properties.
Neumann-A Jan 31, 2020
d8ad806
remove most of the wrapper
Neumann-A Jan 31, 2020
eb275ca
actual forgot to commit the prl parser
Neumann-A Feb 1, 2020
48e26c3
fix the config a bit differently. have to check linux configs again
Neumann-A Feb 1, 2020
9a4fca4
add xlib patch.
Neumann-A Feb 1, 2020
cdfc168
make qt-base fail to get logs on linux
Neumann-A Feb 2, 2020
2951e32
Need logs from qt5-base
Neumann-A Feb 2, 2020
008618a
update versions I missed
Neumann-A Feb 2, 2020
85fb498
ws change
Neumann-A Feb 3, 2020
c6358d0
lets see if this is enough to make qt5-x11extras happy
Neumann-A Feb 3, 2020
a41b85e
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Feb 3, 2020
deb63a1
add upstream patch.
Neumann-A Feb 4, 2020
78a6a3f
add newline to patch
Neumann-A Feb 4, 2020
33ce383
ws change to trigger rebuild and maybe get logs on osx failure
Neumann-A Feb 4, 2020
5dbc54a
need generated cmakescripts to check linkage.
Neumann-A Feb 5, 2020
d5e1c2a
rename cmake files to end on .log so that i can inspect them after CI…
Neumann-A Feb 6, 2020
0a94050
fix patch
Neumann-A Feb 6, 2020
e1679af
make qt run
Neumann-A Feb 6, 2020
8499288
androidextras only supports android
Neumann-A Feb 7, 2020
1b2b7ed
qt5-doc will only be build on linux
Neumann-A Feb 7, 2020
bd455c2
ws ci trigger due to download failure
Neumann-A Feb 7, 2020
a3b6d7f
WS to retrigger CI due to download failure
Neumann-A Feb 7, 2020
5b92cda
add code for debug tools
Neumann-A Feb 7, 2020
4dd81cd
lets see if we can do it with only the release tools
Neumann-A Feb 7, 2020
48d28a3
update baseline
Neumann-A Feb 7, 2020
7e092e7
fix create link error on linx
Neumann-A Feb 7, 2020
d8cc5ff
update baseline
Neumann-A Feb 7, 2020
7f56f32
revert changes which tried to use release tools only
Neumann-A Feb 8, 2020
6baa1c0
fix dependencies
Neumann-A Feb 9, 2020
2fe84eb
add debug qt.conf
Neumann-A Feb 9, 2020
3b9154f
add another copyright install
Neumann-A Feb 9, 2020
aee7404
qtdoc does not have any include files
Neumann-A Feb 9, 2020
f5a4884
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Feb 10, 2020
351ef69
fix wrong copy pasta
Neumann-A Feb 10, 2020
ac205c0
Merge branch 'master' into fix_osx_qt_2
Neumann-A Feb 14, 2020
42c1085
patch precompiled headers away from qt5-webengine
Neumann-A Feb 19, 2020
478c8cb
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Feb 19, 2020
45a2b8c
fix patch for 5.12.7. (Patch was for 5.14.1)
Neumann-A Feb 20, 2020
03e42a1
trigger CI rebuild
Neumann-A Feb 21, 2020
a69ad4f
add simple gl path to fix the chormium build error
Neumann-A Feb 21, 2020
cbf5790
comment out debug message from prl parser
Neumann-A Feb 21, 2020
e1b0f47
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Feb 21, 2020
b8988ef
Merge remote-tracking branch 'upstream/master' into fix_osx_qt_2
Neumann-A Feb 25, 2020
90521fd
bump control
Neumann-A Feb 25, 2020
e9c0dfd
Merge branch 'fix_osx_qt_2' into make_qt_metaport_feature
Neumann-A Feb 25, 2020
2095dc1
update webengine control
Neumann-A Feb 25, 2020
f22eb69
update CI to skip webengine.
Neumann-A Feb 25, 2020
0bd892e
update baseline
Neumann-A Feb 26, 2020
108d47f
ws change to osg-qt
Neumann-A Feb 26, 2020
22ab675
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Feb 26, 2020
af68916
remove kd-soap from faillist
Neumann-A Mar 4, 2020
250b3ec
Merge branch 'master' into fix_osx_qt_2
Neumann-A Mar 5, 2020
b44bd0c
reset ci baseline to upstream/master
Neumann-A Mar 10, 2020
276e43d
Merge remote-tracking branch 'upstream/master' into fix_osx_qt_2
Neumann-A Mar 10, 2020
ed966fb
update baseline
Neumann-A Mar 10, 2020
4fa5b57
fix osg-qt?
Neumann-A Mar 10, 2020
40b9c87
skip ms-angle on osx and linux since the normal angle port should be …
Neumann-A Mar 10, 2020
47c2ae3
update ci baseline
Neumann-A Mar 10, 2020
c317b90
try adding fontconfig manually
Neumann-A Mar 10, 2020
6842aa9
update ci baseline to remove osg-qt for the time being
Neumann-A Mar 10, 2020
30c5687
remove manual library.
Neumann-A Mar 10, 2020
a0aaf47
Merge branch 'fix_osx_qt_2' into make_qt_metaport_feature
Neumann-A Mar 10, 2020
38b34fa
Merge remote-tracking branch 'upstream/master' into fix_osx_qt_2
Neumann-A Mar 17, 2020
63c51af
Merge branch 'fix_osx_qt_2' into make_qt_metaport_feature
Neumann-A Mar 20, 2020
fccd2da
Merge remote-tracking branch 'upstream/master' into make_qt_metaport_…
Neumann-A Mar 20, 2020
1f3a343
update baseline
Neumann-A Mar 21, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ports/cutelyst2/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if (VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL static)
set(BUILD_WIN_STATIC ON)
endif()

vcpkg_configure_cmake(
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS
Expand Down
4 changes: 2 additions & 2 deletions ports/osg-qt/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: osg-qt
Version: Qt4
Description: osgQt - Qt project for making use of OpenSceneGraph(OSG)
Version: Qt4-1
Description: osgQt - Qt project for making use of OpenSceneGraph(OSG)
Build-Depends: osg, protobuf, qt5-base
11 changes: 7 additions & 4 deletions ports/osg-qt/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
include(vcpkg_common_functions)

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO openscenegraph/osgQt
REF Qt4
SHA512 426a4ba88f680978d24817248b99c68cafa4517144e6e3d2480612870c4a224bb955539cacb438274d4ee1c93c36d94f8437d142070b2ecde2b81517bf357e71
HEAD_REF master
PATCHES
PATCHES
OsgMacroUtils.patch
)

if(VCPKG_TARGET_IS_OSX)
string(APPEND VCPKG_CXX_FLAGS " -stdlib=libc++")
string(APPEND VCPKG_C_FLAGS "") # both must be set
endif()

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
Expand All @@ -22,5 +25,5 @@ vcpkg_install_cmake()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

# Handle License
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/osg-qt)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/osg-qt/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/osg-qt/copyright)
file(COPY ${SOURCE_PATH}/LICENSE.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT})
file(RENAME ${CURRENT_PACKAGES_DIR}/share/${PORT}/LICENSE.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
2 changes: 1 addition & 1 deletion ports/pango/CONTROL
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Source: pango
Version: 1.40.11-6
Homepage: https://ftp.gnome.org/pub/GNOME/sources/pango/
Description: Text and font handling library.
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz[glib] (!(windows&static))
Build-Depends: glib, gettext, cairo, fontconfig, freetype, harfbuzz[glib] (!(windows&static)&!osx)
2 changes: 1 addition & 1 deletion ports/qt5-3d/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Source: qt5-3d
Version: 5.12.5-1
Version: 5.12.7
Description: Qt5 3d Module - Functionality for near-realtime simulation systems with support for 2D and 3D rendering
Build-Depends: qt5-base, qt5-declarative, qt5-imageformats, qt5-gamepad
2 changes: 1 addition & 1 deletion ports/qt5-activeqt/CONTROL
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Source: qt5-activeqt
Version: 5.12.5-1
Version: 5.12.7
Description: Qt5 ActiveQt Module - ActiveX components
Build-Depends: qt5-base
Supports: windows
5 changes: 5 additions & 0 deletions ports/qt5-androidextras/CONTROL
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Source: qt5-androidextras
Version: 5.12.7
Description: Qt5 androidextras Module;
Build-Depends: qt5-base
Supports: android
2 changes: 2 additions & 0 deletions ports/qt5-androidextras/portfile.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
include(${CURRENT_INSTALLED_DIR}/share/qt5/qt_port_functions.cmake)
qt_submodule_installation()
16 changes: 8 additions & 8 deletions ports/qt5-base/CONTROL
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Source: qt5-base
Version: 5.12.5-11
Homepage: https://www.qt.io/
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl, angle (!windows), egl-registry, icu (!uwp), fontconfig (!windows)

Feature: latest
Description: Build latest qt version (5.13.1) instead of LTS
Source: qt5-base
Version: 5.12.7
Homepage: https://www.qt.io/
Description: Qt5 Application Framework Base Module. Includes Core, GUI, Widgets, Networking, SQL, Concurrent and other essential qt components.
Build-Depends: zlib, libjpeg-turbo, libpng, freetype, pcre2, harfbuzz, sqlite3, libpq, double-conversion, openssl, angle (!windows), egl-registry, icu (!uwp), fontconfig (!windows)
Feature: latest
Description: Build latest qt version (5.13.1) instead of LTS
2 changes: 2 additions & 0 deletions ports/qt5-base/cmake/configure_qt.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ function(configure_qt)
-extprefix ${CURRENT_INSTALLED_DIR}
${EXT_BIN_DIR}
-hostprefix ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}
#-hostprefix ${CURRENT_INSTALLED_DIR}/tools/qt5
-hostlibdir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}/lib # could probably be move to manual-link
-hostbindir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}/bin
#-hostbindir ${CURRENT_INSTALLED_DIR}/tools/qt5/bin
# Qt VS Plugin requires a /bin subfolder with the executables in the root dir. But to use the wizard a correctly setup lib folder is also required
# So with the vcpkg layout there is no way to make it work unless all dll are are copied to tools/qt5/bin and all libs to tools/qt5/lib
-archdatadir ${CURRENT_INSTALLED_DIR}/tools/qt5${_path_suffix_${_buildname}}
Expand Down
45 changes: 45 additions & 0 deletions ports/qt5-base/cmake/qt_build_submodule.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,51 @@ function(qt_build_submodule SOURCE_PATH)
endforeach()
if(EXISTS "${CURRENT_PACKAGES_DIR}/tools/qt5/bin")
file(COPY "${CURRENT_PACKAGES_DIR}/tools/qt5/bin" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}")

set(CURRENT_INSTALLED_DIR_BACKUP "${CURRENT_INSTALLED_DIR}")
set(CURRENT_INSTALLED_DIR "./../../.." ) # Making the qt.conf relative and not absolute
configure_file(${CURRENT_INSTALLED_DIR_BACKUP}/tools/qt5/qt_release.conf ${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/qt.conf) # This makes the tools at least useable for release
set(CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR_BACKUP}")

vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin")
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
file(GLOB_RECURSE DLL_DEPS_AVAIL "${CURRENT_INSTALLED_DIR}/tools/qt5/bin/*.dll")
string(REPLACE "${CURRENT_INSTALLED_DIR}/tools/qt5/bin/" "" DLL_DEPS_AVAIL "${DLL_DEPS_AVAIL}")
file(GLOB_RECURSE DLL_DEPS_NEEDED "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/*.dll")
string(REPLACE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/" "" DLL_DEPS_NEEDED "${DLL_DEPS_NEEDED}")
if(DLL_DEPS_AVAIL AND DLL_DEPS_NEEDED)
list(REMOVE_ITEM DLL_DEPS_NEEDED ${DLL_DEPS_AVAIL})
endif()
foreach(dll_dep ${DLL_DEPS_NEEDED})
string(REGEX REPLACE "[^/]+$" "" dll_subpath "${dll_dep}")
file(COPY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/${dll_dep}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/qt5/bin/${dll_subpath}")
endforeach()
endif()
endif()

#This should be removed if somehow possible
if(EXISTS "${CURRENT_PACKAGES_DIR}/debug/tools/qt5/bin")
file(COPY "${CURRENT_PACKAGES_DIR}/debug/tools/qt5/bin" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug")

set(CURRENT_INSTALLED_DIR_BACKUP "${CURRENT_INSTALLED_DIR}")
set(CURRENT_INSTALLED_DIR "./../../../.." ) # Making the qt.conf relative and not absolute
configure_file(${CURRENT_INSTALLED_DIR_BACKUP}/tools/qt5/qt_debug.conf ${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/qt.conf) # This makes the tools at least useable for release
set(CURRENT_INSTALLED_DIR "${CURRENT_INSTALLED_DIR_BACKUP}")

vcpkg_copy_tool_dependencies("${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin")
if(VCPKG_TARGET_IS_WINDOWS AND VCPKG_LIBRARY_LINKAGE STREQUAL "dynamic")
file(GLOB_RECURSE DLL_DEPS_AVAIL "${CURRENT_INSTALLED_DIR}/tools/qt5/debug/bin/*.dll")
string(REPLACE "${CURRENT_INSTALLED_DIR}/tools/qt5/debug/bin/" "" DLL_DEPS_AVAIL "${DLL_DEPS_AVAIL}")
file(GLOB_RECURSE DLL_DEPS_NEEDED "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/*.dll")
string(REPLACE "${CURRENT_PACKAGES_DIR}/tools/${PORT}/bin/" "" DLL_DEPS_NEEDED "${DLL_DEPS_NEEDED}")
if(DLL_DEPS_AVAIL AND DLL_DEPS_NEEDED)
list(REMOVE_ITEM DLL_DEPS_NEEDED ${DLL_DEPS_AVAIL})
endif()
foreach(dll_dep ${DLL_DEPS_NEEDED})
string(REGEX REPLACE "[^/]+$" "" dll_subpath "${dll_dep}")
file(COPY "${CURRENT_PACKAGES_DIR}/tools/${PORT}/debug/bin/${dll_dep}" DESTINATION "${CURRENT_PACKAGES_DIR}/tools/qt5/debug/bin/${dll_subpath}")
endforeach()
endif()
endif()

endfunction()
30 changes: 9 additions & 21 deletions ports/qt5-base/cmake/qt_fix_cmake.cmake
Original file line number Diff line number Diff line change
@@ -1,25 +1,14 @@
function(qt_fix_cmake PACKAGE_DIR_TO_FIX PORT_TO_FIX)
set(BACKUP_PATH "$ENV{PATH}")
#Find Python and add it to the path
vcpkg_find_acquire_program(PYTHON2)
get_filename_component(PYTHON2_EXE_PATH ${PYTHON2} DIRECTORY)
vcpkg_add_to_path("${PYTHON2_EXE_PATH}")

#Fix the cmake files if they exist
if(EXISTS ${PACKAGE_DIR_TO_FIX}/lib/cmake)
vcpkg_execute_required_process(
COMMAND ${PYTHON2} ${CURRENT_INSTALLED_DIR}/share/qt5/fixcmake.py ${PORT_TO_FIX}
WORKING_DIRECTORY ${PACKAGE_DIR_TO_FIX}/lib/cmake
LOGNAME fix-cmake
)
endif()
if(EXISTS ${PACKAGE_DIR_TO_FIX}/share/cmake)
vcpkg_execute_required_process(
COMMAND ${PYTHON2} ${CURRENT_INSTALLED_DIR}/share/qt5/fixcmake.py ${PORT_TO_FIX}
WORKING_DIRECTORY ${PACKAGE_DIR_TO_FIX}/share/cmake
LOGNAME fix-cmake
)
endif()
file(GLOB_RECURSE cmakefiles ${PACKAGE_DIR_TO_FIX}/share/cmake/*.cmake ${PACKAGE_DIR_TO_FIX}/lib/cmake/*.cmake)
foreach(cmakefile ${cmakefiles})
file(READ "${cmakefile}" _contents)
if(_contents MATCHES "_install_prefix}/tools/qt5/bin/([a-z0-9]+)") # there are only about 3 to 5 cmake files which require the fix in ports: qt5-tools qt5-xmlpattern at5-activeqt qt5-quick
string(REGEX REPLACE "_install_prefix}/tools/qt5/bin/([a-z0-9]+)" "_install_prefix}/tools/${PORT_TO_FIX}/bin/\\1" _contents "${_contents}")
file(WRITE "${cmakefile}" "${_contents}")
endif()
endforeach()

#Install cmake files
if(EXISTS ${PACKAGE_DIR_TO_FIX}/lib/cmake)
file(MAKE_DIRECTORY ${PACKAGE_DIR_TO_FIX}/share)
Expand All @@ -29,5 +18,4 @@ function(qt_fix_cmake PACKAGE_DIR_TO_FIX PORT_TO_FIX)
if(EXISTS ${PACKAGE_DIR_TO_FIX}/debug/lib/cmake)
file(REMOVE_RECURSE ${PACKAGE_DIR_TO_FIX}/debug/lib/cmake)
endif()
set(ENV{PATH} "${BACKUP_PATH}")
endfunction()
2 changes: 2 additions & 0 deletions ports/qt5-base/cmake/qt_install_copyright.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ function(qt_install_copyright SOURCE_PATH)
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3")
elseif(EXISTS "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.GPL3-EXCEPT")
elseif(EXISTS "${SOURCE_PATH}/LICENSE.FDL")
set(LICENSE_PATH "${SOURCE_PATH}/LICENSE.FDL")
endif()
file(INSTALL ${LICENSE_PATH} DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)
endfunction()
Loading