d59b7e1744
- the default audio output driver (in case no -ao option is specified) on NetBSD is still oss even if pulseaudio is enabled - users can change the audio output driver by "-ao pulse" option or "ao=pulse" in ~/.mplayer/config file, as they did on 1.3.0 packages - SDL (which is in current SUGGESTED_OPTIONS) already depends on pulseaudio by default Bump PKGREVISIONs.
37 lines
1.1 KiB
Makefile
37 lines
1.1 KiB
Makefile
# $NetBSD: Makefile,v 1.73 2019/06/22 22:46:45 tsutsui Exp $
|
|
|
|
PKGNAME= mencoder-${MPLAYER_VERSION}
|
|
PKGREVISION= 1
|
|
|
|
COMMENT= Simple movie encoder for MPlayer-playable movies
|
|
|
|
USE_TOOLS+= pkg-config
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.common"
|
|
|
|
# Fix build under Mac OS X, please see here for details:
|
|
# http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2009-May/061515.html
|
|
LDFLAGS.Darwin+= -framework Carbon
|
|
|
|
CONFIGURE_ARGS+= --confdir=${PREFIX}/share/mplayer
|
|
|
|
BUILD_TARGET= mencoder
|
|
|
|
MANCOMPRESSED_IF_MANZ= YES
|
|
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/mencoder ${DESTDIR}${PREFIX}/bin
|
|
if [ X"${MANZ}" = X"" ]; then \
|
|
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1 \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1; \
|
|
else \
|
|
${LN} -s -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mplayer.1.gz \
|
|
${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/mencoder.1.gz; \
|
|
fi
|
|
|
|
.include "../../multimedia/mplayer-share/Makefile.depends"
|
|
|
|
.include "../../mk/termcap.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|
|
.include "../../multimedia/mplayer-share/Makefile.cflags"
|