[arch-commits] Commit in spdlog/repos/community-x86_64 (4 files)

Brett Cornwall ainola at archlinux.org
Sat Jun 6 01:36:05 UTC 2020


    Date: Saturday, June 6, 2020 @ 01:36:04
  Author: ainola
Revision: 639235

archrelease: copy trunk to community-x86_64

Added:
  spdlog/repos/community-x86_64/PKGBUILD
    (from rev 639234, spdlog/trunk/PKGBUILD)
  spdlog/repos/community-x86_64/include_cassert.patch
    (from rev 639234, spdlog/trunk/include_cassert.patch)
Deleted:
  spdlog/repos/community-x86_64/PKGBUILD
  spdlog/repos/community-x86_64/include_cassert.patch

-----------------------+
 PKGBUILD              |   89 +++++++++++++++++++++++-------------------------
 include_cassert.patch |   48 ++++++++++++-------------
 2 files changed, 68 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-06-06 01:35:46 UTC (rev 639234)
+++ PKGBUILD	2020-06-06 01:36:04 UTC (rev 639235)
@@ -1,45 +0,0 @@
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# 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-x86_64/PKGBUILD (from rev 639234, spdlog/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-06-06 01:36:04 UTC (rev 639235)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Luca Weiss
+# Contributor: Michael Yang
+
+pkgname=spdlog
+pkgver=1.6.1
+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=('378a040d91f787aec96d269b0c39189f58a6b852e4cbf9150ccfacbe85ebbbfc')
+
+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/"
+}

Deleted: include_cassert.patch
===================================================================
--- include_cassert.patch	2020-06-06 01:35:46 UTC (rev 639234)
+++ include_cassert.patch	2020-06-06 01:36:04 UTC (rev 639235)
@@ -1,24 +0,0 @@
-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 <vector>
-+#include <cassert>
- 
- 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 <cassert>
- 
- namespace spdlog {
- namespace details {

Copied: spdlog/repos/community-x86_64/include_cassert.patch (from rev 639234, spdlog/trunk/include_cassert.patch)
===================================================================
--- include_cassert.patch	                        (rev 0)
+++ include_cassert.patch	2020-06-06 01:36:04 UTC (rev 639235)
@@ -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 <vector>
++#include <cassert>
+ 
+ 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 <cassert>
+ 
+ namespace spdlog {
+ namespace details {



More information about the arch-commits mailing list