From 9e9b7fe2c6d69b25d6bf60c905988926b4720fa8 Mon Sep 17 00:00:00 2001 From: orbea Date: Wed, 28 Oct 2020 10:38:13 -0700 Subject: libraries/spdlog: Updated for version 1.8.1. Signed-off-by: orbea Signed-off-by: Willy Sudiarto Raharjo --- libraries/spdlog/spdlog.SlackBuild | 11 ++++++++--- libraries/spdlog/spdlog.info | 6 +++--- 2 files changed, 11 insertions(+), 6 deletions(-) (limited to 'libraries') diff --git a/libraries/spdlog/spdlog.SlackBuild b/libraries/spdlog/spdlog.SlackBuild index 029d45631639b..5c56a082f6208 100644 --- a/libraries/spdlog/spdlog.SlackBuild +++ b/libraries/spdlog/spdlog.SlackBuild @@ -24,7 +24,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=spdlog -VERSION=${VERSION:-1.5.0} +VERSION=${VERSION:-1.8.1} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -70,8 +70,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -FMT=OFF -pkg-config --exists fmt && FMT=ON +FMT=ON +pkg-config --exists fmt || FMT=OFF + +# Require an older cmake version. +sed -i 's/3.10/3.5.2/' CMakeLists.txt +sed -i 's/3.10/3.5.2/' tests/CMakeLists.txt mkdir -p build cd build @@ -84,6 +88,7 @@ cd build -DSPDLOG_BUILD_BENCH=OFF \ -DSPDLOG_BUILD_EXAMPLE=OFF \ -DSPDLOG_FMT_EXTERNAL=$FMT \ + -DCMAKE_SKIP_RPATH=TRUE \ -DCMAKE_BUILD_TYPE=Release .. make make install DESTDIR=$PKG diff --git a/libraries/spdlog/spdlog.info b/libraries/spdlog/spdlog.info index b734b776f8e9d..6b38555cc88a8 100644 --- a/libraries/spdlog/spdlog.info +++ b/libraries/spdlog/spdlog.info @@ -1,8 +1,8 @@ PRGNAM="spdlog" -VERSION="1.5.0" +VERSION="1.8.1" HOMEPAGE="https://github.com/gabime/spdlog" -DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.5.0/spdlog-1.5.0.tar.gz" -MD5SUM="a966eea01f81551527853d282896cb4d" +DOWNLOAD="https://github.com/gabime/spdlog/archive/v1.8.1/spdlog-1.8.1.tar.gz" +MD5SUM="765838829ada66a35002dbb3ba3fed30" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -- cgit v1.2.3