diff options
author | Patrick Northon | 2022-11-03 05:26:44 -0400 |
---|---|---|
committer | Patrick Northon | 2022-11-03 05:26:44 -0400 |
commit | 5eb0972bcfc1e209d9c3f38bd10a26c31571d723 (patch) | |
tree | 8e909d1282f796805c08263526421640085ce0f5 | |
parent | 8f9880615dae52db1972bb2741571d743b3aaa9f (diff) | |
download | aur-5eb0972bcfc1e209d9c3f38bd10a26c31571d723.tar.gz |
Update version.
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 7 insertions, 13 deletions
@@ -1,6 +1,6 @@ pkgbase = mingw-w64-spdlog pkgdesc = Very fast, header-only/compiled, C++ logging library (mingw-w64) - pkgver = 1.10.0 + pkgver = 1.11.0 pkgrel = 1 url = https://github.com/gabime/spdlog/ arch = any @@ -11,7 +11,7 @@ pkgbase = mingw-w64-spdlog options = !strip options = !buildflags options = staticlibs - source = spdlog-1.10.0.tar.gz::https://github.com/gabime/spdlog//archive/refs/tags/v1.10.0.tar.gz - sha256sums = 697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224 + source = spdlog-1.11.0.tar.gz::https://github.com/gabime/spdlog//archive/refs/tags/v1.11.0.tar.gz + sha256sums = ca5cae8d6cac15dae0ec63b21d6ad3530070650f68076f3a4a862ca293a858bb pkgname = mingw-w64-spdlog @@ -2,7 +2,7 @@ _pkgname=spdlog pkgname=mingw-w64-${_pkgname} -pkgver=1.10.0 +pkgver=1.11.0 pkgrel=1 pkgdesc='Very fast, header-only/compiled, C++ logging library (mingw-w64)' url="https://github.com/gabime/${_pkgname}/" @@ -16,19 +16,14 @@ optdepends=() source=( "$_pkgname-$pkgver.tar.gz::${url}/archive/refs/tags/v${pkgver}.tar.gz" ) -sha256sums=('697f91700237dbae2326b90469be32b876b2b44888302afbc7aceb68bcfe8224') +sha256sums=('ca5cae8d6cac15dae0ec63b21d6ad3530070650f68076f3a4a862ca293a858bb') _srcdir="${_pkgname}-${pkgver}" _architectures='i686-w64-mingw32 x86_64-w64-mingw32' -_flags=( -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE='-O2 -DNDEBUG' +_flags=( -Wno-dev -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_FLAGS_RELEASE='-DNDEBUG' -DSPDLOG_BUILD_BENCH=OFF -DSPDLOG_FMT_EXTERNAL=ON -DSPDLOG_WCHAR_FILENAMES=OFF -DSPDLOG_WCHAR_SUPPORT=OFF -DSPDLOG_ENABLE_PCH=ON -DSPDLOG_BUILD_EXAMPLE=OFF ) -prepare() { - cd "${_srcdir}" - find . -iname '*.cpp' -type f -exec sed -i 's/<Windows.h>/<windows.h>/' '{}' \; -} - build() { for _arch in ${_architectures}; do ${_arch}-cmake -S "${_srcdir}" -B "build-${_arch}-static" "${_flags[@]}" -DSPDLOG_BUILD_TESTS=OFF \ @@ -42,8 +37,7 @@ build() { check() { for _arch in ${_architectures}; do - # Only compile-time tests enabled. - ${_arch}-cmake -S "${_srcdir}" -B "build-${_arch}" "${_flags[@]}" -DSPDLOG_BUILD_TESTS=OFF -DSPDLOG_BUILD_TESTS_HO=ON + ${_arch}-cmake -S "${_srcdir}" -B "build-${_arch}" "${_flags[@]}" -DSPDLOG_BUILD_TESTS=ON -DSPDLOG_BUILD_TESTS_HO=ON cmake --build "build-${_arch}" cmake --build "build-${_arch}" --target test done |