Skip to content

Commit 55a0de0

Browse files
committed
xmlto: make libpaper optional
it's not needed for the common case of html/man output, so make it optional
1 parent e140ae9 commit 55a0de0

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

mingw-w64-xmlto/PKGBUILD

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,26 @@ _realname=xmlto
44
pkgbase=mingw-w64-${_realname}
55
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}")
66
pkgver=0.0.29
7-
pkgrel=1
7+
pkgrel=2
88
pkgdesc="Convert xml to many other formats (mingw-w64)"
99
arch=('any')
1010
mingw_arch=('mingw64' 'ucrt64' 'clang64' 'clangarm64')
1111
url='https://pagure.io/xmlto/'
1212
license=('spdx:GPL-2.0-or-later')
1313
depends=(
1414
"${MINGW_PACKAGE_PREFIX}-libxslt"
15-
"${MINGW_PACKAGE_PREFIX}-libpaper"
1615
"${MINGW_PACKAGE_PREFIX}-libxml2"
1716
)
1817
makedepends=(
1918
"${MINGW_PACKAGE_PREFIX}-autotools"
2019
"${MINGW_PACKAGE_PREFIX}-cc"
2120
"${MINGW_PACKAGE_PREFIX}-docbook-xsl"
21+
"${MINGW_PACKAGE_PREFIX}-libpaper"
2222
"flex"
2323
)
24+
optdepends=(
25+
"${MINGW_PACKAGE_PREFIX}-libpaper: paper size detection for PDF/PS/FO output"
26+
)
2427
_commit="6fa6a0e07644f20abf2596f78a60112713e11cbe"
2528
source=("https://pagure.io/xmlto/archive/${pkgver}/${_realname}-${pkgver}.tar.gz"
2629
0002-xmlto-use-windows-paths-in-xml.patch

0 commit comments

Comments
 (0)