ports/151679: [NEW PORT] multimedia/mkclean: Clean and optimize Matroska and WebM files

Peter Johnson johnson.peter at gmail.com
Sun Oct 24 09:40:08 UTC 2010


>Number:         151679
>Category:       ports
>Synopsis:       [NEW PORT] multimedia/mkclean: Clean and optimize Matroska and WebM files
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Oct 24 09:40:08 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Peter Johnson
>Release:        FreeBSD 8.0-STABLE amd64
>Organization:
>Environment:
System: FreeBSD 8.0-STABLE FreeBSD 8.0-STABLE #4: Fri Jan 15 01:18:32 PST 2010
>Description:
mkclean is a command line tool to clean and optimize Matroska (.mkv / .mka /
.mks) and WebM (.webm / .weba) files that have already been muxed. It reorders
the elements with the Cues at the front, so your Matroska files are ready to be
streamed efficiently over the web. It also removes elements not found in the
Matroska specs and the extra Meta Seek list of Clusters that some program add
to their file. It can also optionally remux the Cluster blocks to start each
boundary with a keyframe and the matching audio/subtitle blocks for that
keyframe.

Also comes with mkWDclean to modify files in a way they can play in
broken/incomplete players.

Generated with FreeBSD Port Tools 0.99
>How-To-Repeat:
>Fix:

--- mkclean-0.6.0.shar begins here ---
# This is a shell archive.  Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file".  Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
#	mkclean
#	mkclean/files
#	mkclean/files/patch-file_libc.c
#	mkclean/files/patch-root.proj
#	mkclean/distinfo
#	mkclean/pkg-descr
#	mkclean/Makefile
#
echo c - mkclean
mkdir -p mkclean > /dev/null 2>&1
echo c - mkclean/files
mkdir -p mkclean/files > /dev/null 2>&1
echo x - mkclean/files/patch-file_libc.c
sed 's/^X//' >mkclean/files/patch-file_libc.c << '5e2624ea95d583588a3001f864dedfae'
X--- corec/helpers/file/file_libc.c.orig	2010-09-26 04:42:30.000000000 -0700
X+++ corec/helpers/file/file_libc.c	2010-10-24 01:44:37.000000000 -0700
X@@ -40,7 +40,7 @@
X #include <unistd.h>
X #include <dirent.h>
X #include <errno.h>
X-#if defined(TARGET_OSX)
X+#if defined(TARGET_OSX) || defined(__FreeBSD__)
X #include <sys/mount.h>
X #else
X #include <sys/vfs.h>
5e2624ea95d583588a3001f864dedfae
echo x - mkclean/files/patch-root.proj
sed 's/^X//' >mkclean/files/patch-root.proj << 'ec0d4310fa73d34647d2a72162b24318'
X--- root.proj.orig	2010-09-26 04:42:30.000000000 -0700
X+++ root.proj	2010-10-24 01:48:34.000000000 -0700
X@@ -12,6 +12,7 @@
X   USE matroska2
X   USE mkvtests
X   USE mkclean
X+  USE mkWDclean
X   USE mkvalidator
X }
X 
ec0d4310fa73d34647d2a72162b24318
echo x - mkclean/distinfo
sed 's/^X//' >mkclean/distinfo << '3d6717996a36c4e930a64aa9936051a8'
XMD5 (mkclean-0.6.0.tar.bz2) = 94489f21d4ae85f9c6ee9f70df32b73b
XSHA256 (mkclean-0.6.0.tar.bz2) = 098f7a44c5aafde4a99d64dfccffb4404dc354874693acd05314d6a8c3c23245
XSIZE (mkclean-0.6.0.tar.bz2) = 718736
3d6717996a36c4e930a64aa9936051a8
echo x - mkclean/pkg-descr
sed 's/^X//' >mkclean/pkg-descr << '1fbc6a1ead144c47cb3bfc5a9957d7cd'
Xmkclean is a command line tool to clean and optimize Matroska (.mkv / .mka /
X.mks) and WebM (.webm / .weba) files that have already been muxed. It reorders
Xthe elements with the Cues at the front, so your Matroska files are ready to be
Xstreamed efficiently over the web. It also removes elements not found in the
XMatroska specs and the extra Meta Seek list of Clusters that some program add
Xto their file. It can also optionally remux the Cluster blocks to start each
Xboundary with a keyframe and the matching audio/subtitle blocks for that
Xkeyframe.
X
XAlso comes with mkWDclean to modify files in a way they can play in
Xbroken/incomplete players.
1fbc6a1ead144c47cb3bfc5a9957d7cd
echo x - mkclean/Makefile
sed 's/^X//' >mkclean/Makefile << '9559f78d4b1e5a5a0418c576769de662'
X# New ports collection makefile for:	mkclean
X# Date created:		2010-10-24
X# Whom:			Peter Johnson <johnson.peter at gmail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	mkclean
XPORTVERSION=	0.6.0
XCATEGORIES=	multimedia
XMASTER_SITES=	SF/matroska/${PORTNAME}
X
XMAINTAINER=	johnson.peter at gmail.com
XCOMMENT=	Clean and optimize Matroska and WebM files
X
XUSE_BZIP2=	yes
XUSE_ICONV=	yes
XUSE_GMAKE=	yes
X
XHAS_CONFIGURE=	yes
XMAKE_ENV+=	CCFLAGS="-I${LOCALBASE}/include" \
X		LFLAGS="-L${LOCALBASE}/lib -liconv"
X
XMAKEFILE=	GNUmakefile
X
XPLIST_FILES=	bin/mkclean bin/mkWDclean bin/mkvtree
X
Xdo-install:
X	${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkclean ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkWDclean ${PREFIX}/bin
X	${INSTALL_PROGRAM} ${WRKSRC}/release/*/mkvtree ${PREFIX}/bin
X
X.include <bsd.port.mk>
9559f78d4b1e5a5a0418c576769de662
exit
--- mkclean-0.6.0.shar ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list