Opencascade fix build on Linux (#25330)

* Opencascade fix build on Linux

* Added fontconfig to deps

* Updated version database

* Updated license identifier

* revert back the license

* bump up the port version

* vcpk add all

* Update versions/o-/opencascade.json

Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
This commit is contained in:
Ali 2022-06-22 23:41:13 +02:00 committed by GitHub
parent 0bd48a1bb9
commit b0ea874c7d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 11 additions and 2 deletions

View File

@ -69,8 +69,10 @@ foreach(file_name IN LISTS files)
endforeach() endforeach()
# Remove libd to lib, libd just has cmake files we dont want too # Remove libd to lib, libd just has cmake files we dont want too
if( WIN32 )
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/lib")
file(RENAME "${CURRENT_PACKAGES_DIR}/debug/libd" "${CURRENT_PACKAGES_DIR}/debug/lib") file(RENAME "${CURRENT_PACKAGES_DIR}/debug/libd" "${CURRENT_PACKAGES_DIR}/debug/lib")
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share")

View File

@ -1,11 +1,13 @@
{ {
"name": "opencascade", "name": "opencascade",
"version": "7.6.2", "version": "7.6.2",
"port-version": 1,
"description": "Open CASCADE Technology (OCCT) is an open-source software development platform for 3D CAD, CAM, CAE.", "description": "Open CASCADE Technology (OCCT) is an open-source software development platform for 3D CAD, CAM, CAE.",
"homepage": "https://github.com/Open-Cascade-SAS/OCCT", "homepage": "https://github.com/Open-Cascade-SAS/OCCT",
"license": "LGPL-2.1", "license": "LGPL-2.1",
"supports": "!(uwp | osx | linux | arm)", "supports": "!(uwp | osx | arm)",
"dependencies": [ "dependencies": [
"fontconfig",
"freetype", "freetype",
{ {
"name": "vcpkg-cmake", "name": "vcpkg-cmake",

View File

@ -5110,7 +5110,7 @@
}, },
"opencascade": { "opencascade": {
"baseline": "7.6.2", "baseline": "7.6.2",
"port-version": 0 "port-version": 1
}, },
"opencc": { "opencc": {
"baseline": "2020-04-26", "baseline": "2020-04-26",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "137097588b2328c3d7f66c4f0e46e6e4fe1559cf",
"version": "7.6.2",
"port-version": 1
},
{ {
"git-tree": "6dd7a80ecf7e8183ebfd1e25fc64351e47f9eed0", "git-tree": "6dd7a80ecf7e8183ebfd1e25fc64351e47f9eed0",
"version": "7.6.2", "version": "7.6.2",