David PHAM-VAN

Update Linux and Windows pdfium libraries

# Changelog
## 5.6.2
- Update Linux and Windows pdfium libraries to 4706
## 5.6.1
- Allow host app to override pdfium version [Jon Salmon]
... ...
... ... @@ -16,17 +16,18 @@ cmake_minimum_required(VERSION 3.10)
set(PROJECT_NAME "printing")
project(${PROJECT_NAME} LANGUAGES CXX)
set(PDFIUM_VERSION "4627" CACHE STRING "Version of pdfium used")
set(PDFIUM_VERSION "4706" CACHE STRING "Version of pdfium used")
set(PDFIUM_ARCH "x64" CACHE STRING "Architecture of pdfium used")
if(${PDFIUM_VERSION} STREQUAL "latest")
set(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux.tgz"
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux-${PDFIUM_ARCH}.tgz"
)
else()
set(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/${PDFIUM_VERSION}/pdfium-linux.tgz"
"https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/${PDFIUM_VERSION}/pdfium-linux-${PDFIUM_ARCH}.tgz"
)
endif()
... ...
... ... @@ -6,7 +6,7 @@ description: >
homepage: https://github.com/DavBfr/dart_pdf/tree/master/printing
repository: https://github.com/DavBfr/dart_pdf
issue_tracker: https://github.com/DavBfr/dart_pdf/issues
version: 5.6.1
version: 5.6.2
environment:
sdk: ">=2.12.0 <3.0.0"
... ...
... ... @@ -16,18 +16,18 @@ cmake_minimum_required(VERSION 3.15)
set(PROJECT_NAME "printing")
project(${PROJECT_NAME} LANGUAGES CXX)
set(ARCH "x64")
set(PDFIUM_VERSION "4627" CACHE STRING "Version of pdfium used")
set(PDFIUM_VERSION "4706" CACHE STRING "Version of pdfium used")
set(PDFIUM_ARCH "x64" CACHE STRING "Architecture of pdfium used")
if(${PDFIUM_VERSION} STREQUAL "latest")
set(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-windows-${ARCH}.zip"
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-win-${PDFIUM_ARCH}.tgz"
)
else()
set(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/${PDFIUM_VERSION}/pdfium-windows-${ARCH}.zip"
"https://github.com/bblanchon/pdfium-binaries/releases/download/chromium/${PDFIUM_VERSION}/pdfium-win-${PDFIUM_ARCH}.tgz"
)
endif()
... ...