1a9512aabe
0.8.8 - Thu May 24 - New win32 driver - Few fixes and changes in autotools and configuration files. 0.8.7 - unreleased snapshot - obsolete alsa device renamed to alsa05 - the 'alsa' device now uses the 0.9/1.0 API - ALSA driver fixes
28 lines
806 B
Makefile
28 lines
806 B
Makefile
# $NetBSD: Makefile,v 1.8 2007/11/30 17:50:33 wiz Exp $
|
|
|
|
.include "../../audio/libao/Makefile.common"
|
|
|
|
PKGNAME= ${DISTNAME:S/libao/libao-oss/}
|
|
|
|
COMMENT+= (OSS plugin)
|
|
|
|
NOT_FOR_PLATFORM+= Darwin-*-* Interix-*-* SunOS-*-*
|
|
|
|
CONFIGURE_ARGS:= ${CONFIGURE_ARGS:S/ENABLE_OSS=no/ENABLE_OSS=yes/g}
|
|
BUILD_DIRS= ${WRKSRC}/src/plugins/oss
|
|
INSTALL_DIRS= ${WRKSRC}/src/plugins/oss
|
|
|
|
SUBST_CLASSES+= oss
|
|
SUBST_MESSAGE.oss= Fixing paths to OSS devices.
|
|
SUBST_STAGE.oss= pre-configure
|
|
SUBST_FILES.oss= src/plugins/oss/ao_oss.c
|
|
SUBST_SED.oss= -e 's|/dev/dsp|${DEVOSSAUDIO}|g'
|
|
SUBST_SED.oss+= -e 's|/dev/sound/dsp|${DEVOSSAUDIO}|g'
|
|
|
|
BUILDLINK_API_DEPENDS.libao+= libao>=0.8.6nb1
|
|
|
|
_LIBAO_BUILDING_PLUGIN= yes
|
|
|
|
.include "../../audio/libao/buildlink3.mk"
|
|
.include "../../mk/oss.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|