* update fmt to 10.0.0-1
This commit is contained in:
parent
25ccbce65b
commit
84777a363f
20
fmt/PKGBUILD
20
fmt/PKGBUILD
@ -3,8 +3,8 @@
|
||||
# Contributor: Mihai Bişog <mihai.bisog@gmail.com>
|
||||
|
||||
pkgname=fmt
|
||||
pkgver=9.1.0
|
||||
pkgrel=4
|
||||
pkgver=10.0.0
|
||||
pkgrel=1
|
||||
pkgdesc='Open-source formatting library for C++'
|
||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||
url=https://fmt.dev
|
||||
@ -23,21 +23,25 @@ makedepends=(
|
||||
python-wheel
|
||||
)
|
||||
makedepends_powerpc64le=(nodejs)
|
||||
makedepends_powerpc64=(nodejs)
|
||||
makedepends_riscv64=(nodejs)
|
||||
makedepends_x86_64=(npm)
|
||||
provides=(libfmt.so)
|
||||
_tag=a33701196adfad74917046096bf5a2aa0ab0bb50
|
||||
_tag=a0b8a92e3d1532361c2f7feb63babc5c18d00ef2
|
||||
source=(
|
||||
git+https://github.com/fmtlib/fmt.git#tag=${_tag}
|
||||
fmt-no-pip-no-virtualenv.patch
|
||||
fmt-10.0.0-sphinx.patch
|
||||
)
|
||||
b2sums=('SKIP'
|
||||
'4e19e7b2cd8fd049b7c692c0efbc4b2f1dd6062f44a600f4f47be81ed0ed14defb4285eb09b8d8fb8bb55441689c3a659e157e91d2cdd94e4d7b00c28b6534f2')
|
||||
'4e19e7b2cd8fd049b7c692c0efbc4b2f1dd6062f44a600f4f47be81ed0ed14defb4285eb09b8d8fb8bb55441689c3a659e157e91d2cdd94e4d7b00c28b6534f2'
|
||||
'4eabdf38317e22e6b650b91821f1fab50bb3641e4f9a63847cb9b823becd3a4106fe47df37c8dc886f5fe1d1d3e529136c867459105df07c359582214d6fa01f')
|
||||
|
||||
prepare() {
|
||||
cd fmt
|
||||
patch -Np1 -i ../fmt-no-pip-no-virtualenv.patch
|
||||
git cherry-pick -n 0b0f7cfbfcebd021c910078003d413354bd843e2 # hip workaround
|
||||
patch -Np1 -i ../fmt-no-pip-no-virtualenv.patch
|
||||
patch -Np1 -i ../fmt-10.0.0-sphinx.patch
|
||||
}
|
||||
|
||||
pkgver() {
|
||||
@ -52,7 +56,11 @@ build() {
|
||||
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
|
||||
-DBUILD_SHARED_LIBS=ON
|
||||
cmake --build build
|
||||
cmake --build build --target doc
|
||||
case "${CARCH}" in
|
||||
powerpc64*|riscv64|x86_64)
|
||||
cmake --build build --target doc
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
check() {
|
||||
|
13
fmt/fmt-10.0.0-sphinx.patch
Normal file
13
fmt/fmt-10.0.0-sphinx.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git i/doc/basic-bootstrap/layout.html w/doc/basic-bootstrap/layout.html
|
||||
index 5519c4b5..c6794102 100644
|
||||
--- i/doc/basic-bootstrap/layout.html
|
||||
+++ w/doc/basic-bootstrap/layout.html
|
||||
@@ -102,7 +102,7 @@
|
||||
{%- endmacro %}
|
||||
|
||||
{%- macro css() %}
|
||||
- <link rel="stylesheet" href="{{ pathto('_static/' + style, 1) }}" type="text/css" />
|
||||
+ <link rel="stylesheet" href="{{ pathto('_static/' + styles[-1], 1) }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ pathto('_static/pygments.css', 1) }}" type="text/css" />
|
||||
{%- for cssfile in css_files %}
|
||||
<link rel="stylesheet" href="{{ pathto(cssfile, 1) }}" type="text/css" />
|
Loading…
x
Reference in New Issue
Block a user