Skip to content

Commit

Permalink
[gamedev-framework] Update to v1.0.0 (#25842)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
3 people committed Jul 20, 2022
1 parent e8791c4 commit 645b853
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 12 deletions.
17 changes: 9 additions & 8 deletions ports/gamedev-framework/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,13 @@ vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO GamedevFramework/gf
HEAD_REF master
REF v0.20.0
SHA512 57b0e87f8713268d7bd4e68fb65f57715af6617582e3ce342a10a66f2ebfeeacdd11e1df0abbd13a2d1d9e6222def94bcf7b522ef5411043668e4c6f0fea1dd7
REF v1.0.0
SHA512 daa6808500e4259152b8173d6f289964d2e0807f434ec25a378575a0160de7c739ce8f483b157b734a1d5726720db6a22212ec2ef803ff567a51ed8a6822cfd7
)

vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
vcpkg_cmake_configure(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-DGF_VCPKG=ON
-DGF_USE_EMBEDDED_LIBS=OFF
-DGF_BUILD_GAMES=OFF
-DGF_BUILD_EXAMPLES=OFF
Expand All @@ -26,8 +24,11 @@ vcpkg_configure_cmake(
OPTIONS_DEBUG -DGF_DEBUG=ON
)

vcpkg_install_cmake()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/gf TARGET_PATH share/gf)
vcpkg_cmake_install()
vcpkg_cmake_config_fixup(
PACKAGE_NAME gf
CONFIG_PATH lib/cmake/gf
)
vcpkg_copy_pdbs()

file(REMOVE_RECURSE
Expand Down
11 changes: 9 additions & 2 deletions ports/gamedev-framework/vcpkg.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{
"name": "gamedev-framework",
"version-semver": "0.20.0",
"port-version": 2,
"version-semver": "1.0.0",
"maintainers": [
"Julien Bernard <julien.bernard@univ-fcomte.fr>",
"Arthur Hugeat <hugeat.arthur@gmail.com>"
Expand Down Expand Up @@ -30,6 +29,14 @@
"platform": "!linux"
},
"stb",
{
"name": "vcpkg-cmake",
"host": true
},
{
"name": "vcpkg-cmake-config",
"host": true
},
"zlib"
]
}
4 changes: 2 additions & 2 deletions versions/baseline.json
Original file line number Diff line number Diff line change
Expand Up @@ -2449,8 +2449,8 @@
"port-version": 6
},
"gamedev-framework": {
"baseline": "0.20.0",
"port-version": 2
"baseline": "1.0.0",
"port-version": 0
},
"gamenetworkingsockets": {
"baseline": "1.4.1",
Expand Down
5 changes: 5 additions & 0 deletions versions/g-/gamedev-framework.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "66a45568c161b8eb5ae64471a466545b96b15818",
"version-semver": "1.0.0",
"port-version": 0
},
{
"git-tree": "4dbeca9676a469cb84eb1cfc731ae9bbc9110447",
"version-semver": "0.20.0",
Expand Down

0 comments on commit 645b853

Please sign in to comment.