libraries/ghc_filesystem: Updated for version 1.5.14

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Martin Bångens 2023-12-31 12:05:23 +01:00 committed by Willy Sudiarto Raharjo
parent 0e1aa05d88
commit f7a6f99ad6
No known key found for this signature in database
GPG key ID: 3F617144D7238786
3 changed files with 4 additions and 36 deletions

View file

@ -1,31 +0,0 @@
--- a/CMakeLists.txt 2022-06-26 22:21:15.977039733 +0200
+++ b/CMakeLists.txt 2022-06-26 22:20:35.782042699 +0200
@@ -1,5 +1,8 @@
cmake_minimum_required(VERSION 3.7.2)
-project(ghcfilesystem)
+project(
+ ghcfilesystem,
+ VERSION 1.5.12
+)
if (POLICY CMP0077)
cmake_policy(SET CMP0077 NEW)
@@ -70,7 +73,16 @@
"${PROJECT_BINARY_DIR}/cmake/ghc_filesystem-config.cmake"
INSTALL_DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ghc_filesystem"
PATH_VARS CMAKE_INSTALL_INCLUDEDIR)
- install(FILES "${PROJECT_BINARY_DIR}/cmake/ghc_filesystem-config.cmake"
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ghc_filesystem")
+ write_basic_package_version_file(
+ "${PROJECT_BINARY_DIR}/cmake/ghc_filesystem-config-version.cmake"
+ VERSION ${PROJECT_VERSION}
+ COMPATIBILITY SameMajorVersion
+ )
+ install(
+ FILES
+ "${PROJECT_BINARY_DIR}/cmake/ghc_filesystem-config.cmake"
+ "${PROJECT_BINARY_DIR}/cmake/ghc_filesystem-config-version.cmake"
+ DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/ghc_filesystem"
+ )
add_library(ghcFilesystem::ghc_filesystem ALIAS ghc_filesystem)
endif()

View file

@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ghc_filesystem
VERSION=${VERSION:-1.5.12}
VERSION=${VERSION:-1.5.14}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@ -62,7 +62,6 @@ 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 {} \;
cat $CWD/cmake_project_version.patch | patch -Np1
mkdir -p build
cd build

View file

@ -1,8 +1,8 @@
PRGNAM="ghc_filesystem"
VERSION="1.5.12"
VERSION="1.5.14"
HOMEPAGE="https://github.com/gulrak/filesystem"
DOWNLOAD="https://github.com/gulrak/filesystem/archive/v1.5.12/filesystem-1.5.12.tar.gz"
MD5SUM="88ebdd8120216ddd3ca7be99310a7310"
DOWNLOAD="https://github.com/gulrak/filesystem/archive/v1.5.14/filesystem-1.5.14.tar.gz"
MD5SUM="bbd0250475eb1dbb54e9fc162126d1df"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""