[PATCH] multimedia/x264: add the avc2avi tool

Jui-Nan Lin jnlin at csie.nctu.edu.tw
Fri Apr 27 17:49:19 UTC 2007


>Submitter-Id:	current-users
>Originator:	Jui-Nan Lin
>Organization:	
>Confidential:	no 
>Synopsis:	[PATCH] multimedia/x264: add the avc2avi tool
>Severity:	non-critical
>Priority:	low
>Category:	ports 
>Class:		change-request
>Release:	FreeBSD 6.2-RELEASE i386
>Environment:
System: FreeBSD Florence.tamama.org 6.2-RELEASE FreeBSD 6.2-RELEASE #2: Sun Jan 14 16:22:16 CST 2007
>Description:
[DESCRIBE CHANGES]

 - Install the avc2avi tool included in x264 source package.

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

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

--- x264-0.0.20070402_2.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/multimedia/x264/Makefile /home/jnlin/ports/x264/Makefile
--- /usr/ports/multimedia/x264/Makefile	Tue Apr  3 21:28:49 2007
+++ /home/jnlin/ports/x264/Makefile	Sat Apr 28 01:14:23 2007
@@ -7,7 +7,7 @@
 
 PORTNAME=	x264
 PORTVERSION=	0.0.20070402
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://downloads.videolan.org/pub/videolan/x264/snapshots/
 DISTNAME=	${PORTNAME}-snapshot-${PORTVERSION:S/0.0.//}-2245
@@ -85,8 +85,14 @@
 		${WRKSRC}/Makefile \
 		${WRKSRC}/*/Makefile
 
+post-build:
+	cd ${WRKSRC}/tools && ${CC} -o avc2avi avc2avi.c
+
 pre-install:
 	@${REINPLACE_CMD} -e 's|/usr/local|${PREFIX}|' \
 		${WRKSRC}/x264.pc
+
+post-install:
+	${INSTALL_PROGRAM} ${WRKSRC}/tools/avc2avi ${PREFIX}/bin
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/multimedia/x264/pkg-plist /home/jnlin/ports/x264/pkg-plist
--- /usr/ports/multimedia/x264/pkg-plist	Sun Oct  1 23:40:18 2006
+++ /home/jnlin/ports/x264/pkg-plist	Sat Apr 28 01:11:25 2007
@@ -1,4 +1,5 @@
 bin/x264
+bin/avc2avi
 %%GTK%%bin/x264_gtk_encode
 include/x264.h
 %%GTK%%include/x264_gtk.h
--- x264-0.0.20070402_2.patch ends here ---



More information about the freebsd-multimedia mailing list