* update spdlog to 1.11.0-3

This commit is contained in:
Alexander Baldeck 2023-08-06 17:46:23 +02:00
parent 2b4ce8f262
commit d44120d1e3

View File

@ -5,7 +5,7 @@
pkgname=spdlog
pkgver=1.11.0
pkgrel=2
pkgrel=3
pkgdesc='Very fast, header-only/compiled, C++ logging library'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://github.com/gabime/spdlog'
@ -15,17 +15,23 @@ makedepends=('cmake')
source=(
"$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz"
"spdlog_fmt_external.patch"
"https://github.com/gabime/spdlog/commit/0ca574ae.patch"
"https://github.com/gabime/spdlog/commit/af1785b8.patch"
)
provides=(
'libspdlog.so'
)
sha256sums=('ca5cae8d6cac15dae0ec63b21d6ad3530070650f68076f3a4a862ca293a858bb'
'a0eb34b7c6920f0db2587460071f53372663c191cdfe34bf5ea2704c309c745f')
'a0eb34b7c6920f0db2587460071f53372663c191cdfe34bf5ea2704c309c745f'
'8d1ca6b16e2dbb1d3f4a6cdc1abd31eb5af781241adea93ddd1c330d65c6600c'
'89817d8fc912f5bb3dd8e0b5a59bebe47472ea67609b03e0ad7ea4270db06551')
prepare() {
cd "$pkgname-$pkgver"
patch -p1 <../spdlog_fmt_external.patch
patch -p1 < ../0ca574ae.patch # Fix build with fmt 10
patch -p1 < ../af1785b8.patch # Fix tests with fmt 10
}
build() {