Skip to content

Commit

Permalink
Fixed port of quirc - patch did no longer apply / modified to fix bui…
Browse files Browse the repository at this point in the history
…ld (#15252)

* Fixed port of quirc - patch did no longer apply / modified to fix build

* Updated quirc to the latest version + removed obsolete patch-for-msvc.patch

* update baseline

* [quirc] Fix license file name

Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: JackBoosY <yuzaiyang@beyondsoft.com>
  • Loading branch information
3 people committed Dec 29, 2020
1 parent ba1c3aa commit 3ddbba7
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 52 deletions.
3 changes: 2 additions & 1 deletion ports/quirc/CONTROL
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Source: quirc
Version: 1.1
Version: 1.1
Port-Version: 1
Description: quirc is one of the C library available for scanning QR Codes
36 changes: 0 additions & 36 deletions ports/quirc/patch-for-msvc.patch

This file was deleted.

11 changes: 4 additions & 7 deletions ports/quirc/portfile.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,9 @@ vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dlbeer/quirc
REF 2e8c4ce7bc45fbe137e50e338c297e265777e7dd # v1.1
SHA512 83eeab7c70c93477f9a7a2d3114e080ce831d27e035bb47c3fc114d5ede8852599c37af591af348dde1a870f65f8a860284e4a3e1e05585cb7948556b464f59c
REF 7e7ab596e4d0988faf1c12ae89c354b114181c40
SHA512 d10a783a33ffcc168a287b03250c5ac00b942ec724da641b13fe2ef3f456453b143146422b7e18129a75ce00f13d2d9e3097ac4620134d832de8be4adbbc61c2
HEAD_REF master
PATCHES
patch-for-msvc.patch
)

file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
Expand All @@ -18,10 +16,9 @@ vcpkg_configure_cmake(
)

vcpkg_install_cmake()

vcpkg_copy_pdbs()

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

# Handle copyright
file(COPY ${SOURCE_PATH}/license DESTINATION ${CURRENT_PACKAGES_DIR}/share/quirc)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/quirc/license ${CURRENT_PACKAGES_DIR}/share/quirc/copyright)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quirc/copyright)
8 changes: 0 additions & 8 deletions scripts/ci.baseline.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1231,14 +1231,6 @@ quickfix:x64-uwp=fail
quickfix:x64-windows-static=fail
quickfix:x64-windows=fail
quickfix:x86-windows=fail
quirc:arm64-windows = skip
quirc:arm-uwp = skip
quirc:x64-linux = skip
quirc:x64-osx = skip
quirc:x64-uwp = skip
quirc:x64-windows = skip
quirc:x64-windows-static = skip
quirc:x86-windows = skip
qwt:x64-osx=fail
rabit:x64-osx=fail
ragel:arm-uwp=fail
Expand Down

0 comments on commit 3ddbba7

Please sign in to comment.