* update fmt to 11.0.2-1

This commit is contained in:
Alexander Baldeck 2024-09-28 14:21:32 +02:00
parent b1caa3d782
commit 17bc1da3da
3 changed files with 47 additions and 29 deletions

24
fmt/.SRCINFO Normal file
View File

@ -0,0 +1,24 @@
pkgbase = fmt
pkgdesc = Open-source formatting library for C++
pkgver = 11.0.2
pkgrel = 1
url = https://fmt.dev
arch = x86_64
license = MIT
makedepends = cmake
makedepends = doxygen
makedepends = git
makedepends = mkdocs
makedepends = mkdocs-material
makedepends = mkdocstrings
makedepends = ninja
makedepends = npm
makedepends = python-pymdown-extensions
makedepends = python-regex
depends = gcc-libs
depends = glibc
provides = libfmt.so
source = git+https://github.com/fmtlib/fmt.git#tag=0c9fce2ffefecfdce794e1859584e25877b7b592
b2sums = 18b6d66c2159b2f8bd0baf2e1df7514fde09cf6a25441710d40e386abd9baa49b62859c4d8a71b77f0d1550c32fc62826c95fdacf4397e24cc6ea205a0c50798
pkgname = fmt

4
fmt/.nvchecker.toml Normal file
View File

@ -0,0 +1,4 @@
[fmt]
source = "git"
git = "https://github.com/fmtlib/fmt.git"
prefix = "v"

View File

@ -3,42 +3,35 @@
# Contributor: Mihai Bişog <mihai.bisog@gmail.com>
pkgname=fmt
pkgver=10.2.0
pkgver=11.0.2
pkgrel=1
pkgdesc='Open-source formatting library for C++'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url=https://fmt.dev
license=(MIT)
depends=(gcc-libs)
depends=(
gcc-libs
glibc
)
makedepends=(
cmake
doxygen
git
mkdocs
mkdocs-material
mkdocstrings
ninja
python-breathe
python-docutils
python-jinja
python-six
python-sphinx
python-wheel
python-pymdown-extensions
python-regex
)
makedepends_powerpc64=(npm)
makedepends_powerpc64le=(npm)
makedepends_riscv64=(npm)
makedepends_x86_64=(npm)
provides=(libfmt.so)
_tag=67c0c0c09cf74d407d71a29c194761981614df3e
source=(
git+https://github.com/fmtlib/fmt.git#tag=${_tag}
fmt-no-pip-no-virtualenv.patch
fmt-10.0.0-sphinx.patch
)
b2sums=('SKIP'
'0bc421afdc4c2527525ce2e21740c9f72e05431394fb4710c1a8fa6d3bb2ee20d0630e2a76ddbac3c0ba27c1ab08f0c8e27d060def1370721b1c94246cbbf0ff'
'4eabdf38317e22e6b650b91821f1fab50bb3641e4f9a63847cb9b823becd3a4106fe47df37c8dc886f5fe1d1d3e529136c867459105df07c359582214d6fa01f')
prepare() {
cd fmt
patch -Np1 -i ../fmt-no-pip-no-virtualenv.patch
patch -Np1 -i ../fmt-10.0.0-sphinx.patch
}
_tag=0c9fce2ffefecfdce794e1859584e25877b7b592
source=("git+https://github.com/fmtlib/fmt.git#tag=${_tag}")
b2sums=('18b6d66c2159b2f8bd0baf2e1df7514fde09cf6a25441710d40e386abd9baa49b62859c4d8a71b77f0d1550c32fc62826c95fdacf4397e24cc6ea205a0c50798')
pkgver() {
cd fmt
@ -50,13 +43,10 @@ build() {
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DBUILD_SHARED_LIBS=ON
-DBUILD_SHARED_LIBS=ON \
-Wno-dev
cmake --build build
case "${CARCH}" in
x86_64)
cmake --build build --target doc
;;
esac
cmake --build build --target doc
}
check() {