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