multimedia/bcmatroska2: Update version 5.2.1=>5.4.2

Changelog: https://gitlab.linphone.org/BC/public/bcmatroska2/-/tags/5.4.2

Sponsored by:	Cybermancer Infosec
This commit is contained in:
Muhammad Moinur Rahman 2025-03-26 20:40:15 +01:00
parent 7a3d5bfb6a
commit 7845849b9d
No known key found for this signature in database
GPG key ID: BDB9B5A617C0BC91
4 changed files with 28 additions and 21 deletions

View file

@ -1,6 +1,5 @@
PORTNAME= bcmatroska2
PORTVERSION= 5.2.1
PORTREVISION= 1
DISTVERSION= 5.4.2
CATEGORIES= multimedia
MAINTAINER= bofh@FreeBSD.org
@ -9,7 +8,8 @@ WWW= https://www.linphone.org/
LICENSE= BSD3CLAUSE
LIB_DEPENDS= libbctoolbox.so:net/bctoolbox
BUILD_DEPENDS= ${LOCALBASE}/lib/libbctoolbox.a:net/bctoolbox \
${LOCALBASE}/lib/libbcunit.a:devel/bcunit
USES= cmake compiler:c++17-lang
USE_GITLAB= yes
@ -17,13 +17,12 @@ GL_SITE= https://gitlab.linphone.org/BC
GL_ACCOUNT= public
USE_LDCONFIG= yes
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE} \
-DENABLE_STATIC=NO
CMAKE_ARGS= -DCMAKE_PREFIX_PATH=${LOCALBASE}
.include <bsd.port.pre.mk>
#.include <bsd.port.pre.mk>
.if ${COMPILER_TYPE} == clang
CFLAGS+= -Wno-error=incompatible-function-pointer-types
.endif
#.if ${COMPILER_TYPE} == clang
#CFLAGS+= -Wno-error=incompatible-function-pointer-types
#.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,3 +1,3 @@
TIMESTAMP = 1690572807
SHA256 (bcmatroska2-5.2.1.tar.bz2) = cbe7c47f46e6226cf6923df5c0b9138c213a56d2c04d60f2b0622a610c563b46
SIZE (bcmatroska2-5.2.1.tar.bz2) = 790336
TIMESTAMP = 1743017702
SHA256 (bcmatroska2-5.4.2.tar.bz2) = 3b6b57c4125940b82c2d71f4d0fbba3350792d0f3926c3664f03459a58e68a38
SIZE (bcmatroska2-5.4.2.tar.bz2) = 790238

View file

@ -0,0 +1,10 @@
--- CMakeLists.txt.orig 2025-03-26 19:37:26 UTC
+++ CMakeLists.txt
@@ -47,6 +47,7 @@ configure_file(config.h.cmake ${PROJECT_BINARY_DIR}/bc
configure_file(config.h.cmake ${PROJECT_BINARY_DIR}/bcmatroska2_config.h)
+find_package(OpenSSL REQUIRED)
find_package(BCToolbox 5.3.0 REQUIRED)
include_directories(

View file

@ -1,7 +1,7 @@
include/corec/array/array.h
include/corec/banned.h
include/corec/bcmatroska2_config.h
include/corec/confhelper.h
include/corec/config.h
include/corec/corec.h
include/corec/err.h
include/corec/helper.h
@ -34,10 +34,8 @@ include/ebml/ebml_internal.h
include/matroska/matroska.h
include/matroska/matroska_internal.h
include/matroska/matroska_sem.h
lib/libbcmatroska2.so
lib/libbcmatroska2.so.0
lib/libbcmatroska2.so.0.0.0
%%DATADIR%%/cmake/BcMatroska2Config.cmake
%%DATADIR%%/cmake/BcMatroska2ConfigVersion.cmake
%%DATADIR%%/cmake/BcMatroska2Targets-%%CMAKE_BUILD_TYPE%%.cmake
%%DATADIR%%/cmake/BcMatroska2Targets.cmake
lib/libbcmatroska2.a
share/BCMatroska2/cmake/BCMatroska2Config.cmake
share/BCMatroska2/cmake/BCMatroska2ConfigVersion.cmake
share/BCMatroska2/cmake/BCMatroska2Targets-%%CMAKE_BUILD_TYPE%%.cmake
share/BCMatroska2/cmake/BCMatroska2Targets.cmake