[arch-commits] Commit in spdlog/repos (3 files)
Date: Wednesday, August 5, 2020 @ 08:39:59 Author: alucryd Revision: 669096 archrelease: copy trunk to community-staging-x86_64 Added: spdlog/repos/community-staging-x86_64/ spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 669095, spdlog/trunk/PKGBUILD) spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 669095, spdlog/trunk/include_cassert.patch) ---+ PKGBUILD | 44 include_cassert.patch | 24 2 files changed, 68 insertions(+) Copied: spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 669095, spdlog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-08-05 08:39:59 UTC (rev 669096) @@ -0,0 +1,44 @@ +# Maintainer: Brett Cornwall +# Contributor: Luca Weiss +# Contributor: Michael Yang + +pkgname=spdlog +pkgver=1.7.0 +pkgrel=2 +pkgdesc='Very fast, header-only/compiled, C++ logging library' +arch=('x86_64') +url='https://github.com/gabime/spdlog' +license=('MIT') +depends=('fmt') +makedepends=('cmake') +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz; +) +provides=( +'libspdlog.so' +) +sha256sums=('f0114a4d3c88be9e696762f37a7c379619443ce9d668546c61b21d41affe5b62') + +build() { +export CFLAGS+=" ${CPPFLAGS}" +export CXXFLAGS+=" ${CPPFLAGS}" +cmake -B build -S "$pkgname-$pkgver" \ +-DSPDLOG_BUILD_BENCH=OFF \ +-DSPDLOG_FMT_EXTERNAL=ON \ +-DSPDLOG_BUILD_SHARED=ON \ +-DSPDLOG_BUILD_TESTS=ON \ +-DCMAKE_BUILD_TYPE=None \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib \ +-Wno-dev +make -C build +} + +check() { +make -C build test +} + +package() { +make -C build DESTDIR="$pkgdir" install +install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" +} Copied: spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 669095, spdlog/trunk/include_cassert.patch) === --- community-staging-x86_64/include_cassert.patch (rev 0) +++ community-staging-x86_64/include_cassert.patch 2020-08-05 08:39:59 UTC (rev 669096) @@ -0,0 +1,24 @@ +diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +index fee3a3bf..d147c5e0 100644 +--- a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +@@ -5,6 +5,7 @@ + #pragma once + + #include ++#include + + namespace spdlog { + namespace details { +diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +index 77d0b1fb..6b740ca2 100644 +--- a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +@@ -8,6 +8,7 @@ + #endif + + #include "spdlog/common.h" ++#include + + namespace spdlog { + namespace details {
[arch-commits] Commit in spdlog/repos (3 files)
Date: Wednesday, January 15, 2020 @ 23:23:20 Author: ainola Revision: 552709 archrelease: copy trunk to community-staging-x86_64 Added: spdlog/repos/community-staging-x86_64/ spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 552708, spdlog/trunk/PKGBUILD) spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 552708, spdlog/trunk/include_cassert.patch) ---+ PKGBUILD | 45 + include_cassert.patch | 24 2 files changed, 69 insertions(+) Copied: spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 552708, spdlog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-01-15 23:23:20 UTC (rev 552709) @@ -0,0 +1,45 @@ +# Maintainer: Brett Cornwall +# Contributor: Luca Weiss +# Contributor: Michael Yang + +pkgname=spdlog +pkgver=1.5.0 +pkgrel=1 +pkgdesc='Very fast, header-only/compiled, C++ logging library' +arch=('x86_64') +url='https://github.com/gabime/spdlog' +license=('MIT') +depends=('fmt') +makedepends=('cmake') +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz; +) +provides=( +'libspdlog.so' +) +sha256sums=('b38e0bbef7faac2b82fed550a0c19b0d4e7f6737d5321d4fd8f216b80f8aee8a') + +build() { +mkdir build +cd build +cmake ../"$pkgname-$pkgver" \ +-DSPDLOG_BUILD_BENCH=OFF \ +-DSPDLOG_BUILD_EXAMPLES=OFF \ +-DSPDLOG_FMT_EXTERNAL=ON \ +-DSPDLOG_BUILD_SHARED=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib +make +} + +check() { +cd build +make test +} + +package() { +cd build +make DESTDIR="$pkgdir" install +install -Dm644 ../"$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" +} Copied: spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 552708, spdlog/trunk/include_cassert.patch) === --- community-staging-x86_64/include_cassert.patch (rev 0) +++ community-staging-x86_64/include_cassert.patch 2020-01-15 23:23:20 UTC (rev 552709) @@ -0,0 +1,24 @@ +diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +index fee3a3bf..d147c5e0 100644 +--- a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +@@ -5,6 +5,7 @@ + #pragma once + + #include ++#include + + namespace spdlog { + namespace details { +diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +index 77d0b1fb..6b740ca2 100644 +--- a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +@@ -8,6 +8,7 @@ + #endif + + #include "spdlog/common.h" ++#include + + namespace spdlog { + namespace details {
[arch-commits] Commit in spdlog/repos (3 files)
Date: Wednesday, December 11, 2019 @ 03:14:46 Author: ainola Revision: 536601 archrelease: copy trunk to community-staging-x86_64 Added: spdlog/repos/community-staging-x86_64/ spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 536600, spdlog/trunk/PKGBUILD) spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 536600, spdlog/trunk/include_cassert.patch) ---+ PKGBUILD | 49 include_cassert.patch | 24 +++ 2 files changed, 73 insertions(+) Copied: spdlog/repos/community-staging-x86_64/PKGBUILD (from rev 536600, spdlog/trunk/PKGBUILD) === --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2019-12-11 03:14:46 UTC (rev 536601) @@ -0,0 +1,49 @@ +# Maintainer: Brett Cornwall +# Contributor: Luca Weiss +# Contributor: Michael Yang + +pkgname=spdlog +pkgver=1.4.2 +pkgrel=2 +pkgdesc='Very fast, header-only/compiled, C++ logging library' +arch=('x86_64') +url='https://github.com/gabime/spdlog' +license=('MIT') +depends=('fmt') +makedepends=('cmake') +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/gabime/spdlog/archive/v$pkgver.tar.gz; +"include_cassert.patch" +) +sha256sums=('821c85b120ad15d87ca2bc44185fa9091409777c756029125a02f81354072157' +'917916a246a784535bd2141de299ed396b497a24c6f1bc7c9d69b7cbc6e2') + +prepare() { +mkdir build +cd "$pkgname-$pkgver" +patch -p1 < ../include_cassert.patch +} + +build() { +cd build +cmake ../"$pkgname-$pkgver" \ +-DSPDLOG_BUILD_BENCH=OFF \ +-DSPDLOG_BUILD_EXAMPLES=OFF \ +-DSPDLOG_FMT_EXTERNAL=ON \ +-DSPDLOG_BUILD_SHARED=ON \ +-DCMAKE_BUILD_TYPE=Release \ +-DCMAKE_INSTALL_PREFIX=/usr \ +-DCMAKE_INSTALL_LIBDIR=lib +make +} + +check() { +cd build +make test +} + +package() { +cd build +make DESTDIR="$pkgdir" install +install -Dm644 ../"$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" +} Copied: spdlog/repos/community-staging-x86_64/include_cassert.patch (from rev 536600, spdlog/trunk/include_cassert.patch) === --- community-staging-x86_64/include_cassert.patch (rev 0) +++ community-staging-x86_64/include_cassert.patch 2019-12-11 03:14:46 UTC (rev 536601) @@ -0,0 +1,24 @@ +diff --git a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +index fee3a3bf..d147c5e0 100644 +--- a/include/spdlog/details/circular_q.h b/include/spdlog/details/circular_q.h +@@ -5,6 +5,7 @@ + #pragma once + + #include ++#include + + namespace spdlog { + namespace details { +diff --git a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +index 77d0b1fb..6b740ca2 100644 +--- a/include/spdlog/details/thread_pool-inl.h b/include/spdlog/details/thread_pool-inl.h +@@ -8,6 +8,7 @@ + #endif + + #include "spdlog/common.h" ++#include + + namespace spdlog { + namespace details {