[gamedev-framework] Update to v1.0.0 (#25842)

* Update gamedev-framework to v1.0.0

* Update database

* Use new vcpkg_cmake commands

* Fix portfile format

* Update package revision

* Try to fix database version

* Remove port-version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Protect CMake string

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Fix version database

* remove git-tree

* update version

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Jonliu1993 <13720414433@163.com>
This commit is contained in:
ahugeat 2022-07-21 00:39:35 +02:00 committed by GitHub
parent e8791c43c6
commit 645b853ed8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 25 additions and 12 deletions

View File

@ -6,15 +6,13 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH OUT_SOURCE_PATH SOURCE_PATH
REPO GamedevFramework/gf REPO GamedevFramework/gf
HEAD_REF master HEAD_REF master
REF v0.20.0 REF v1.0.0
SHA512 57b0e87f8713268d7bd4e68fb65f57715af6617582e3ce342a10a66f2ebfeeacdd11e1df0abbd13a2d1d9e6222def94bcf7b522ef5411043668e4c6f0fea1dd7 SHA512 daa6808500e4259152b8173d6f289964d2e0807f434ec25a378575a0160de7c739ce8f483b157b734a1d5726720db6a22212ec2ef803ff567a51ed8a6822cfd7
) )
vcpkg_configure_cmake( vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH} SOURCE_PATH "${SOURCE_PATH}"
PREFER_NINJA
OPTIONS OPTIONS
-DGF_VCPKG=ON
-DGF_USE_EMBEDDED_LIBS=OFF -DGF_USE_EMBEDDED_LIBS=OFF
-DGF_BUILD_GAMES=OFF -DGF_BUILD_GAMES=OFF
-DGF_BUILD_EXAMPLES=OFF -DGF_BUILD_EXAMPLES=OFF
@ -26,8 +24,11 @@ vcpkg_configure_cmake(
OPTIONS_DEBUG -DGF_DEBUG=ON OPTIONS_DEBUG -DGF_DEBUG=ON
) )
vcpkg_install_cmake() vcpkg_cmake_install()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gf TARGET_PATH share/gf) vcpkg_cmake_config_fixup(
PACKAGE_NAME gf
CONFIG_PATH lib/cmake/gf
)
vcpkg_copy_pdbs() vcpkg_copy_pdbs()
file(REMOVE_RECURSE file(REMOVE_RECURSE

View File

@ -1,7 +1,6 @@
{ {
"name": "gamedev-framework", "name": "gamedev-framework",
"version-semver": "0.20.0", "version-semver": "1.0.0",
"port-version": 2,
"maintainers": [ "maintainers": [
"Julien Bernard <julien.bernard@univ-fcomte.fr>", "Julien Bernard <julien.bernard@univ-fcomte.fr>",
"Arthur Hugeat <hugeat.arthur@gmail.com>" "Arthur Hugeat <hugeat.arthur@gmail.com>"
@ -30,6 +29,14 @@
"platform": "!linux" "platform": "!linux"
}, },
"stb", "stb",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib" "zlib"
] ]
} }

View File

@ -2449,8 +2449,8 @@
"port-version": 6 "port-version": 6
}, },
"gamedev-framework": { "gamedev-framework": {
"baseline": "0.20.0", "baseline": "1.0.0",
"port-version": 2 "port-version": 0
}, },
"gamenetworkingsockets": { "gamenetworkingsockets": {
"baseline": "1.4.1", "baseline": "1.4.1",

View File

@ -1,5 +1,10 @@
{ {
"versions": [ "versions": [
{
"git-tree": "66a45568c161b8eb5ae64471a466545b96b15818",
"version-semver": "1.0.0",
"port-version": 0
},
{ {
"git-tree": "4dbeca9676a469cb84eb1cfc731ae9bbc9110447", "git-tree": "4dbeca9676a469cb84eb1cfc731ae9bbc9110447",
"version-semver": "0.20.0", "version-semver": "0.20.0",