Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 12 Jan 2025 21:43:29 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: ce70fe78683d - main - multimedia/mkvalidator: update to 0.6.0
Message-ID:  <202501122143.50CLhTP2097762@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ce70fe78683d2f82b87413ada74806948c291efe

commit ce70fe78683d2f82b87413ada74806948c291efe
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-11 15:07:48 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-12 21:37:13 +0000

    multimedia/mkvalidator: update to 0.6.0
    
    Not broken anymore on powerpc64.
    New version switches build system to CMake.
---
 multimedia/mkvalidator/Makefile                    | 42 +++-------------------
 multimedia/mkvalidator/distinfo                    |  5 +--
 .../patch-corec-tools-coremake-gcc_linux_arm.build | 13 -------
 multimedia/mkvalidator/pkg-plist                   | 31 ++++++++++++++++
 4 files changed, 39 insertions(+), 52 deletions(-)

diff --git a/multimedia/mkvalidator/Makefile b/multimedia/mkvalidator/Makefile
index 17f756b87766..9e3c6c53dbe1 100644
--- a/multimedia/mkvalidator/Makefile
+++ b/multimedia/mkvalidator/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	mkvalidator
-PORTVERSION=	0.5.0
+PORTVERSION=	0.6.0
 CATEGORIES=	multimedia
 MASTER_SITES=	SF/matroska/${PORTNAME}/
 
@@ -10,43 +10,11 @@ WWW=		https://www.matroska.org/downloads/mkvalidator.html
 LICENSE=	BSD3CLAUSE BSD4CLAUSE GPLv2
 LICENSE_COMB=	multi
 
-BROKEN_mips=		fails to build: gmake[3]: mipsel-linux-gcc: Command not found
-BROKEN_mips64=		fails to build: gmake[3]: mipsel-linux-gcc: Command not found
-BROKEN_powerpc64=	does not compile: mkvtree.c: error: dereferencing pointer to incomplete type
-
-BUILD_WRKSRC=	${WRKSRC}/${PORTNAME}
-
-USES=		cpe gmake iconv localbase tar:bzip2
+USES=		cmake cpe tar:bzip2
 CPE_VENDOR=	matroska
-HAS_CONFIGURE=	yes
-MAKE_ENV=	V=1
-MAKEFILE=	GNUmakefile
-
-LIBS+=		${ICONV_LIB}
-
-PLIST_FILES=	bin/mkvalidator bin/mkvtree
-
-MAKE_JOBS_UNSAFE=	yes
-
-.include <bsd.port.options.mk>
-
-.if ${OPSYS} == FreeBSD
-CFLAGS+=	-Wno-error=incompatible-function-pointer-types
-.endif
 
-post-patch:
-	@${REINPLACE_CMD} -e \
-		'/STRIP/s|strip|${STRIP_CMD:T}| ; \
-		 /CCFLAGS/s|-O3 .* -W|-W|' \
-		${WRKSRC}/corec/tools/coremake/gcc_linux*.build
-	@${REINPLACE_CMD} -e \
-		's|/usr/local|$$(DESTDIR)$$(PREFIX)|g' \
-		${WRKSRC}/corec/tools/coremake/gcc_mak.inc
-	@${REINPLACE_CMD} -e \
-		's|arm-none-linux-gnueabi-gcc|${CC}| ; \
-		 s|arm-none-linux-gnueabi-g++|${CXX}| ; \
-		 s|arm-none-linux-gnueabi-ar|${AR}| ; \
-		 s|arm-none-linux-gnueabi-strip|${STRIP_CMD}|' \
-		${WRKSRC}/corec/tools/coremake/gcc_linux_arm.build
+post-install:
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/mkvalidator/mkvalidator ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/libmatroska2/mkvtree ${STAGEDIR}${PREFIX}/bin/
 
 .include <bsd.port.mk>
diff --git a/multimedia/mkvalidator/distinfo b/multimedia/mkvalidator/distinfo
index e95d252eb981..3d6598e9fb4a 100644
--- a/multimedia/mkvalidator/distinfo
+++ b/multimedia/mkvalidator/distinfo
@@ -1,2 +1,3 @@
-SHA256 (mkvalidator-0.5.0.tar.bz2) = c3e72e5b49d32174415b9273ea8d52380e09ac63c8dc7db684104021c711c104
-SIZE (mkvalidator-0.5.0.tar.bz2) = 587942
+TIMESTAMP = 1736604184
+SHA256 (mkvalidator-0.6.0.tar.bz2) = f9eaa2138fade7103e6df999425291d2947c5355294239874041471e3aa243f0
+SIZE (mkvalidator-0.6.0.tar.bz2) = 661500
diff --git a/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build b/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build
deleted file mode 100644
index 8ac983c6ade2..000000000000
--- a/multimedia/mkvalidator/files/patch-corec-tools-coremake-gcc_linux_arm.build
+++ /dev/null
@@ -1,13 +0,0 @@
---- corec/tools/coremake/gcc_linux_arm.build.orig	2012-12-16 10:29:34 UTC
-+++ corec/tools/coremake/gcc_linux_arm.build
-@@ -19,8 +19,8 @@ SVNDIR = linux_arm
- 
- #define GLIBC
- 
--#define CCFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -march=armv4t -mtune=xscale -fvisibility=hidden -DRESOURCE_COREC
--#define SFLAGS -DARM -Wno-multichar -O3 -mno-apcs-frame -fomit-frame-pointer -fsigned-char -mcpu=iwmmxt -mtune=xscale -D_HIDDEN
-+#define CCFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -DRESOURCE_COREC
-+#define SFLAGS -DARM -Wno-multichar -O3 -fomit-frame-pointer -D_HIDDEN
- #define SHFLAGS -shared -Wl,--strip-all
- 
- #include "gcc.inc"
diff --git a/multimedia/mkvalidator/pkg-plist b/multimedia/mkvalidator/pkg-plist
new file mode 100644
index 000000000000..8418b9cecf50
--- /dev/null
+++ b/multimedia/mkvalidator/pkg-plist
@@ -0,0 +1,31 @@
+bin/mkvalidator
+bin/mkvtree
+include/corec/buffer.h
+include/corec/dataheap.h
+include/corec/date.h
+include/corec/hotkey.h
+include/corec/node.h
+include/corec/nodebase.h
+include/corec/nodelookup.h
+include/corec/nodetools.h
+include/corec/nodetree.h
+include/corec/parser.h
+include/corec/strtab.h
+include/corec/strtypes.h
+include/corec/urlpart.h
+include/ebml2/ebml.h
+include/ebml2/ebml_classes.h
+include/ebml2/ebml_config.h
+include/matroska2/matroska.h
+include/matroska2/matroska_classes.h
+include/matroska2/matroska_config.h
+include/matroska2/matroska_sem.h
+lib/cmake/corec/Core-C-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/corec/Core-C.cmake
+lib/cmake/ebml2/Ebml2-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/ebml2/Ebml2.cmake
+lib/cmake/matroska2/Matroska2-%%CMAKE_BUILD_TYPE%%.cmake
+lib/cmake/matroska2/Matroska2.cmake
+lib/libcorec.a
+lib/libebml2.a
+lib/libmatroska2.a



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