Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Mar 2021 22:11:07 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567618 - in head/devel/zziplib: . files
Message-ID:  <202103072211.127MB78a031715@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Sun Mar  7 22:11:07 2021
New Revision: 567618
URL: https://svnweb.freebsd.org/changeset/ports/567618

Log:
  Update to 0.13.72
  
  Changes:	https://github.com/gdraheim/zziplib/blob/master/ChangeLog

Added:
  head/devel/zziplib/files/patch-zzip-CMakeLists.txt   (contents, props changed)
  head/devel/zziplib/files/patch-zzipwrap-CMakeLists.txt   (contents, props changed)
Deleted:
  head/devel/zziplib/files/patch-Makefile.in
  head/devel/zziplib/files/patch-configure
  head/devel/zziplib/files/patch-zzip_Makefile.in
Modified:
  head/devel/zziplib/Makefile
  head/devel/zziplib/distinfo
  head/devel/zziplib/pkg-plist

Modified: head/devel/zziplib/Makefile
==============================================================================
--- head/devel/zziplib/Makefile	Sun Mar  7 22:11:00 2021	(r567617)
+++ head/devel/zziplib/Makefile	Sun Mar  7 22:11:07 2021	(r567618)
@@ -2,9 +2,8 @@
 # $FreeBSD$
 
 PORTNAME=	zziplib
+PORTVERSION=	0.13.72
 DISTVERSIONPREFIX=	v
-PORTVERSION=	0.13.71
-PORTREVISION=	1
 CATEGORIES=	devel
 
 MAINTAINER=	sunpoet@FreeBSD.org
@@ -15,18 +14,15 @@ LICENSE_COMB=	dual
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
 LICENSE_FILE_MPL11=	${WRKSRC}/docs/COPYING.MPL
 
-BUILD_DEPENDS=	gsed:textproc/gsed \
-		zip:archivers/zip
+BUILD_DEPENDS=	bash:shells/bash
 
-USES=		libtool pathfix pkgconfig
+USES=		cmake
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	gdraheim
 
-CONFIGURE_ARGS=	--srcdir=${WRKSRC}
-CONFIGURE_ENV=	ac_cv_path_XMLTO=":"
-GNU_CONFIGURE=	yes
-INSTALL_TARGET=	install-strip
+CMAKE_ON=	BUILD_SHARED_LIBS ZZIP_LIBTOOL ZZIP_PKGCONFIG ZZIPBINS ZZIPFSEEKO ZZIPMMAPPED ZZIPWRAP
+CMAKE_OFF=	BUILD_STATIC_LIBS BUILD_TESTS ZZIPDOCS ZZIPTEST
 TEST_TARGET=	check
 USE_LDCONFIG=	yes
 
@@ -35,8 +31,8 @@ PORTSCOUT=	limit:^0\.
 OPTIONS_DEFINE=	SDL
 OPTIONS_SUB=	yes
 
-SDL_CONFIGURE_ENABLE=	sdl
-SDL_USE=		SDL=sdl
-SDL_USES=		sdl
+SDL_CMAKE_BOOL=	ZZIPSDL
+SDL_USE=	SDL=sdl2
+SDL_USES=	libtool:ldflags sdl
 
 .include <bsd.port.mk>

Modified: head/devel/zziplib/distinfo
==============================================================================
--- head/devel/zziplib/distinfo	Sun Mar  7 22:11:00 2021	(r567617)
+++ head/devel/zziplib/distinfo	Sun Mar  7 22:11:07 2021	(r567618)
@@ -1,3 +1,3 @@
-TIMESTAMP = 1587498931
-SHA256 (gdraheim-zziplib-v0.13.71_GH0.tar.gz) = 2ee1e0fbbb78ec7cc46bde5b62857bc51f8d665dd265577cf93584344b8b9de2
-SIZE (gdraheim-zziplib-v0.13.71_GH0.tar.gz) = 1150654
+TIMESTAMP = 1614794148
+SHA256 (gdraheim-zziplib-v0.13.72_GH0.tar.gz) = 93ef44bf1f1ea24fc66080426a469df82fa631d13ca3b2e4abaeab89538518dc
+SIZE (gdraheim-zziplib-v0.13.72_GH0.tar.gz) = 1162175

