unshield: updated to 1.5.0
Version 1.5.0 Catch-up release :)
This commit is contained in:
parent
763db69ec7
commit
413806d158
4 changed files with 23 additions and 21 deletions
|
@ -1,7 +1,6 @@
|
||||||
# $NetBSD: Makefile,v 1.11 2020/01/18 21:48:40 jperkin Exp $
|
# $NetBSD: Makefile,v 1.12 2021/12/01 09:34:13 adam Exp $
|
||||||
|
|
||||||
DISTNAME= unshield-1.4.3
|
DISTNAME= unshield-1.5.0
|
||||||
PKGREVISION= 1
|
|
||||||
CATEGORIES= archivers
|
CATEGORIES= archivers
|
||||||
MASTER_SITES= ${MASTER_SITE_GITHUB:=twogood/}
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=twogood/}
|
||||||
|
|
||||||
|
@ -13,6 +12,7 @@ LICENSE= mit
|
||||||
USE_CMAKE= yes
|
USE_CMAKE= yes
|
||||||
USE_TOOLS+= pkg-config
|
USE_TOOLS+= pkg-config
|
||||||
USE_LANGUAGES= c c++
|
USE_LANGUAGES= c c++
|
||||||
|
CMAKE_ARGS+= -DBUILD_SHARED=ON
|
||||||
|
|
||||||
LDFLAGS+= -liconv
|
LDFLAGS+= -liconv
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
$NetBSD: distinfo,v 1.11 2021/10/26 09:57:18 nia Exp $
|
$NetBSD: distinfo,v 1.12 2021/12/01 09:34:13 adam Exp $
|
||||||
|
|
||||||
BLAKE2s (unshield-1.4.3.tar.gz) = b88daa123e8fa2f2f1eff1e7b3d3c766fd76a390e9ffbd51155157570c0cefa2
|
BLAKE2s (unshield-1.5.0.tar.gz) = 866ac48e5a1cc93c5255860b3b07833516b7f49dd1a30f07941e821ac7904b52
|
||||||
SHA512 (unshield-1.4.3.tar.gz) = 2f058e0a28d0497e2afe231ded1b1bb16745401398eb1035e628d263351b10a1343c9664f3937b8912755db9dc5236a1b43e9bcba596affb7aa8b036f49382aa
|
SHA512 (unshield-1.5.0.tar.gz) = 626d88293a6a71e7be4cd4ba85f5112edf7bf81a606439404d4da1b092fc1d30bcc3503921255438fba7bd541b806834fbc2446b7e586e46a89b182631a82353
|
||||||
Size (unshield-1.4.3.tar.gz) = 58822 bytes
|
Size (unshield-1.5.0.tar.gz) = 66929 bytes
|
||||||
SHA1 (patch-CMakeLists.txt) = cbbcc0265d963e498522053f24557c505fd03539
|
SHA1 (patch-lib_CMakeLists.txt) = 1bbc989d765940e75cfa9c3ccde55dae502e17b3
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
$NetBSD: patch-CMakeLists.txt,v 1.1 2019/10/02 07:02:06 nia Exp $
|
|
||||||
|
|
||||||
Use CMAKE_INSTALL_MANDIR.
|
|
||||||
|
|
||||||
--- CMakeLists.txt.orig 2017-01-15 19:09:19.000000000 +0000
|
|
||||||
+++ CMakeLists.txt
|
|
||||||
@@ -71,5 +71,5 @@ add_definitions(-fPIC)
|
|
||||||
add_subdirectory(lib)
|
|
||||||
add_subdirectory(src)
|
|
||||||
|
|
||||||
-install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_DATAROOTDIR}/man/man1)
|
|
||||||
+install(FILES man/unshield.1 DESTINATION ${CMAKE_INSTALL_MANDIR}/man1)
|
|
||||||
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/libunshield.pc DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig)
|
|
15
archivers/unshield/patches/patch-lib_CMakeLists.txt
Normal file
15
archivers/unshield/patches/patch-lib_CMakeLists.txt
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
$NetBSD: patch-lib_CMakeLists.txt,v 1.1 2021/12/01 09:34:13 adam Exp $
|
||||||
|
|
||||||
|
Restore shared library properties.
|
||||||
|
|
||||||
|
--- lib/CMakeLists.txt.orig 2021-10-21 15:09:27.000000000 +0000
|
||||||
|
+++ lib/CMakeLists.txt
|
||||||
|
@@ -34,6 +34,8 @@ endif()
|
||||||
|
|
||||||
|
target_include_directories(${PROJECT_NAME} PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC ZLIB::ZLIB convert_utf)
|
||||||
|
+set_target_properties(libunshield PROPERTIES OUTPUT_NAME unshield)
|
||||||
|
+set_target_properties(libunshield PROPERTIES VERSION 0.0.0 SOVERSION 0)
|
||||||
|
|
||||||
|
if(USE_OUR_OWN_MD5)
|
||||||
|
target_link_libraries(${PROJECT_NAME} PUBLIC md5)
|
Loading…
Reference in a new issue