Skip to content

Commit

Permalink
[wavpack] Fix failure on linux and osx (#12742)
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoebeHui authored Aug 5, 2020
1 parent b0b241f commit a7cf0bc
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 3 additions & 1 deletion ports/wavpack/CONTROL
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Source: wavpack
Version: 5.2.0
Version: 5.2.0
Port-Version: 1
Homepage: https://github.com/dbry/WavPack
Description: WavPack encode/decode library, command-line programs, and several plugins
Supports: !(arm|arm64)
11 changes: 6 additions & 5 deletions ports/wavpack/portfile.cmake
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
include(vcpkg_common_functions)
vcpkg_fail_port_install(ON_ARCH "arm" "arm64")

vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
Expand All @@ -24,13 +24,14 @@ vcpkg_configure_cmake(

vcpkg_install_cmake()

vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
if(VCPKG_TARGET_IS_WINDOWS)
vcpkg_fixup_cmake_targets(CONFIG_PATH cmake)
else()
vcpkg_fixup_cmake_targets(CONFIG_PATH lib/cmake/WavPack)
endif()

vcpkg_copy_pdbs()

file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)

file(INSTALL ${SOURCE_PATH}/license.txt DESTINATION ${CURRENT_PACKAGES_DIR}/share/${PORT} RENAME copyright)

# Post-build test for cmake libraries
# vcpkg_test_cmake(PACKAGE_NAME wavpack)
3 changes: 0 additions & 3 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1836,9 +1836,6 @@ vxl:x64-windows = skip
vxl:x64-windows-static = skip
vxl:x86-windows = skip
wampcc:arm64-windows=fail
wavpack:arm64-windows=fail
wavpack:x64-linux=fail
wavpack:x64-osx=fail
wepoll:arm-uwp=fail
wepoll:x64-uwp=fail
wepoll:x64-linux=fail
Expand Down

0 comments on commit a7cf0bc

Please sign in to comment.