aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortGstep <38408500+tGstep@users.noreply.github.com>2019-04-24 23:13:04 +0200
committerPhil Christensen <philc@microsoft.com>2019-04-24 14:13:04 -0700
commit95b94ec3b18a9b90bc066deb023c54d07a229194 (patch)
tree30afb58fb5854dbdb4c776a897a27ffa4530d5e5
parent8996d0ce0a535d6720b388ce97395a3cd5715ab3 (diff)
downloadvcpkg-95b94ec3b18a9b90bc066deb023c54d07a229194.tar.gz
vcpkg-95b94ec3b18a9b90bc066deb023c54d07a229194.zip
[tgui] Update to 0.8.5 (#6192)
Update to the 0.8.5 branch.
-rw-r--r--ports/tgui/CONTROL2
-rw-r--r--ports/tgui/portfile.cmake14
2 files changed, 7 insertions, 9 deletions
diff --git a/ports/tgui/CONTROL b/ports/tgui/CONTROL
index b69819c8d..3c1f18e1a 100644
--- a/ports/tgui/CONTROL
+++ b/ports/tgui/CONTROL
@@ -1,5 +1,5 @@
Source: tgui
-Version: 0.8.4-2
+Version: 0.8.5
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 d0f400eca..e87bfaaa9 100644
--- a/ports/tgui/portfile.cmake
+++ b/ports/tgui/portfile.cmake
@@ -1,14 +1,11 @@
include(vcpkg_common_functions)
-vcpkg_download_distfile(ARCHIVE
- URLS "https://github.com/texus/TGUI/archive/v0.8.4.tar.gz"
- FILENAME "tgui-0.8.4.zip"
- SHA512 52d38419a1650cbde517a5022e3b719b9fb4c3b336533c35aa839757f929b56e477d397d735170ba8be434afedc4c00bfcd4898d97da66015776b5f22bb04ea0
-)
-
-vcpkg_extract_source_archive_ex(
+vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
- ARCHIVE ${ARCHIVE}
+ REPO texus/TGUI
+ REF v0.8.5
+ SHA512 36d8c29f246ca4d79d791f0368441762de0609d5cc0e507520ae0648ed3dc0bf47891582f283de241892bf9810f4d5049df46f566916d0bfffc383319d953002
+ HEAD_REF 0.8
)
set(TGUI_SHARE_PATH ${CURRENT_PACKAGES_DIR}/share/tgui)
@@ -58,6 +55,7 @@ if(BUILD_GUI_BUILDER)
endif()
file(REMOVE_RECURSE "${CURRENT_PACKAGES_DIR}/debug/include")
+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")