mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
mkvalidator is a simple command line tool to verify Matroska and WebM files for
spec conformance. It checks the various bogus or missing key elements against the EBML DocType version of the file and reports the errors/warnings in the command line. http://www.matroska.org/downloads/mkvalidator.html
This commit is contained in:
parent
0749bf7e2e
commit
47b84b95f4
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=282567
6 changed files with 69 additions and 0 deletions
|
@ -195,6 +195,7 @@
|
|||
SUBDIR += miro
|
||||
SUBDIR += mjpegtools
|
||||
SUBDIR += mkclean
|
||||
SUBDIR += mkvalidator
|
||||
SUBDIR += mkvtoolnix
|
||||
SUBDIR += mkxvcd
|
||||
SUBDIR += mlt
|
||||
|
|
37
multimedia/mkvalidator/Makefile
Normal file
37
multimedia/mkvalidator/Makefile
Normal file
|
@ -0,0 +1,37 @@
|
|||
# New ports collection makefile for: mkvalidator
|
||||
# Date created: 2011-09-28
|
||||
# Whom: Baptiste Daroussin <bapt@FreeBSD.org>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= mkvalidator
|
||||
PORTVERSION= 0.3.7
|
||||
CATEGORIES= multimedia
|
||||
MASTER_SITES= SF/matroska/${PORTNAME}/
|
||||
|
||||
MAINTAINER= bapt@FreeBSD.org
|
||||
COMMENT= Command line tool to verify Matroska and WebM files
|
||||
|
||||
LICENSE= BSD
|
||||
|
||||
USE_BZIP2= yes
|
||||
HAS_CONFIGURE= yes
|
||||
|
||||
USE_GMAKE= yes
|
||||
USE_ICONV= yes
|
||||
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib -liconv
|
||||
|
||||
MAKE_ENV+= "LFLAGS=${LDFLAGS}"
|
||||
MAKEFILE= GNUmakefile
|
||||
BUILD_WRKSRC= ${WRKSRC}/${PORTNAME}
|
||||
|
||||
PLIST_FILES= bin/mkvalidator
|
||||
|
||||
post-extract:
|
||||
@${REINPLACE_CMD} -e "s,/usr/local,${PREFIX},g" ${WRKSRC}/corec/tools/coremake/gcc_mak.inc
|
||||
@${RM} ${WRKSRC}/libmatroska2/test/test.proj
|
||||
|
||||
.include <bsd.port.mk>
|
2
multimedia/mkvalidator/distinfo
Normal file
2
multimedia/mkvalidator/distinfo
Normal file
|
@ -0,0 +1,2 @@
|
|||
SHA256 (mkvalidator-0.3.7.tar.bz2) = 236247098052022757243a3c7ae5939b4ca34e07c573e3344346c4ca66c66ba1
|
||||
SIZE (mkvalidator-0.3.7.tar.bz2) = 579174
|
|
@ -0,0 +1,11 @@
|
|||
--- ./corec/corec/helpers/file/file_libc.c.orig 2011-09-25 11:25:46.000000000 +0200
|
||||
+++ ./corec/corec/helpers/file/file_libc.c 2011-09-28 16:25:02.262950715 +0200
|
||||
@@ -40,7 +40,7 @@
|
||||
#include <unistd.h>
|
||||
#include <dirent.h>
|
||||
#include <errno.h>
|
||||
-#if defined(TARGET_OSX)
|
||||
+#if defined(TARGET_OSX) || defined(TARGET_FREEBSD)
|
||||
#include <sys/mount.h>
|
||||
#else
|
||||
#include <sys/vfs.h>
|
12
multimedia/mkvalidator/files/patch-corec__corec__portab.h
Normal file
12
multimedia/mkvalidator/files/patch-corec__corec__portab.h
Normal file
|
@ -0,0 +1,12 @@
|
|||
--- ./corec/corec/portab.h.orig 2011-09-25 11:25:46.000000000 +0200
|
||||
+++ ./corec/corec/portab.h 2011-09-28 16:25:47.730826509 +0200
|
||||
@@ -159,6 +159,9 @@
|
||||
|
||||
#elif defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__)
|
||||
|
||||
+#if defined(__FreeBSD__)
|
||||
+#define TARGET_FREEBSD
|
||||
+#endif
|
||||
#define TARGET_LINUX
|
||||
|
||||
#ifndef TARGET_QTOPIA // qtopia defines desktop manually
|
6
multimedia/mkvalidator/pkg-descr
Normal file
6
multimedia/mkvalidator/pkg-descr
Normal file
|
@ -0,0 +1,6 @@
|
|||
mkvalidator is a simple command line tool to verify Matroska and WebM files for
|
||||
spec conformance. It checks the various bogus or missing key elements against
|
||||
the EBML DocType version of the file and reports the errors/warnings in the
|
||||
command line.
|
||||
|
||||
WWW: http://www.matroska.org/downloads/mkvalidator.html
|
Loading…
Add table
Reference in a new issue