From 285baf2dd93262be8cf177021195acd27f3ae2ed Mon Sep 17 00:00:00 2001 From: Marc <31337222+marcbull@users.noreply.github.com> Date: Thu, 13 Jul 2023 07:56:50 +0200 Subject: [PATCH] [xcb-proto] set license id and use vcpkg_install_copyright() (#32531) * [xcb-proto] set license id and use vcpkg_install_copyright() * Update version database --- ports/xcb-proto/portfile.cmake | 2 +- ports/xcb-proto/vcpkg.json | 3 ++- versions/baseline.json | 2 +- versions/x-/xcb-proto.json | 5 +++++ 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/ports/xcb-proto/portfile.cmake b/ports/xcb-proto/portfile.cmake index 8927d2a8d4..e79eb88d83 100644 --- a/ports/xcb-proto/portfile.cmake +++ b/ports/xcb-proto/portfile.cmake @@ -45,5 +45,5 @@ vcpkg_fixup_pkgconfig() file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/share") -file(INSTALL "${SOURCE_PATH}/COPYING" DESTINATION "${CURRENT_PACKAGES_DIR}/share/${PORT}" RENAME copyright) +vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING") endif() diff --git a/ports/xcb-proto/vcpkg.json b/ports/xcb-proto/vcpkg.json index 0f285d781e..a78735d9e2 100644 --- a/ports/xcb-proto/vcpkg.json +++ b/ports/xcb-proto/vcpkg.json @@ -1,9 +1,10 @@ { "name": "xcb-proto", "version": "1.14.1", + "port-version": 1, "description": "XML-XCB protocol descriptions used by libxcb for the X11 protocol & extensions", "homepage": "https://xcb.freedesktop.org/", - "license": null, + "license": "X11-distribute-modifications-variant", "dependencies": [ "bzip2", { diff --git a/versions/baseline.json b/versions/baseline.json index 0a51b5590e..5a6c4704d6 100644 --- a/versions/baseline.json +++ b/versions/baseline.json @@ -8778,7 +8778,7 @@ }, "xcb-proto": { "baseline": "1.14.1", - "port-version": 0 + "port-version": 1 }, "xcb-render-util": { "baseline": "0.3.10", diff --git a/versions/x-/xcb-proto.json b/versions/x-/xcb-proto.json index 20e240c608..94c00710d4 100644 --- a/versions/x-/xcb-proto.json +++ b/versions/x-/xcb-proto.json @@ -1,5 +1,10 @@ { "versions": [ + { + "git-tree": "f2eac40d0f3ae01205792344a254ac956e0adcd2", + "version": "1.14.1", + "port-version": 1 + }, { "git-tree": "e5933d2463549d6d3b00a8aa1f0279f2a974ec1c", "version": "1.14.1",