[poppler] update to version 22.8.0 and Add glib support (#25578)

* [poppler] Add glib support

* format vcpkg.json

* update version

* update version

* update version

* Add cairo dependency

* update version

* update dependcies

* update version
This commit is contained in:
JonLiu1993 2022-08-24 01:33:57 +08:00 committed by GitHub
parent 7bd1ddfe86
commit 8ab78df4b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 27 additions and 7 deletions

View File

@ -2,8 +2,8 @@ vcpkg_from_gitlab(
GITLAB_URL https://gitlab.freedesktop.org
OUT_SOURCE_PATH SOURCE_PATH
REPO poppler/poppler
REF poppler-22.03.0
SHA512 0229e50bbf21154f398480730649fd15ca37c7edae5abd63ed41ab722852d09e4dc2b9df66b13b1cfe3e7a0da945916e1bd39c75c4879ded2759eb465f69424a
REF 12853d22e9d0527c10ada02666aef629db3e5e7c #poppler-22.08.0
SHA512 d181bc8a521e216f163096e8baad7e73c898c24b18a5a4ab3b687bff4c29333c8c19961adaef54e684c1bdf26dab90183c3553fadb963b7a664e063bd3abcfcf
HEAD_REF master
PATCHES
export-unofficial-poppler.patch
@ -18,6 +18,7 @@ vcpkg_check_features(OUT_FEATURE_OPTIONS FEATURE_OPTIONS
curl ENABLE_LIBCURL
private-api ENABLE_UNSTABLE_API_ABI_HEADERS
zlib ENABLE_ZLIB
glib ENABLE_GLIB
)
if("fontconfig" IN_LIST FEATURES)
list(APPEND FEATURE_OPTIONS "-DFONT_CONFIGURATION=fontconfig")
@ -50,7 +51,6 @@ vcpkg_cmake_configure(
-DBUILD_CPP_TESTS=OFF
-DBUILD_MANUAL_TESTS=OFF
-DENABLE_UTILS=OFF
-DENABLE_GLIB=OFF
-DENABLE_GOBJECT_INTROSPECTION=OFF
-DENABLE_QT5=OFF
-DENABLE_QT6=OFF

View File

@ -1,7 +1,6 @@
{
"name": "poppler",
"version": "22.3.0",
"port-version": 1,
"version": "22.8.0",
"description": "A PDF rendering library",
"homepage": "https://poppler.freedesktop.org/",
"license": "GPL-2.0-or-later",
@ -67,6 +66,22 @@
"fontconfig"
]
},
"glib": {
"description": "glib for poppler",
"dependencies": [
{
"name": "glib",
"default-features": false
},
{
"name": "poppler",
"default-features": false,
"features": [
"cairo"
]
}
]
},
"private-api": {
"description": "Install headers for private API (aka unstable API/ABI headers)"
},

View File

@ -5641,8 +5641,8 @@
"port-version": 4
},
"poppler": {
"baseline": "22.3.0",
"port-version": 1
"baseline": "22.8.0",
"port-version": 0
},
"popsift": {
"baseline": "0.9",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "8551fcec6635c82fba6fc51d817e788dfae0a387",
"version": "22.8.0",
"port-version": 0
},
{
"git-tree": "2d14bc508abd0861bda1a16290ad65b061a82b7c",
"version": "22.3.0",