From 13fd5f60e8a367eabf0a332787a4d71041cd19e4 Mon Sep 17 00:00:00 2001 From: myd7349 Date: Sun, 1 Sep 2024 13:36:08 +0800 Subject: [PATCH] [fenster] Add new port (#40540) Co-authored-by: Victor Romero --- ports/fenster/portfile.cmake | 15 +++++++++++++++ ports/fenster/vcpkg.json | 7 +++++++ versions/baseline.json | 4 ++++ versions/f-/fenster.json | 9 +++++++++ 4 files changed, 35 insertions(+) create mode 100644 ports/fenster/portfile.cmake create mode 100644 ports/fenster/vcpkg.json create mode 100644 versions/f-/fenster.json diff --git a/ports/fenster/portfile.cmake b/ports/fenster/portfile.cmake new file mode 100644 index 0000000000..44da1c61d8 --- /dev/null +++ b/ports/fenster/portfile.cmake @@ -0,0 +1,15 @@ +# header-only library +set(VCPKG_BUILD_TYPE release) + +vcpkg_from_github( + OUT_SOURCE_PATH SOURCE_PATH + REPO zserge/fenster + REF 92aa0ecd30f1c1c8175d72042c319268568434fb + SHA512 2909afe3d5cab88c4353e2632d05b2ff196fb21ebb9789ccb851e328961836b4b5d5eca80843c38e7924ef48ff02106fc4f06ebe5ffe71f71b5bbbb4dad229b9 + HEAD_REF main +) + +file(COPY "${SOURCE_PATH}/fenster.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") +file(COPY "${SOURCE_PATH}/fenster_audio.h" DESTINATION "${CURRENT_PACKAGES_DIR}/include") + +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/LICENSE") diff --git a/ports/fenster/vcpkg.json b/ports/fenster/vcpkg.json new file mode 100644 index 0000000000..b4881524b9 --- /dev/null +++ b/ports/fenster/vcpkg.json @@ -0,0 +1,7 @@ +{ + "name": "fenster", + "version-date": "2024-08-19", + "description": "The most minimal cross-platform GUI library", + "homepage": "https://github.com/zserge/fenster", + "license": "MIT" +} diff --git a/versions/baseline.json b/versions/baseline.json index 3eda24980f..4098dded20 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -2708,6 +2708,10 @@ "baseline": "5.3", "port-version": 7 }, + "fenster": { + "baseline": "2024-08-19", + "port-version": 0 + }, "ffmpeg": { "baseline": "7.0.2", "port-version": 3 diff --git a/versions/f-/fenster.json b/versions/f-/fenster.json new file mode 100644 index 0000000000..6ab0302a4f --- /dev/null +++ b/versions/f-/fenster.json @@ -0,0 +1,9 @@ +{ + "versions": [ + { + "git-tree": "3b11faff9bab03806b2b3ceee86570e628b3bc7f", + "version-date": "2024-08-19", + "port-version": 0 + } + ] +}