vcpkg/ports/saucer/portfile.cmake
Noah 23905f6f86
[saucer, ereignis] Update saucer port and add ereignis (#26683)
* [saucer] add new port

[saucer] add lockpp dependency

beleg

* [lockpp] add new port

* [saucer] update ref

* [saucer] only support static

* fix: revert cibaseline

* refactor: also disable uwp

* [saucer,lockpp] remove superflous dependencies

* [lockpp] update version

* [saucer] update to 1.0.0

* [saucer] specifiy only static library

* [saucer] bump ref

* [saucer] remove unused dependency

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>

* [saucer] use vcpkg webview2

* [ereignis] add new port

* [saucer] update port

* [ereignis] fix description

* [saucer] update ref

* [qt5-webengine] use host for nodejs

* [qt5-webengine] bump `port-version`

* [ereignis] remove unused dependency

* [qt5-webengine] revert git-tree of old port

* [ereignis] add empty line

* fix: formatting & versions

* fix: reset modified files

Co-authored-by: Robert Schumacher <roschuma@microsoft.com>
2022-09-12 14:04:41 -07:00

21 lines
683 B
CMake

vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO saucer/saucer
REF 6ae482092cca4d4a408e6bdf24714153d9203797
SHA512 1865f6178b2885483f0b43c1641e602f957d4e64e77b802e64a64038b709dbf63fa2dd6037720e7180434e91341f2e1a0eb86424c1ee1556db5971cba3434bb0
HEAD_REF dev
PATCHES "unofficial-webview2.patch"
)
vcpkg_cmake_configure(
SOURCE_PATH ${SOURCE_PATH}
OPTIONS -Dsaucer_prefer_remote=OFF -Dsaucer_remote_webview2=OFF
)
vcpkg_cmake_install()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
file(INSTALL "${SOURCE_PATH}/LICENSE" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright)