pkgsrc/audio/libao/buildlink3.mk
drochner 3e7c868ca0 update to 1.0.0
changes:
-Added surround channel mapping API and capability
-New config file options
-misc updates and fixes

pkgsrc note: The format structure passed to ao_open_*() has grown a new
member ("matrix", for channel mapping). All client pkgs need to be
checked that it is at least zero-initialized.
2010-05-19 18:17:27 +00:00

29 lines
781 B
Makefile

# $NetBSD: buildlink3.mk,v 1.15 2010/05/19 18:17:27 drochner Exp $
BUILDLINK_TREE+= libao
.if !defined(LIBAO_BUILDLINK3_MK)
LIBAO_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libao+= libao>=0.8.4
BUILDLINK_ABI_DEPENDS.libao+= libao>=1.0.0
BUILDLINK_PKGSRCDIR.libao?= ../../audio/libao
. if !defined(_LIBAO_BUILDING_PLUGIN)
. include "../../mk/bsd.fast.prefs.mk"
. if ${OPSYS} != "Darwin" && ${OPSYS} != "Interix" && ${OPSYS} != "SunOS"
_LIBAO_DEFAULT_PLUGIN= oss
. elif ${OPSYS} == "NetBSD" || ${OPSYS} == "SunOS"
_LIBAO_DEFAULT_PLUGIN= sun
. else
_LIBAO_DEFAULT_PLUGIN=
. endif
. if !empty(_LIBAO_DEFAULT_PLUGIN)
DEPENDS+= libao-[a-z]*-[0-9]*:../../audio/libao-${_LIBAO_DEFAULT_PLUGIN}
. endif
. endif
.endif # LIBAO_BUILDLINK3_MK
BUILDLINK_TREE+= -libao