Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Jan 2009 14:36:46 +0800 (CST)
From:      Li-Wen Hsu <lwhsu@freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        multimedia@freebsd.org
Subject:   [PATCH] multimedia/mkvtoolnix: update to 2.4.1
Message-ID:  <200901290636.n0T6akmk014869@lucky7.cs.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Submitter-Id:	current-users
>Originator:	Li-Wen Hsu
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] multimedia/mkvtoolnix: update to 2.4.1
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		update
>Release:	FreeBSD 7.1-STABLE amd64
>Environment:
System: FreeBSD lucky7 7.1-STABLE FreeBSD 7.1-STABLE #1: Thu Jan  8 11:59:12 CST
>Description:
- Update to 2.4.1

Added file(s):
- pkg-plist

Port maintainer (multimedia@FreeBSD.org) is cc'd.

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

--- mkvtoolnix-2.4.1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/multimedia/mkvtoolnix/Makefile,v
retrieving revision 1.45
diff -u -u -r1.45 Makefile
--- Makefile	6 Jun 2008 13:48:12 -0000	1.45
+++ Makefile	29 Jan 2009 06:39:57 -0000
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	mkvtoolnix
-PORTVERSION=	2.2.0
-PORTREVISION=	1
+PORTVERSION=	2.4.1
 CATEGORIES=	multimedia audio
 MASTER_SITES=	http://www.bunkus.org/videotools/mkvtoolnix/sources/
 
@@ -21,7 +20,8 @@
 		matroska.0:${PORTSDIR}/multimedia/libmatroska \
 		vorbis.4:${PORTSDIR}/audio/libvorbis \
 		ogg.5:${PORTSDIR}/audio/libogg \
-		pcrecpp.0:${PORTSDIR}/devel/pcre
+		pcrecpp.0:${PORTSDIR}/devel/pcre \
+		boost_regex:${PORTSDIR}/devel/boost
 
 USE_BZIP2=	yes
 USE_GMAKE=	yes
@@ -32,41 +32,23 @@
 CONFIGURE_ENV=	CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
 CONFIGURE_ARGS=	--enable-lzo --enable-bz2 --disable-qt
 
-MAN1=		base64tool.1 mkvextract.1 mkvinfo.1 mkvmerge.1
-PLIST_FILES=	bin/base64tool bin/mkvextract bin/mkvinfo bin/mkvmerge
-
-# data files
-FILES_DATA=	\
-		mkvmerge-gui.hhc \
-		mkvmerge-gui.hhk \
-		mkvmerge-gui.hhp \
-		mkvmerge-gui.html
-IMAGES_DATA=	\
-		addingremovingattachments.gif \
-		addremovefiles.gif \
-		attachmentoptions.gif \
-		audiotrackoptions.gif \
-		chaptereditor.gif \
-		generaltrackoptions.gif \
-		jobmanager.gif \
-		movietitle.gif \
-		muxingwindow.gif \
-		selectmkvmergeexecutable.gif \
-		splitting.gif \
-		textsubtitlestrackoptions.gif \
-		trackselection.gif \
-		videotrackoptions.gif
-PLIST_FILES+=	${FILES_DATA:S|^|%%DATADIR%%/|} ${IMAGES_DATA:S|^|%%DATADIR%%/images/|}
-PLIST_DIRS+=	%%DATADIR%%/images %%DATADIR%%
+MAN1=		mkvextract.1 mkvinfo.1 mkvmerge.1
 
 .ifndef(WITHOUT_WXGTK)
 USE_WX=		yes
 WX_UNICODE=	yes
 WX_CONF_ARGS=	absolute
 MAN1+=		mmg.1
-PLIST_FILES+=	bin/mmg
+PLIST_SUB+=	GUI=""
+.else
+PLIST_SUB+=	GUI="@comment "
 .endif
 
+post-patch:
+	${REINPLACE_CMD} -e \
+		's|BOOSTLIBDIR/libboost_regex\*\.{so,a,dylib}\*|BOOSTLIBDIR/libboost_regex.so|' \
+		${WRKSRC}/configure
+
 pre-configure::
 .ifndef(WITHOUT_WXGTK)
 	@${ECHO_MSG} "===>"
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/multimedia/mkvtoolnix/distinfo,v
retrieving revision 1.22
diff -u -u -r1.22 distinfo
--- distinfo	16 Apr 2008 16:09:19 -0000	1.22
+++ distinfo	29 Jan 2009 06:39:57 -0000
@@ -1,3 +1,3 @@
-MD5 (mkvtoolnix-2.2.0.tar.bz2) = 57397800c6be11db0b62e7285c8dab82
-SHA256 (mkvtoolnix-2.2.0.tar.bz2) = 707ec8acb736f5664c933628d5f44bba1c18af9cca6967a4a01a55ea4c64e777
-SIZE (mkvtoolnix-2.2.0.tar.bz2) = 768803
+MD5 (mkvtoolnix-2.4.1.tar.bz2) = b3f3763e3bc09aa797f6d65ad4974108
+SHA256 (mkvtoolnix-2.4.1.tar.bz2) = 30781153e065a7fa92675c1d4d942b7878e0032bd328d0420fa24ba965c53017
+SIZE (mkvtoolnix-2.4.1.tar.bz2) = 828533
Index: pkg-plist
===================================================================
RCS file: pkg-plist
diff -N pkg-plist
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ pkg-plist	29 Jan 2009 06:39:57 -0000
@@ -0,0 +1,24 @@
+bin/mkvextract
+bin/mkvinfo
+bin/mkvmerge
+%%GUI%%bin/mmg
+%%DATADIR%%/images/addingremovingattachments.gif
+%%DATADIR%%/images/addremovefiles.gif
+%%DATADIR%%/images/attachmentoptions.gif
+%%DATADIR%%/images/audiotrackoptions.gif
+%%DATADIR%%/images/chaptereditor.gif
+%%DATADIR%%/images/generaltrackoptions.gif
+%%DATADIR%%/images/jobmanager.gif
+%%DATADIR%%/images/movietitle.gif
+%%DATADIR%%/images/muxingwindow.gif
+%%DATADIR%%/images/selectmkvmergeexecutable.gif
+%%DATADIR%%/images/splitting.gif
+%%DATADIR%%/images/textsubtitlestrackoptions.gif
+%%DATADIR%%/images/trackselection.gif
+%%DATADIR%%/images/videotrackoptions.gif
+%%DATADIR%%/mkvmerge-gui.hhc
+%%DATADIR%%/mkvmerge-gui.hhk
+%%DATADIR%%/mkvmerge-gui.hhp
+%%DATADIR%%/mkvmerge-gui.html
+@dirrm %%DATADIR%%/images
+@dirrm %%DATADIR%%
--- mkvtoolnix-2.4.1.patch ends here ---




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