pkgsrc/multimedia/ffplay3/Makefile

37 lines
1.2 KiB
Makefile

# $NetBSD: Makefile,v 1.12 2018/03/12 11:17:11 wiz Exp $
PKGNAME= ${DISTNAME:S/ffmpeg/ffplay3/}
PKGREVISION= 2
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://ffmpeg.org/
COMMENT= Simple SDL frontend for FFmpeg
DISTINFO_FILE= ${.CURDIR}/../ffmpeg3/distinfo
CONFIGURE_ARGS+= --disable-ffmpeg
CONFIGURE_ARGS+= --disable-ffprobe
CONFIGURE_ARGS+= --disable-ffserver
CONFIGURE_ARGS+= --disable-encoders
CONFIGURE_ARGS+= --disable-decoders
CONFIGURE_ARGS+= --disable-hwaccels
CONFIGURE_ARGS+= --disable-muxers
CONFIGURE_ARGS+= --disable-demuxers
CONFIGURE_ARGS+= --disable-parsers
CONFIGURE_ARGS+= --disable-bsfs
CONFIGURE_ARGS+= --disable-protocols
CONFIGURE_ARGS+= --disable-devices
CONFIGURE_ARGS+= --disable-filters
CONFIGURE_ARGS+= --enable-ffplay
CONFIGURE_ARGS+= --enable-dct
CONFIGURE_ARGS+= --enable-mdct
CONFIGURE_ARGS+= --enable-rdft
INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ffplay3 ${DESTDIR}${PREFIX}/bin
${INSTALL_MAN} ${WRKSRC}/doc/ffplay3.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../devel/SDL2/buildlink3.mk"
.include "../../multimedia/ffmpeg3/buildlink3.mk"
.include "../../multimedia/ffmpeg3/Makefile.common"