[libxmlpp] Update to 5.4.0 (#41674)

This commit is contained in:
Kai Pastor 2024-10-22 03:34:34 +02:00 committed by GitHub
parent 3a747a4fc9
commit 84d50131d5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 22 additions and 17 deletions

View File

@ -1,10 +1,9 @@
#..\src\libxml++-5-7c4d4a4cea.clean\meson.build:278:4: ERROR: Problem encountered: Static builds are not supported by MSVC-style builds
set(LIBXMLPP_VERSION 5.0.0)
string(REGEX MATCH "^([0-9]*[.][0-9]*)" MAJOR_MINOR "${VERSION}")
vcpkg_download_distfile(ARCHIVE
URLS "https://ftp.gnome.org/pub/GNOME/sources/libxml++/5.0/libxml++-${LIBXMLPP_VERSION}.tar.xz"
FILENAME "libxml++-${LIBXMLPP_VERSION}.tar.xz"
SHA512 ae8d7a178e7a3b48a9f0e1ea303e8a4e4d879d0d9367124ede3783d0c31e31c862b98e5d28d72edc4c0b19c6b457ead2d25664efd33d65e44fd52c5783ec3091
URLS "https://ftp.gnome.org/pub/GNOME/sources/libxml++/${MAJOR_MINOR}/libxml++-${VERSION}.tar.xz"
"https://www.mirrorservice.org/sites/ftp.gnome.org/pub/GNOME/sources/libxml++/${MAJOR_MINOR}/libxml++-${VERSION}.tar.xz"
FILENAME "libxml++-${VERSION}.tar.xz"
SHA512 bba28edf40c60ac186ff1b704d9f4f41f73c1be3126cfb345005283b32bb5c9a596b8def64be8ad8e295e1e169bed91d120d5105cbbb6cecc4675d10b897dfe6
)
vcpkg_extract_source_archive(
@ -16,16 +15,14 @@ vcpkg_configure_meson(
SOURCE_PATH "${SOURCE_PATH}"
OPTIONS
-Dbuild-documentation=false
-Dbuild-manual=false
-Dvalidation=false # Validate the tutorial XML file
-Dbuild-examples=false
-Dbuild-tests=false
-Dmsvc14x-parallel-installable=false # Use separate DLL and LIB filenames for Visual Studio 2017 and 2019
-Dbuild-deprecated-api=true # Build deprecated API and include it in the library
)
vcpkg_install_meson()
vcpkg_fixup_pkgconfig()
vcpkg_copy_pdbs()
# Handle copyright and readme
file(INSTALL ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxmlpp RENAME copyright)
file(INSTALL ${SOURCE_PATH}/README DESTINATION ${CURRENT_PACKAGES_DIR}/share/libxmlpp)
vcpkg_install_copyright(FILE_LIST "${SOURCE_PATH}/COPYING")

View File

@ -1,12 +1,15 @@
{
"name": "libxmlpp",
"version": "5.0.0",
"port-version": 3,
"description": "a C++ wrapper for the libxml XML parser library.",
"supports": "!(windows & static)",
"version": "5.4.0",
"description": "A C++ wrapper for the libxml XML parser library.",
"homepage": "https://libxmlplusplus.github.io/libxmlplusplus/",
"license": "LGPL-2.1-or-later",
"dependencies": [
"glibmm",
"libxml2",
{
"name": "libxml2",
"default-features": false
},
{
"name": "vcpkg-tool-meson",
"host": true

View File

@ -5393,8 +5393,8 @@
"port-version": 3
},
"libxmlpp": {
"baseline": "5.0.0",
"port-version": 3
"baseline": "5.4.0",
"port-version": 0
},
"libxmp": {
"baseline": "4.6.0",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "2d40381a24a7875d4cdd254d277963cb9ccbecbd",
"version": "5.4.0",
"port-version": 0
},
{
"git-tree": "361ec896634a0f947949dcf71e2dbf991c066d44",
"version": "5.0.0",