From a746c43faaa63fa162e895a86ba3b7ed48e7c27d Mon Sep 17 00:00:00 2001 From: JackBoosY Date: Sun, 3 Nov 2019 20:12:18 -0800 Subject: [PATCH] [tgui]Upgrade version to 0.8.6 --- ports/tgui/CONTROL | 2 +- ports/tgui/portfile.cmake | 10 ++++------ 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/ports/tgui/CONTROL b/ports/tgui/CONTROL index 3c1f18e1abe..49cbb2c0b95 100644 --- a/ports/tgui/CONTROL +++ b/ports/tgui/CONTROL @@ -1,5 +1,5 @@ Source: tgui -Version: 0.8.5 +Version: 0.8.6 Description: TGUI is an easy to use, cross-platform, C++ GUI for SFML. Build-Depends: sfml diff --git a/ports/tgui/portfile.cmake b/ports/tgui/portfile.cmake index dd326c9ae82..33e3dd9bf38 100644 --- a/ports/tgui/portfile.cmake +++ b/ports/tgui/portfile.cmake @@ -1,10 +1,8 @@ -include(vcpkg_common_functions) - vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO texus/TGUI - REF v0.8.5 - SHA512 36d8c29f246ca4d79d791f0368441762de0609d5cc0e507520ae0648ed3dc0bf47891582f283de241892bf9810f4d5049df46f566916d0bfffc383319d953002 + REF 017d7d694212fc08c8755b0ad5c2365cee8f68e0 # v0.8.6 + SHA512 e764bf4f71c36a67cf7d6528513bfee43896ce7aff0ba96b8b43e22b688824bc00ce85b80e771b09c539456546a92b7a21c3ceda31308e77683df73681fb1fb4 HEAD_REF 0.8 ) @@ -54,8 +52,8 @@ if(BUILD_GUI_BUILDER) endif() endif() -file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include") +file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include ${CURRENT_PACKAGES_DIR}/debug/share) file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/include/TGUI/nanosvg") # Handle copyright -file(RENAME "${CURRENT_PACKAGES_DIR}/share/tgui/license.txt" "${CURRENT_PACKAGES_DIR}/share/tgui/copyright") +file(INSTALL "${SOURCE_PATH}/license.txt" DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)