Added: head/devel/zziplib/files/patch-zzip-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/zziplib/files/patch-zzip-CMakeLists.txt	Sun Mar  7 22:11:07 2021	(r567618)
@@ -0,0 +1,22 @@
+--- zzip/CMakeLists.txt.orig	2021-01-04 23:05:08 UTC
++++ zzip/CMakeLists.txt
+@@ -189,16 +189,16 @@ target_link_libraries(libzzipmmapped ZLIB::ZLIB )
+ target_include_directories (libzzipmmapped PRIVATE ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR})
+ endif()
+ 
+-set_target_properties(libzzip PROPERTIES OUTPUT_NAME "zzip" RELEASE_POSTFIX "-${RELNUM}")
++set_target_properties(libzzip PROPERTIES OUTPUT_NAME "zzip")
+ SET_TARGET_PROPERTIES(libzzip PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM})
+ 
+ if(ZZIPFSEEKO)
+-set_target_properties(libzzipfseeko PROPERTIES OUTPUT_NAME "zzipfseeko" RELEASE_POSTFIX "-${RELNUM}")
++set_target_properties(libzzipfseeko PROPERTIES OUTPUT_NAME "zzipfseeko")
+ SET_TARGET_PROPERTIES(libzzipfseeko PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM})
+ endif()
+ 
+ if(ZZIPMMAPPED)
+-set_target_properties(libzzipmmapped PROPERTIES OUTPUT_NAME "zzipmmapped" RELEASE_POSTFIX "-${RELNUM}")
++set_target_properties(libzzipmmapped PROPERTIES OUTPUT_NAME "zzipmmapped")
+ SET_TARGET_PROPERTIES(libzzipmmapped PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM})
+ endif()
+ 

Added: head/devel/zziplib/files/patch-zzipwrap-CMakeLists.txt
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/zziplib/files/patch-zzipwrap-CMakeLists.txt	Sun Mar  7 22:11:07 2021	(r567618)
@@ -0,0 +1,11 @@
+--- zzipwrap/CMakeLists.txt.orig	2021-01-04 23:05:08 UTC
++++ zzipwrap/CMakeLists.txt
+@@ -48,7 +48,7 @@ add_library(libzzipwrap ${libzzipwrap_SRCS} )
+ target_link_libraries(libzzipwrap libzzip ZLIB::ZLIB )
+ target_include_directories(libzzipwrap PRIVATE "${CMAKE_SOURCE_DIR}" "${CMAKE_BINARY_DIR}" "${CMAKE_CURRENT_SOURCE_DIR}")
+ 
+-set_target_properties(libzzipwrap PROPERTIES OUTPUT_NAME "zzipwrap" RELEASE_POSTFIX "-${RELNUM}")
++set_target_properties(libzzipwrap PROPERTIES OUTPUT_NAME "zzipwrap")
+ SET_TARGET_PROPERTIES(libzzipwrap PROPERTIES VERSION ${VERNUM}.${FIXNUM} SOVERSION ${VERNUM})
+ set_target_properties(libzzipwrap PROPERTIES DEFINE_SYMBOL "libzzip_EXPORTS")
+ 

Modified: head/devel/zziplib/pkg-plist
==============================================================================
--- head/devel/zziplib/pkg-plist	Sun Mar  7 22:11:00 2021	(r567617)
+++ head/devel/zziplib/pkg-plist	Sun Mar  7 22:11:07 2021	(r567618)
@@ -32,24 +32,19 @@ include/zzip/write.h
 include/zzip/zzip.h
 include/zzip/zzip32.h
 include/zziplib.h
-lib/libzzip.a
 lib/libzzip.so
 lib/libzzip.so.13
-lib/libzzip.so.13.0.71
-lib/libzzipfseeko.a
+lib/libzzip.so.13.0.72
 lib/libzzipfseeko.so
 lib/libzzipfseeko.so.13
-lib/libzzipfseeko.so.13.0.71
-lib/libzzipmmapped.a
+lib/libzzipfseeko.so.13.0.72
 lib/libzzipmmapped.so
 lib/libzzipmmapped.so.13
-lib/libzzipmmapped.so.13.0.71
-lib/libzzipwrap.a
+lib/libzzipmmapped.so.13.0.72
 lib/libzzipwrap.so
 lib/libzzipwrap.so.13
-lib/libzzipwrap.so.13.0.71
+lib/libzzipwrap.so.13.0.72
 %%SDL%%libdata/pkgconfig/SDL_rwops_zzip.pc
-libdata/pkgconfig/zzip-zlib-config.pc
 libdata/pkgconfig/zzipfseeko.pc
 libdata/pkgconfig/zziplib.pc
 libdata/pkgconfig/zzipmmapped.pc



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103072211.127MB78a031715>