summaryrefslogtreecommitdiffstats
path: root/multimedia/ffmpeg
diff options
context:
space:
mode:
authorlioux <lioux@FreeBSD.org>2004-03-21 01:32:37 +0000
committerlioux <lioux@FreeBSD.org>2004-03-21 01:32:37 +0000
commit2a190d680f2c46eed295297028a8a1298e4f80c6 (patch)
tree035b5890283bebe9185784953bc86a52f82be941 /multimedia/ffmpeg
parentd7a1d92a5fefca1d4545024a7210f4571a80af30 (diff)
downloadFreeBSD-ports-2a190d680f2c46eed295297028a8a1298e4f80c6.zip
FreeBSD-ports-2a190d680f2c46eed295297028a8a1298e4f80c6.tar.gz
1) Enable shared postprocess per default
2) Add WITHOUT_POSTPROCESS knob for backward compatibility. However, using might break ports that require postprocess to be enabled in ffmpeg 3) Bump PORTREVISION due to [1] 4) Remove PKGMESSAGE since it is no longer necessary to warn about ffmpeg045 port. It has been removed since the reasons for maintaining an old parallel version of ffmpeg no longer exist PR: 64257 [1,2,3] Submitted by: dinoex
Diffstat (limited to 'multimedia/ffmpeg')
-rw-r--r--multimedia/ffmpeg/Makefile20
-rw-r--r--multimedia/ffmpeg/pkg-message17
-rw-r--r--multimedia/ffmpeg/pkg-plist1
3 files changed, 19 insertions, 19 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 63f449f..537c675 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -7,7 +7,7 @@
PORTNAME= ffmpeg
PORTVERSION= 0.4.8
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= multimedia audio net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ffmpeg
@@ -166,6 +166,13 @@ LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad
CONFIGURE_ARGS+= --enable-faad
.endif
+## post processing
+.ifndef(WITHOUT_POSTPROCESS)
+CONFIGURE_ARGS+= --enable-shared-pp
+PLIST_FILES+= include/ffmpeg/postproc/postprocess.h
+PLIST_DIRS+= include/ffmpeg/postproc
+.endif
+PLIST_DIRS+= include/ffmpeg
pre-everything::
.ifndef(WITH_FREETYPE2)
@@ -193,6 +200,12 @@ pre-everything::
@${ECHO_MSG} 'by defining WITH_OPTIMIZED_CFLAGS'
@${ECHO_MSG}
.endif
+.ifndef(WITHOUT_POSTPROCESS)
+ @${ECHO_MSG} 'You can disable post process support by defining'
+ @${ECHO_MSG} 'WITHOUT_POSTPROCESS'
+ @${ECHO_MSG} 'Beware that this might break some ports that require it'
+ @${ECHO_MSG}
+.endif
.ifndef(WITHOUT_VHOOK)
@${ECHO_MSG} 'You can disable vhook support by defining WITHOUT_VHOOK'
@${ECHO_MSG}
@@ -289,5 +302,10 @@ post-install:
.for file in ${LIB_FILES}
@${INSTALL_DATA} ${WRKSRC}/${file} ${PREFIX}/lib/${file:T}
.endfor
+.ifndef(WITHOUT_POSTPROCESS)
+ @${MKDIR} ${PREFIX}/include/ffmpeg/postproc
+ @${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \
+ ${PREFIX}/include/ffmpeg/postproc/postprocess.h
+.endif
.include <bsd.port.post.mk>
diff --git a/multimedia/ffmpeg/pkg-message b/multimedia/ffmpeg/pkg-message
deleted file mode 100644
index cb70ec8..0000000
--- a/multimedia/ffmpeg/pkg-message
+++ /dev/null
@@ -1,17 +0,0 @@
- ATTENTIONATTENTION:
-
-ffmpeg users have reported that older version 0.4.5 encodes faster
-than later ffmpeg versions. Therefore, it might prove better for
-capturing purposes with Brooktree bktr(4) devices. So, if you want
-the additional speed, you might want to try using the ffmpeg045
-port. The current ffmpeg port should be used for all other purposes
-unless you really need the additional speed.
-
-Do not install both ports at the same time. They install conflicting
-files.
-
-- ffmpeg 0.4.5
-ports/multimedia/ffmpeg045
-
-- ffmpeg current
-ports/multimedia/ffmpeg
diff --git a/multimedia/ffmpeg/pkg-plist b/multimedia/ffmpeg/pkg-plist
index a24e68f..cc48bd0 100644
--- a/multimedia/ffmpeg/pkg-plist
+++ b/multimedia/ffmpeg/pkg-plist
@@ -32,4 +32,3 @@ lib/libavformat.so.%%SHLIB_VERSION%%
%%PORTDOCS%%share/doc/ffmpeg/ffserver-doc.texi
%%PORTDOCS%%@dirrm share/doc/ffmpeg
%%VHOOK%%@dirrm lib/vhook
-@dirrm include/ffmpeg
OpenPOWER on IntegriCloud