diff --git a/multimedia/bcmatroska2/Makefile b/multimedia/bcmatroska2/Makefile index 11e6c8bbfada..33c7b3e80c4d 100644 --- a/multimedia/bcmatroska2/Makefile +++ b/multimedia/bcmatroska2/Makefile @@ -1,29 +1,28 @@ PORTNAME= bcmatroska2 -PORTVERSION= 5.2.1 -PORTREVISION= 1 +DISTVERSION= 5.4.2 CATEGORIES= multimedia MAINTAINER= bofh@FreeBSD.org COMMENT= Belledonne Communications Matroska media container support 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 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 +#.include -.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 +.include diff --git a/multimedia/bcmatroska2/distinfo b/multimedia/bcmatroska2/distinfo index 8af9c22f0e02..daca39426502 100644 --- a/multimedia/bcmatroska2/distinfo +++ b/multimedia/bcmatroska2/distinfo @@ -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 diff --git a/multimedia/bcmatroska2/files/patch-CMakeLists.txt b/multimedia/bcmatroska2/files/patch-CMakeLists.txt new file mode 100644 index 000000000000..6999da9e6a2b --- /dev/null +++ b/multimedia/bcmatroska2/files/patch-CMakeLists.txt @@ -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( diff --git a/multimedia/bcmatroska2/pkg-plist b/multimedia/bcmatroska2/pkg-plist index 621a87a1b307..c3bd0466c611 100644 --- a/multimedia/bcmatroska2/pkg-plist +++ b/multimedia/bcmatroska2/pkg-plist @@ -1,43 +1,41 @@ 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 include/corec/helpers/charconvert/charconvert.h include/corec/helpers/date/date.h include/corec/helpers/file/file.h include/corec/helpers/file/streams.h include/corec/helpers/md5/md5.h include/corec/helpers/parser/buffer.h include/corec/helpers/parser/dataheap.h include/corec/helpers/parser/hotkey.h include/corec/helpers/parser/nodelookup.h include/corec/helpers/parser/parser.h include/corec/helpers/parser/strtab.h include/corec/helpers/parser/strtypes.h include/corec/helpers/parser/urlpart.h include/corec/helpers/system/ccsystem.h include/corec/memalloc.h include/corec/memheap.h include/corec/multithread/multithread.h include/corec/node/node.h include/corec/node/node_internal.h include/corec/node/nodebase.h include/corec/node/nodetools.h include/corec/node/nodetree.h include/corec/portab.h include/corec/str/str.h include/ebml/ebml.h 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