Date: Sun, 29 Mar 2026 19:52:06 +0000 From: Daniel Engberg <diizzy@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Cc: Stefan Schlosser <bsdcode@disroot.org> Subject: git: c2f3f9b05a33 - main - devel/libchdr: Update to g20260310 Message-ID: <69c982e6.22a4a.1ad211e7@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by diizzy: URL: https://cgit.FreeBSD.org/ports/commit/?id=c2f3f9b05a33082dbc1fde1c6439ead38d999004 commit c2f3f9b05a33082dbc1fde1c6439ead38d999004 Author: Stefan Schlosser <bsdcode@disroot.org> AuthorDate: 2026-03-29 14:04:32 +0000 Commit: Daniel Engberg <diizzy@FreeBSD.org> CommitDate: 2026-03-29 19:47:10 +0000 devel/libchdr: Update to g20260310 * Use short hash for GH_TAGNAME. This follows the Porter's Handbook more closely. * Split Github variables into separate section for improved readability. * Add option LTO, enabled by default. This replaces enabling LTO via the WITH_LTO variable. Having an LTO port option is more commonly used in the ports tree. * Replace zlib with miniz in EXTRACT_AFTER_ARGS because upstream has switched to a leaner implementation for the vendored zlib. Also safeguard every --exclude entry to match the intended path only and place them on a separate line for improved readability. Changelog: https://github.com/rtissera/libchdr/compare/40f96ee...7715de1 PR: 294074 --- devel/libchdr/Makefile | 15 +++++++++++---- devel/libchdr/distinfo | 6 +++--- devel/libchdr/pkg-plist | 1 + 3 files changed, 15 insertions(+), 7 deletions(-) diff --git a/devel/libchdr/Makefile b/devel/libchdr/Makefile index 833df5fb89a1..8b2a6764d6cc 100644 --- a/devel/libchdr/Makefile +++ b/devel/libchdr/Makefile @@ -1,5 +1,5 @@ PORTNAME= libchdr -DISTVERSION= g20250522 +DISTVERSION= g20260310 CATEGORIES= devel MAINTAINER= bsdcode@disroot.org @@ -12,19 +12,26 @@ LICENSE_FILE= ${WRKSRC}/LICENSE.txt LIB_DEPENDS= libzstd.so:archivers/zstd USES= cmake pathfix + USE_GITHUB= yes GH_ACCOUNT= rtissera -GH_TAGNAME= 40f96ee322971eedf2a16bdab6727daa861e8626 +GH_TAGNAME= 7715de1 + USE_LDCONFIG= yes -CMAKE_ARGS= -DBUILD_LTO=${defined(WITH_LTO):?ON:OFF} CMAKE_ON= INSTALL_STATIC_LIBS \ WITH_SYSTEM_ZLIB \ WITH_SYSTEM_ZSTD -EXTRACT_AFTER_ARGS= --exclude deps/zlib* --exclude deps/zstd* \ +EXTRACT_AFTER_ARGS= --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/deps/miniz* \ + --exclude ${GH_PROJECT_DEFAULT}-${GH_TAGNAME_EXTRACT}/deps/zstd* \ --no-same-owner --no-same-permissions +OPTIONS_DEFINE= LTO +OPTIONS_DEFAULT= LTO + +LTO_CMAKE_BOOL= BUILD_LTO + post-install: ${RLN} ${STAGEDIR}${PREFIX}/lib/libchdr-static.a ${STAGEDIR}${PREFIX}/lib/libchdr.a diff --git a/devel/libchdr/distinfo b/devel/libchdr/distinfo index 57e12bc37e06..8e4816c12b5d 100644 --- a/devel/libchdr/distinfo +++ b/devel/libchdr/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1747910945 -SHA256 (rtissera-libchdr-g20250522-40f96ee322971eedf2a16bdab6727daa861e8626_GH0.tar.gz) = c2dbda74db4a75055c1705cceb69d624be23c4bfa938c8f950a4f1b31d71be3f -SIZE (rtissera-libchdr-g20250522-40f96ee322971eedf2a16bdab6727daa861e8626_GH0.tar.gz) = 4222469 +TIMESTAMP = 1774783000 +SHA256 (rtissera-libchdr-g20260310-7715de1_GH0.tar.gz) = fc58712b0292fe823f64fffdf09ddfb273d8b8b227a9a3924152ae93442ab609 +SIZE (rtissera-libchdr-g20260310-7715de1_GH0.tar.gz) = 515515 diff --git a/devel/libchdr/pkg-plist b/devel/libchdr/pkg-plist index 49bdddd8b05e..85eff9ccbe8a 100644 --- a/devel/libchdr/pkg-plist +++ b/devel/libchdr/pkg-plist @@ -5,6 +5,7 @@ include/libchdr/chdconfig.h include/libchdr/coretypes.h include/libchdr/flac.h include/libchdr/huffman.h +include/libchdr/macros.h lib/libchdr-static.a lib/libchdr.a lib/libchdr.sohome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69c982e6.22a4a.1ad211e7>
