textproc/libebml: Update to 1.4.5

Unbundle utf8cpp

Changelog:
https://github.com/Matroska-Org/libebml/blob/release-1.4.5/NEWS.md
2024Q1
Daniel Engberg 2023-12-17 09:11:42 +01:00
parent b9a34290c5
commit 939a3a8b07
3 changed files with 21 additions and 6 deletions

View File

@ -1,7 +1,7 @@
PORTNAME= libebml
DISTVERSION= 1.4.4
DISTVERSION= 1.4.5
CATEGORIES= textproc
MASTER_SITES= https://dl.matroska.org/downloads/libebml/
MASTER_SITES= https://dl.matroska.org/downloads/${PORTNAME}/
MAINTAINER= multimedia@FreeBSD.org
COMMENT= EBML (Extensible Binary Meta Language), sort of binary version of XML
@ -10,10 +10,14 @@ WWW= https://www.matroska.org/
LICENSE= LGPL21+
LICENSE_FILE= ${WRKSRC}/LICENSE.LGPL
USES= cmake compiler:c++11-lang cpe tar:xz
BUILD_DEPENDS= ${LOCALBASE}/include/utf8cpp/utf8/checked.h:devel/utf8cpp
USES= cmake compiler:c++14-lang cpe localbase pathfix tar:xz
USE_LDCONFIG= yes
CPE_VENDOR= matroska
EXTRACT_AFTER_ARGS= --exclude src/lib
CMAKE_ARGS= -DBUILD_SHARED_LIBS=YES
.include <bsd.port.mk>

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1665308816
SHA256 (libebml-1.4.4.tar.xz) = 82dc5f83356cc9340aee76ed7512210b3a4edf5f346bc9c2c7044f55052687a7
SIZE (libebml-1.4.4.tar.xz) = 64116
TIMESTAMP = 1702779355
SHA256 (libebml-1.4.5.tar.xz) = 4971640b0592da29c2d426f303e137a9b0b3d07e1b81d069c1e56a2f49ab221b
SIZE (libebml-1.4.5.tar.xz) = 64408

View File

@ -0,0 +1,11 @@
--- src/EbmlUnicodeString.cpp.orig 2023-12-17 02:35:17 UTC
+++ src/EbmlUnicodeString.cpp
@@ -40,7 +40,7 @@
#include "ebml/EbmlUnicodeString.h"
-#include "lib/utf8-cpp/source/utf8/checked.h"
+#include "utf8cpp/utf8/checked.h"
namespace libebml {