early-access version 2853

This commit is contained in:
pineappleEA
2022-07-23 03:01:36 +02:00
parent 1f2b5081b5
commit 1f111bb69c
8955 changed files with 418777 additions and 999 deletions

27
externals/vcpkg/ports/quirc/CMakeLists.txt vendored Executable file
View File

@@ -0,0 +1,27 @@
cmake_minimum_required(VERSION 3.19)
project(quirc C)
add_library(quirc
lib/decode.c
lib/identify.c
lib/quirc.c
lib/version_db.c
lib/quirc.h
)
target_include_directories(quirc INTERFACE $<INSTALL_INTERFACE:include>)
install(TARGETS quirc
EXPORT quirc-targets
RUNTIME DESTINATION bin
ARCHIVE DESTINATION lib
LIBRARY DESTINATION lib)
install(FILES lib/quirc.h DESTINATION include)
install(EXPORT quirc-targets
FILE quirc-config.cmake
NAMESPACE quirc::
DESTINATION share/quirc
)

26
externals/vcpkg/ports/quirc/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,26 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO dlbeer/quirc
REF 7e7ab596e4d0988faf1c12ae89c354b114181c40
SHA512 d10a783a33ffcc168a287b03250c5ac00b942ec724da641b13fe2ef3f456453b143146422b7e18129a75ce00f13d2d9e3097ac4620134d832de8be4adbbc61c2
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
)
vcpkg_install_cmake()
vcpkg_copy_pdbs()
vcpkg_fixup_cmake_targets()
file(REMOVE_RECURSE ${CURRENT_PACKAGES_DIR}/debug/include)
file(INSTALL ${SOURCE_PATH}/LICENSE DESTINATION ${CURRENT_PACKAGES_DIR}/share/quirc/copyright)

6
externals/vcpkg/ports/quirc/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,6 @@
{
"name": "quirc",
"version": "1.1",
"port-version": 2,
"description": "quirc is one of the C library available for scanning QR Codes"
}