aboutsummaryrefslogtreecommitdiff
path: root/libraries
diff options
context:
space:
mode:
authororbea <orbea@riseup.net>2020-10-28 10:38:13 -0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2020-10-31 11:15:44 +0700
commit9e9b7fe2c6d69b25d6bf60c905988926b4720fa8 (patch)
tree7511e330bcbfa9f4d87257971e03a89cd6d1d241 /libraries
parent25c38a101ade1812d9773b930b027751508ebb8f (diff)
libraries/spdlog: Updated for version 1.8.1.
Signed-off-by: orbea <orbea@riseup.net> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r--libraries/spdlog/spdlog.SlackBuild11
-rw-r--r--libraries/spdlog/spdlog.info6
2 files changed, 11 insertions, 6 deletions
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=""