* [zeromq] Add feature draft

* Modify protfile copyrigt
This commit is contained in:
JonLiu1993 2020-11-21 03:54:45 +08:00 коммит произвёл GitHub
Родитель 4c17d2a2c2
Коммит 3c9afa7a20
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,6 +1,6 @@
Source: zeromq
Version: 2019-09-20
Port-Version: 1
Port-Version: 2
Homepage: https://github.com/zeromq/libzmq
Description: The ZeroMQ lightweight messaging kernel is a library which extends the standard socket interfaces with features traditionally provided by specialised messaging middleware products
@ -10,3 +10,6 @@ Build-Depends: libsodium
Feature: websockets-sha1
Description: Enable WebSocket transport through builtin sha1 (libzmq#3676)
Feature: draft
Description: Build and install draft APIs

Просмотреть файл

@ -13,6 +13,7 @@ vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
sodium WITH_LIBSODIUM
draft ENABLE_DRAFTS
INVERTED_FEATURES
websockets-sha1 DISABLE_WS
)
@ -67,6 +68,6 @@ if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
endif()
# Handle copyright
file(RENAME ${CURRENT_PACKAGES_DIR}/share/zmq/COPYING.LESSER.txt ${CURRENT_PACKAGES_DIR}/share/zeromq/copyright)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/zmq/COPYING.LESSER.txt ${CURRENT_PACKAGES_DIR}/share/${PORT}/copyright)
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share ${CURRENT_PACKAGES_DIR}/share/zmq)