diff options
Diffstat (limited to 'libraries/spdlog')
-rw-r--r-- | libraries/spdlog/spdlog.SlackBuild | 11 | ||||
-rw-r--r-- | libraries/spdlog/spdlog.info | 6 |
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="" |