pkgsrc-wip/portaudio/Makefile
Blue Rats 662cd92eb9 Import portaudio-19.20111121 as wip/portaudio.
PortAudio is a free, cross platform, open-source, audio I/O library.  It
lets you write simple audio programs in 'C' that will compile and run on
many platforms including Windows, Macintosh (8,9,X), Unix (OSS), SGI, and
BeOS. PortAudio is intended to promote the exchange of audio synthesis
software between developers on different platforms, and was recently
selected as the audio component of a larger PortMusic project that includes
MIDI and sound file support.

PortAudio provides a very simple API for recording and/or playing sound
using a simple callback function.  Example programs are included that
synthesize sine waves and pink noise, perform fuzz distortion on a guitar,
list available audio devices, etc.

This is the latest stable branch (v19) of portaudio. It provides the portaudio2
library.
2013-05-08 23:57:17 +00:00

37 lines
854 B
Makefile

# $NetBSD: Makefile,v 1.8 2013/05/08 23:57:17 othyro Exp $
DISTNAME= pa_stable_v19_20111121
PKGNAME= ${DISTNAME:S/pa_stable_v19_/portaudio-19./1}
CATEGORIES= audio
MASTER_SITES= http://www.portaudio.com/archives/
EXTRACT_SUFX= .tgz
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.portaudio.com/
COMMENT= Portable cross-platform Audio API
LICENSE= mit
NOT_FOR_PLATFORM= Interix-*-*
CONFLICTS+= portaudio<19
WRKSRC= ${WRKDIR}/${PKGBASE}
USE_TOOLS+= gmake pkg-config
USE_LANGUAGES+= c c++
USE_LIBTOOL= yes
GNU_CONFIGURE= yes
CFLAGS.Darwin= -Ipablio
.include "options.mk"
CONFIGURE_ARGS+= --enable-cxx
.if ${OPSYS} == "NetBSD" && exists(/usr/include/sys/pset.h)
RT_LIB_SCHED= -lrt
.else
RT_LIB_SCHED= # empty
.endif
MAKE_ENV+= RT_LIB_SCHED=${RT_LIB_SCHED}
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"