pkgsrc/audio/xine-pulse/Makefile

30 lines
848 B
Makefile

# $NetBSD: Makefile,v 1.14 2012/09/22 13:48:16 ryoon Exp $
#
PKG_DESTDIR_SUPPORT= user-destdir
.include "../../multimedia/xine-lib/Makefile.common"
PKGNAME= ${XINE_PKGNAME:S/lib/pulse/}
PKGREVISION= 2
CATEGORIES= audio
COMMENT= The PulseAudio output plugin for xine-lib
DEPENDS+= xine-lib>=1rc3a:../../multimedia/xine-lib
BUILD_DIRS= ${WRKSRC}/src/audio_out
CONFIGURE_ARGS+= --without-x --disable-xinerama
CONFIGURE_ARGS+= --disable-vcd
CONFIGURE_ARGS+= --with-pulseaudio
INSTALLATION_DIRS= lib/xine/plugins/${XINE_MOD_DIR_VER}
do-install:
cd ${WRKSRC}/src/audio_out && \
${LIBTOOL} --mode=install ${INSTALL_DATA} \
xineplug_ao_out_pulseaudio.la \
${DESTDIR}${PREFIX}/lib/xine/plugins/${XINE_MOD_DIR_VER}
.include "../../audio/pulseaudio/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"