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

23
externals/vcpkg/ports/jbig2dec/CMakeLists.txt vendored Executable file
View File

@@ -0,0 +1,23 @@
cmake_minimum_required(VERSION 3.9)
project(jbig2dec C)
set(CMAKE_DEBUG_POSTFIX d)
file(GLOB SOURCES jbig2*.c)
list(REMOVE_ITEM SOURCES
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2dec.c"
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2_image_png.c"
"${CMAKE_CURRENT_SOURCE_DIR}/jbig2_image_pbm.c"
)
add_library(jbig2dec ${SOURCES})
install(TARGETS jbig2dec
RUNTIME DESTINATION bin
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib
)
if(NOT DISABLE_INSTALL_HEADERS)
install(FILES jbig2.h DESTINATION include)
endif()

23
externals/vcpkg/ports/jbig2dec/portfile.cmake vendored Executable file
View File

@@ -0,0 +1,23 @@
vcpkg_check_linkage(ONLY_STATIC_LIBRARY)
vcpkg_from_github(
OUT_SOURCE_PATH SOURCE_PATH
REPO ArtifexSoftware/jbig2dec
REF 1c336b8ab44524dc56ea837e2211ff4207704cdd # 0.19
SHA512 e189a80cc8da18813cf6c8edc6f1a799793adcba7ea6f302a8cced349bffac68869af338d9723ee1efdc07115ae554cd5757bfda7d7ac41324fde1f9c3a8343c
HEAD_REF master
)
file(COPY ${CMAKE_CURRENT_LIST_DIR}/CMakeLists.txt DESTINATION ${SOURCE_PATH})
vcpkg_configure_cmake(
SOURCE_PATH ${SOURCE_PATH}
PREFER_NINJA
OPTIONS_DEBUG
-DDISABLE_INSTALL_HEADERS=1
)
vcpkg_install_cmake()
# Handle copyright
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/jbig2dec RENAME copyright)

7
externals/vcpkg/ports/jbig2dec/vcpkg.json vendored Executable file
View File

@@ -0,0 +1,7 @@
{
"name": "jbig2dec",
"version-string": "0.19",
"port-version": 1,
"description": "a decoder library and example utility implementing the JBIG2 bi-level image compression spec. Also known as ITU T.88 and ISO IEC 14492, and included by reference in Adobe's PDF version 1.4 and later.",
"homepage": "https://github.com/ArtifexSoftware/jbig2dec"
}