Date: Fri, 24 Sep 2004 12:20:08 -0400 (EDT) From: Michael Johnson <ahze@ahze.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/72064: [PATCH] multimedia/dv2jpg: [add knob for PAL support] Message-ID: <200409241620.i8OGK83U069248@blueheron.ahze.net> Resent-Message-ID: <200409241630.i8OGUSJK037788@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 72064 >Category: ports >Synopsis: [PATCH] multimedia/dv2jpg: [add knob for PAL support] >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: Fri Sep 24 16:30:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Michael Johnson >Release: FreeBSD 5.3-BETA3 i386 >Organization: >Environment: System: FreeBSD blueheron.ahze.net 5.3-BETA3 FreeBSD 5.3-BETA3 #66: Tue Sep 7 12:56:04 EDT >Description: - Add knob for pal support Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- dv2jpg-1.1_3.patch begins here --- Index: Makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/dv2jpg/Makefile,v retrieving revision 1.6 diff -u -r1.6 Makefile --- Makefile 16 Mar 2004 04:23:52 -0000 1.6 +++ Makefile 24 Sep 2004 16:17:59 -0000 @@ -18,11 +18,27 @@ LIB_DEPENDS= dv.4:${PORTSDIR}/multimedia/libdv USE_GNOME= gdkpixbuf +USE_REINPLACE= yes MAKEFILE= makefile +.if defined(WITH_PAL_VIDEO) +VID_FORMAT= PAL +.else +VID_FORMAT= NTSC +.endif + +pre-everything:: + @${ECHO_MSG} "===> The default video format is NTSC" + @${ECHO_MSG} "===> You can change this to PAL by defining" + @${ECHO_MSG} "===> WITH_PAL_VIDEO" + post-extract: ${RM} ${WRKSRC}/avijoin ${WRKSRC}/dv2jpg ${WRKSRC}/*.o +post-patch: + @${REINPLACE_CMD} -e 's|%%VID_FORMAT%%|${VID_FORMAT}|' \ + ${WRKSRC}/${MAKEFILE} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/avijoin ${PREFIX}/bin/ ${INSTALL_PROGRAM} ${WRKSRC}/dv2jpg ${PREFIX}/bin/ Index: files/patch-makefile =================================================================== RCS file: /home/ncvs/ports/multimedia/dv2jpg/files/patch-makefile,v retrieving revision 1.2 diff -u -r1.2 patch-makefile --- files/patch-makefile 12 May 2003 07:51:47 -0000 1.2 +++ files/patch-makefile 24 Sep 2004 16:12:23 -0000 @@ -1,6 +1,6 @@ ---- makefile.orig Sun Jun 24 11:04:47 2001 -+++ makefile Tue May 6 22:16:26 2003 -@@ -1,6 +1,6 @@ +--- makefile.orig Sat Jun 23 22:04:47 2001 ++++ makefile Fri Sep 24 12:05:35 2004 +@@ -1,27 +1,27 @@ -INC=-I/opt/gdk-pixbuf/lib -I/usr/include -I/usr/include/libdv -LIBS=-ljpeg -lm -lgdk_pixbuf /usr/lib/libdv.a @@ -8,8 +8,10 @@ +LIBS=-ljpeg -lm -ldv `${GDK_PIXBUF_CONFIG} --libs` -L${LOCALBASE}/lib # what type of video do you want? - VIDEO=NTSC -@@ -9,19 +9,19 @@ +-VIDEO=NTSC ++VIDEO=%%VID_FORMAT%% + # VIDEO=PAL + all: dv2jpg avijoin dv2jpg: dv2jpg.o avilib.o dvavilib.o --- dv2jpg-1.1_3.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200409241620.i8OGK83U069248>