FFmpeg is the first complete and free Internet Live Audio and Video Broadcasting solution. FFMpeg aims at being the command line tool to handle audio and video. It is a "three-in-one" solution. It is the last version of ffmpeg ( we need it to build the last vlc : I will commit it sooner ) The package is based under the multimedia/ffmpeg. I have corrected the patches ( in order to match the new sources) and add some options for the package ( faad faac a52) The package runs well but doesn't compile with the mmx options ( I don't understand the asm used into gcc so I will have somme difficulties to solve the problem : please check the TODO).
56 lines
1.6 KiB
Makefile
56 lines
1.6 KiB
Makefile
# $NetBSD: Makefile,v 1.1.1.1 2005/01/15 01:11:49 zul_ Exp $
|
|
|
|
DISTNAME= ffmpeg-0.4.9-pre1
|
|
PKGNAME= ffmpeg-devel-0.4.9pre1
|
|
CATEGORIES= wip multimedia
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ffmpeg/}
|
|
|
|
MAINTAINER= zul@NetBSD-fr.org
|
|
HOMEPAGE= http://ffmpeg.sourceforge.net/
|
|
COMMENT= MPEG decoding, encoding and streaming software
|
|
|
|
HAS_CONFIGURE= YES
|
|
USE_BUILDLINK3= YES
|
|
USE_GNU_TOOLS+= make
|
|
USE_LIBTOOL= YES
|
|
|
|
CONFLICTS+= ffmpeg-[0-9]*
|
|
|
|
REPLACE_PERL= doc/texi2pod.pl
|
|
|
|
CONF_FILES= ${PREFIX}/share/examples/ffmpeg/ffserver.conf \
|
|
${PKG_SYSCONFDIR}/ffserver.conf
|
|
|
|
MAKE_ENV+= EXTRA_LIBS="${LIBGETOPT}" \
|
|
FFSERVER_CONF=${PKG_SYSCONFDIR}/ffserver.conf \
|
|
LOCALBASE="${LOCALBASE}"
|
|
|
|
CONFIGURE_ARGS= --cc=${CC} --prefix=${PREFIX}
|
|
CONFIGURE_ARGS+= --enable-pp --disable-vhook --disable-debug
|
|
CONFIGURE_ARGS+= --enable-gpl
|
|
CONFIGURE_ARGS+= --enable-ffplay
|
|
|
|
.include "options.mk"
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/ffmpeg \
|
|
${PREFIX}/share/doc/ffmpeg \
|
|
${PREFIX}/include/ffmpeg/libpostproc
|
|
${INSTALL_DATA} ${WRKSRC}/libavcodec/apiexample.c \
|
|
${PREFIX}/share/doc/ffmpeg
|
|
${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/doc/TODO \
|
|
${PREFIX}/share/doc/ffmpeg
|
|
${INSTALL_DATA} ${WRKSRC}/doc/*.html ${WRKSRC}/doc/*.txt \
|
|
${PREFIX}/share/doc/ffmpeg
|
|
${INSTALL_DATA} ${WRKSRC}/doc/ffserver.conf \
|
|
${PREFIX}/share/examples/ffmpeg
|
|
# ffplay not installed
|
|
if [ -f ${PREFIX}/man/man1/ffplay.1 ]; then \
|
|
${RM} ${PREFIX}/man/man1/ffplay.1 ; \
|
|
fi
|
|
${INSTALL_DATA} ${WRKSRC}/libavcodec/libpostproc/postprocess.h \
|
|
${PREFIX}/include/ffmpeg/libpostproc
|
|
|
|
.include "../../devel/libgetopt/buildlink3.mk"
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|