libxml2: Update to 2.15.0

This commit is contained in:
Christoph Reiter 2025-09-30 20:18:32 +02:00
parent 547916c860
commit 3429b88c3c

View File

@ -2,13 +2,12 @@
pkgbase=libxml2
pkgname=('libxml2' 'libxml2-devel')
pkgver=2.14.6
pkgrel=2
pkgver=2.15.0
pkgrel=1
pkgdesc="XML parsing library, version 2"
arch=(i686 x86_64)
license=('spdx:MIT')
makedepends=('gcc' 'libreadline-devel'
'liblzma-devel' 'zlib-devel' 'autotools')
makedepends=('gcc' 'libreadline-devel' 'zlib-devel' 'autotools' 'libxslt' 'docbook-xsl' 'doxygen' 'libiconv-devel')
url="https://gitlab.gnome.org/GNOME/libxml2/-/wikis/"
msys2_repository_url="https://gitlab.gnome.org/GNOME/libxml2"
msys2_references=(
@ -16,7 +15,7 @@ msys2_references=(
)
source=("https://download.gnome.org/sources/libxml2/${pkgver%.*}/${pkgbase}-${pkgver}.tar.xz"
https://www.w3.org/XML/Test/xmlts20130923.tar.gz)
sha256sums=('7ce458a0affeb83f0b55f1f4f9e0e55735dbfc1a9de124ee86fb4a66b597203a'
sha256sums=('5abc766497c5b1d6d99231f662e30c99402a90d03b06c67b62d6c1179dedd561'
'9b61db9f5dbffa545f4b8d78422167083a8568c59bd1129f94138f936cf6fc1f')
# Helper macros to help make tasks easier #
@ -61,12 +60,11 @@ build() {
--build=${CHOST} \
--host=${CHOST} \
--target=${CHOST} \
--enable-ipv6 \
--with-history \
--with-iconv \
--with-legacy \
--with-http \
--with-lzma \
--with-docs \
--without-icu \
--without-python \
--enable-shared \
@ -82,7 +80,7 @@ check() {
}
package_libxml2() {
depends=('coreutils' 'liblzma' 'libreadline' 'zlib')
depends=('coreutils' 'libreadline' 'zlib')
groups=('libraries')
install=libxml2.install
@ -98,12 +96,11 @@ package_libxml2-devel() {
pkgdesc="Libxml2 headers and libraries"
groups=('development')
options=('staticlibs')
depends=("libxml2=${pkgver}" 'libreadline-devel' 'liblzma-devel' 'zlib-devel')
depends=("libxml2=${pkgver}" 'libreadline-devel' 'zlib-devel' 'libiconv-devel')
mkdir -p ${pkgdir}/usr/{bin,share}
cp -f ${srcdir}/dest/usr/bin/*-config ${pkgdir}/usr/bin/
cp -rf ${srcdir}/dest/usr/include ${pkgdir}/usr/
cp -rf ${srcdir}/dest/usr/lib ${pkgdir}/usr/
cp -rf ${srcdir}/dest/usr/share/doc ${pkgdir}/usr/share/
cp -rf ${srcdir}/dest/usr/share/gtk-doc ${pkgdir}/usr/share/
}