Skip to content

Commit

Permalink
[tgui] Update to 0.8.5 (#6192)
Browse files Browse the repository at this point in the history
Update to the 0.8.5 branch.
  • Loading branch information
tGstep authored and Rastaban committed Apr 24, 2019
1 parent 8996d0c commit 95b94ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 9 deletions.
2 changes: 1 addition & 1 deletion ports/tgui/CONTROL
Original file line number Diff line number Diff line change
@@ -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

Expand Down
14 changes: 6 additions & 8 deletions ports/tgui/portfile.cmake
Original file line number Diff line number Diff line change
@@ -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)
Expand Down Expand Up @@ -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")

0 comments on commit 95b94ec

Please sign in to comment.