From 56a12f6ee9fef0991a25a4c7e0a0b2e843bfe5ad Mon Sep 17 00:00:00 2001 From: winsoft666 <46803815+winsoft666@users.noreply.github.com> Date: Tue, 11 Feb 2020 08:23:04 +0800 Subject: [PATCH] [teemo] Update to v1.3 (#9999) * teemo * 1. move header files to teemo folder. 2. add Cancel Event. 3. create directories automatically. --- ports/teemo/CONTROL | 2 +- ports/teemo/adjust-install-dir.patch | 22 ---------------------- ports/teemo/portfile.cmake | 7 ++----- 3 files changed, 3 insertions(+), 28 deletions(-) delete mode 100644 ports/teemo/adjust-install-dir.patch diff --git a/ports/teemo/CONTROL b/ports/teemo/CONTROL index 4d96fe5af..159990ec4 100644 --- a/ports/teemo/CONTROL +++ b/ports/teemo/CONTROL @@ -1,5 +1,5 @@ Source: teemo -Version: 1.2-1 +Version: 1.3 Build-Depends: curl[non-http], cpprestsdk Description: C++ File Download Library, support Multithreading, Breakpoint Transmission, Speed Limit, Real-time Speed. Homepage: https://github.com/winsoft666/teemo \ No newline at end of file diff --git a/ports/teemo/adjust-install-dir.patch b/ports/teemo/adjust-install-dir.patch deleted file mode 100644 index 3ca1dcf56..000000000 --- a/ports/teemo/adjust-install-dir.patch +++ /dev/null @@ -1,22 +0,0 @@ -diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt -index 20de97c..0009c8a 100644 ---- a/src/CMakeLists.txt -+++ b/src/CMakeLists.txt -@@ -108,7 +108,7 @@ set_target_properties(${LIB_NAME} - RUNTIME_OUTPUT_DIRECTORY "${CMAKE_BINARY_DIR}/bin" ) - - target_include_directories(${LIB_NAME} INTERFACE -- $) -+ $) - - install(TARGETS ${LIB_NAME} - EXPORT ${LIB_NAME}-target -@@ -117,7 +117,7 @@ install(TARGETS ${LIB_NAME} - ARCHIVE DESTINATION lib) - - --install(FILES ${HEADER_FILES} DESTINATION include) -+install(FILES ${HEADER_FILES} DESTINATION include/teemo) - - - install(FILES ${CMAKE_CURRENT_SOURCE_DIR}/../CMake/teemo-config.cmake diff --git a/ports/teemo/portfile.cmake b/ports/teemo/portfile.cmake index 07b5d5a53..b6baba563 100644 --- a/ports/teemo/portfile.cmake +++ b/ports/teemo/portfile.cmake @@ -3,12 +3,9 @@ vcpkg_fail_port_install(ON_ARCH "arm" "arm64" ON_TARGET "UWP" "osx") vcpkg_from_github( OUT_SOURCE_PATH SOURCE_PATH REPO winsoft666/teemo - REF 15edb1705d18ee78b32516a8ae52d6b10507af62 - SHA512 7dbe917d48b1e8c4b004bad33d8a82524e501d8bec6cdeca4e89ebbe8ed79fa484028c3afd365347e31fa83f64a6f0f5a42ea0063baa7c0985824fb3dffcc8f2 + REF 1ee566747fba3febade554718a2db6a6c71c6fc4 + SHA512 10b391a0c629bdcd3737c1e04ac09300412322c8a4b87a8008d368663a223442fe7d7dac4fbd423b5051afcab60bb4c619cfc451a9c5902d396b7a7081a4d3c4 HEAD_REF master - PATCHES - # Installing "slice.h" to the root include directory causes build issues in many other libraries - adjust-install-dir.patch ) string(COMPARE EQUAL "${VCPKG_LIBRARY_LINKAGE}" "static" TEEMO_STATIC)