mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
- Add knob for PAL support [1]
- Use DOCSDIR PR: ports/72064 [1] Submitted by: Michael Johnson <ahze@ahze.net>
This commit is contained in:
parent
b635b4f7fd
commit
f8e4770657
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118661
@ -18,11 +18,27 @@ COMMENT= Convert Type-2 DV codec-encoded AVI streams to mjpeg-encoded AVI
|
||||
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/
|
||||
|
@ -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
|
||||
|
@ -1,5 +1,5 @@
|
||||
bin/avijoin
|
||||
bin/dv2jpg
|
||||
%%PORTDOCS%%share/doc/dv2jpg/README.avilib
|
||||
%%PORTDOCS%%share/doc/dv2jpg/README.dv2jpg.html
|
||||
%%PORTDOCS%%@dirrm share/doc/dv2jpg
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.avilib
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.dv2jpg.html
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
Loading…
Reference in New Issue
Block a user