Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2021-04-26 18:05:34 -0300
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c6806bd1eaf13169821c338cfca96d954d616534
c6806bd1
1 parent
4b8195d1
Fix Linux build
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
15 additions
and
3 deletions
printing/CHANGELOG.md
printing/linux/CMakeLists.txt
printing/pubspec.yaml
printing/windows/DownloadProject.CMakeLists.cmake.in
printing/CHANGELOG.md
View file @
c6806bd
# Changelog
## 5.2.1
-
Fix Linux build
## 5.2.0
-
Improve Android page format detection
[
Deepak
]
...
...
printing/linux/CMakeLists.txt
View file @
c6806bd
...
...
@@ -16,13 +16,21 @@ cmake_minimum_required(VERSION 3.10)
set
(
PROJECT_NAME
"printing"
)
project
(
${
PROJECT_NAME
}
LANGUAGES CXX
)
set
(
PDFIUM_VERSION
"latest"
)
if
(
${
PDFIUM_VERSION
}
STREQUAL
"latest"
)
set
(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux.tgz"
)
else
()
set
(
PDFIUM_URL
"https://github.com/bblanchon/pdfium-binaries/releases/download/chromium%2F
${
PDFIUM_VERSION
}
/pdfium-linux.tgz"
)
endif
()
# Download pdfium
include
(
../windows/DownloadProject.cmake
)
download_project
(
PROJ
pdfium
URL
https://github.com/bblanchon/pdfium-binaries/releases/latest/download/pdfium-linux.tgz
${
PDFIUM_URL
}
)
# This value is used when generating builds using this plugin, so it must not be
...
...
printing/pubspec.yaml
View file @
c6806bd
...
...
@@ -7,7 +7,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.2.
0
version
:
5.2.
1
environment
:
sdk
:
"
>=2.12.0-0
<3.0.0"
...
...
printing/windows/DownloadProject.CMakeLists.cmake.in
View file @
c6806bd
# Distributed under the OSI-approved MIT License. See accompanying
# file LICENSE or https://github.com/Crascit/DownloadProject for details.
cmake_minimum_required(VERSION 3.1
5
)
cmake_minimum_required(VERSION 3.1
0
)
project(${DL_ARGS_PROJ}-download NONE)
...
...
Please
register
or
login
to post a comment