head	1.15;
access;
symbols
	pkgsrc-2019Q3:1.13.0.22
	pkgsrc-2019Q3-base:1.13
	pkgsrc-2019Q2:1.13.0.20
	pkgsrc-2019Q2-base:1.13
	pkgsrc-2019Q1:1.13.0.18
	pkgsrc-2019Q1-base:1.13
	pkgsrc-2018Q4:1.13.0.16
	pkgsrc-2018Q4-base:1.13
	pkgsrc-2018Q3:1.13.0.14
	pkgsrc-2018Q3-base:1.13
	pkgsrc-2018Q2:1.13.0.12
	pkgsrc-2018Q2-base:1.13
	pkgsrc-2018Q1:1.13.0.10
	pkgsrc-2018Q1-base:1.13
	pkgsrc-2017Q4:1.13.0.8
	pkgsrc-2017Q4-base:1.13
	pkgsrc-2017Q3:1.13.0.6
	pkgsrc-2017Q3-base:1.13
	pkgsrc-2017Q2:1.13.0.2
	pkgsrc-2017Q2-base:1.13
	pkgsrc-2017Q1:1.12.0.2
	pkgsrc-2017Q1-base:1.12
	pkgsrc-2016Q4:1.11.0.8
	pkgsrc-2016Q4-base:1.11
	pkgsrc-2016Q3:1.11.0.6
	pkgsrc-2016Q3-base:1.11
	pkgsrc-2016Q2:1.11.0.4
	pkgsrc-2016Q2-base:1.11
	pkgsrc-2016Q1:1.11.0.2
	pkgsrc-2016Q1-base:1.11
	pkgsrc-2015Q4:1.9.0.12
	pkgsrc-2015Q4-base:1.9
	pkgsrc-2015Q3:1.9.0.10
	pkgsrc-2015Q3-base:1.9
	pkgsrc-2015Q2:1.9.0.8
	pkgsrc-2015Q2-base:1.9
	pkgsrc-2015Q1:1.9.0.6
	pkgsrc-2015Q1-base:1.9
	pkgsrc-2014Q4:1.9.0.4
	pkgsrc-2014Q4-base:1.9
	pkgsrc-2014Q3:1.9.0.2
	pkgsrc-2014Q3-base:1.9
	pkgsrc-2014Q2:1.7.0.12
	pkgsrc-2014Q2-base:1.7
	pkgsrc-2014Q1:1.7.0.10
	pkgsrc-2014Q1-base:1.7
	pkgsrc-2013Q4:1.7.0.8
	pkgsrc-2013Q4-base:1.7
	pkgsrc-2013Q3:1.7.0.6
	pkgsrc-2013Q3-base:1.7
	pkgsrc-2013Q2:1.7.0.4
	pkgsrc-2013Q2-base:1.7
	pkgsrc-2013Q1:1.7.0.2
	pkgsrc-2013Q1-base:1.7
	pkgsrc-2012Q4:1.6.0.2
	pkgsrc-2012Q4-base:1.6
	pkgsrc-2012Q3:1.5.0.6
	pkgsrc-2012Q3-base:1.5
	pkgsrc-2012Q2:1.5.0.4
	pkgsrc-2012Q2-base:1.5
	pkgsrc-2012Q1:1.5.0.2
	pkgsrc-2012Q1-base:1.5
	pkgsrc-2011Q4:1.4.0.26
	pkgsrc-2011Q4-base:1.4
	pkgsrc-2011Q3:1.4.0.24
	pkgsrc-2011Q3-base:1.4
	pkgsrc-2011Q2:1.4.0.22
	pkgsrc-2011Q2-base:1.4
	pkgsrc-2011Q1:1.4.0.20
	pkgsrc-2011Q1-base:1.4
	pkgsrc-2010Q4:1.4.0.18
	pkgsrc-2010Q4-base:1.4
	pkgsrc-2010Q3:1.4.0.16
	pkgsrc-2010Q3-base:1.4
	pkgsrc-2010Q2:1.4.0.14
	pkgsrc-2010Q2-base:1.4
	pkgsrc-2010Q1:1.4.0.12
	pkgsrc-2010Q1-base:1.4
	pkgsrc-2009Q4:1.4.0.10
	pkgsrc-2009Q4-base:1.4
	pkgsrc-2009Q3:1.4.0.8
	pkgsrc-2009Q3-base:1.4
	pkgsrc-2009Q2:1.4.0.6
	pkgsrc-2009Q2-base:1.4
	pkgsrc-2009Q1:1.4.0.4
	pkgsrc-2009Q1-base:1.4
	pkgsrc-2008Q4:1.4.0.2
	pkgsrc-2008Q4-base:1.4
	pkgsrc-2008Q3:1.3.0.8
	pkgsrc-2008Q3-base:1.3
	cube-native-xorg:1.3.0.6
	cube-native-xorg-base:1.3
	pkgsrc-2008Q2:1.3.0.4
	pkgsrc-2008Q2-base:1.3
	cwrapper:1.3.0.2
	pkgsrc-2008Q1:1.2.0.10
	pkgsrc-2008Q1-base:1.2
	pkgsrc-2007Q4:1.2.0.8
	pkgsrc-2007Q4-base:1.2
	pkgsrc-2007Q3:1.2.0.6
	pkgsrc-2007Q3-base:1.2
	pkgsrc-2007Q2:1.2.0.4
	pkgsrc-2007Q2-base:1.2
	pkgsrc-2007Q1:1.2.0.2
	pkgsrc-2007Q1-base:1.2
	pkgsrc-2006Q4:1.1.1.1.0.6
	pkgsrc-2006Q4-base:1.1.1.1
	pkgsrc-2006Q3:1.1.1.1.0.4
	pkgsrc-2006Q3-base:1.1.1.1
	pkgsrc-2006Q2:1.1.1.1.0.2
	pkgsrc-2006Q2-base:1.1.1.1
	pkgsrc-base:1.1.1.1
	TNF:1.1.1;
locks; strict;
comment	@# @;


1.15
date	2019.10.20.11.10.49;	author nia;	state dead;
branches;
next	1.14;
commitid	HN1GR9qZqBV63BHB;

1.14
date	2019.10.16.12.50.27;	author nia;	state Exp;
branches;
next	1.13;
commitid	xBACN1PJlmcHI5HB;

1.13
date	2017.04.27.07.14.01;	author nat;	state Exp;
branches;
next	1.12;
commitid	tFzWjSYgsgD0R8Pz;

1.12
date	2017.02.22.14.31.26;	author fhajny;	state Exp;
branches
	1.12.2.1;
next	1.11;
commitid	OCwjmDBd4BXWjXGz;

1.11
date	2016.02.25.10.15.46;	author jperkin;	state Exp;
branches;
next	1.10;
commitid	4uGDyhz3C4qTAhWy;

1.10
date	2015.12.29.04.54.36;	author dholland;	state Exp;
branches;
next	1.9;
commitid	u8BGzIq28fJjGNOy;

1.9
date	2014.07.21.10.17.54;	author wiz;	state Exp;
branches;
next	1.8;
commitid	Kwv4TE6jwf9vmeJx;

1.8
date	2014.07.21.07.15.07;	author dbj;	state Exp;
branches;
next	1.7;
commitid	g4ogo2xHwaazmdJx;

1.7
date	2013.01.08.16.21.49;	author gdt;	state Exp;
branches;
next	1.6;

1.6
date	2012.10.02.23.48.04;	author asau;	state Exp;
branches;
next	1.5;

1.5
date	2012.01.17.21.43.18;	author sbd;	state Exp;
branches;
next	1.4;

1.4
date	2008.12.28.23.45.50;	author wiz;	state Exp;
branches;
next	1.3;

1.3
date	2008.06.12.02.14.14;	author joerg;	state Exp;
branches;
next	1.2;

1.2
date	2007.01.08.21.42.41;	author rillig;	state Exp;
branches;
next	1.1;

1.1
date	2006.05.21.22.21.10;	author ben;	state Exp;
branches
	1.1.1.1;
next	;

1.12.2.1
date	2017.05.01.09.25.40;	author bsiegert;	state Exp;
branches;
next	;
commitid	lguLQ7fwPlwNsFPz;

1.1.1.1
date	2006.05.21.22.21.10;	author ben;	state Exp;
branches;
next	;


desc
@@


1.15
log
@Rename audio/portaudio-devel to audio/portaudio
@
text
@# $NetBSD: Makefile,v 1.14 2019/10/16 12:50:27 nia Exp $

DISTNAME=	pa_stable_v190600_20161030
PKGNAME=	portaudio-devel-20161030
PKGREVISION=	2
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

USE_LANGUAGES=	c c++
USE_TOOLS+=	gmake pkg-config
USE_LIBTOOL=	yes
GNU_CONFIGURE=	yes

GNU_CONFIGURE_LIBSUBDIR=	portaudio2

NOT_FOR_PLATFORM=	Interix-*-*

CONFIGURE_ARGS+=	--enable-cxx
CONFIGURE_ARGS+=	--includedir=${PREFIX}/include/portaudio2
CONFIGURE_ARGS+=	--disable-mac-universal

LDFLAGS+=		${LIBOSSAUDIO}
PKGCONFIG_OVERRIDE=	portaudio-2.0.pc.in
WRKSRC=			${WRKDIR}/portaudio

INSTALLATION_DIRS=	include/portaudio2 lib/portaudio2 lib/pkgconfig

SUBST_CLASSES+=		pthread
SUBST_STAGE.pthread=	pre-configure
SUBST_MESSAGE.pthread=	Fixing -lpthread references.
SUBST_FILES.pthread=	configure
SUBST_SED.pthread=	-e 's/-D_REENTRANT/${PTHREAD_CFLAGS}/g'
SUBST_SED.pthread+=	-e 's/-lpthread/${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}/g'

SUBST_CLASSES+=		pc
SUBST_STAGE.pc=		pre-configure
SUBST_MESSAGE.pc=	Fixing pkgconfig directory
SUBST_FILES.pc=		Makefile.in bindings/cpp/Makefile.in
SUBST_SED.pc=		-e 's/$$(libdir)\/pkgconfig/$$(prefix)\/lib\/pkgconfig/g'

CFLAGS.Darwin+=		-Wno-deprecated-declarations

.include "options.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.14
log
@portaudio-devel: Support C++ bindings, ALSA, JACK.

Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2017/04/27 07:14:01 nat Exp $
@


1.13
log
@Don't write an endless stream of silence whilst preparing playback.
Bump PKGREVISION.

Addresses PR kern/52196.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2017/02/22 14:31:26 fhajny Exp $
d5 1
a5 1
PKGREVISION=	1
d12 1
a12 1
COMMENT=	Portable cross-platform Audio API
d15 7
d24 1
a24 4
USE_TOOLS+=		gmake pkg-config
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
GNU_CONFIGURE_LIBSUBDIR=portaudio2
a25 1
CONFIGURE_ARGS+=	--without-alsa
d27 1
d44 1
a44 1
SUBST_FILES.pc=		Makefile.in
d49 1
@


1.12
log
@Update audio/portaudio-devel to 190600 (20161030).

All Platforms

- Add new version number API (see above)
- Updated version number to 19.6.0 (due to extension added to WASAPI
  host-API specific)
- pa_process: Fix output channel adaption by not skipping the conversion
  when the host and user number-of-channels are not equal.
  Leif Asbrink. c0c0cb1414
- Fixed bug that would result in open streams not being closed when
  Pa_Terminate() is called
- C++ binding: make operator == and != const.
- Moved repository to Git

Various documentation improvements, including:
- Update docs for building on Linux
- Clarified safety of operations in callback
- Document API Version Availability (e.g. `Available as of 19.5.0`)

Build Systems
- CMake support for Unix platforms
- Fix PA_LIBRARY_DEPENDENCIES problem with CMake/WMME.

Linux
- pa_linux_alsa: fix hang in callback caused by abort.

Mac
- Update configure files for Mac OS X El Capitan, 10.11 SDK
  pa_mac_core_blocking: fix hang when running stream stopped (add
  timeout).
- pa_mac_core: Fix assert when reading or writing with non-power of 2
  channels. Now Scarlett 6i6 works.
- pa_mac_core: stop stream instead of asserting (crashing) under certain
  conditions, e.g. when device is unplugged.
- pa_mac_core: fixed copy-pasto: last host error was being associated
  with paInDevelopment host api not paCoreAudio
- pa_mac_core: Fix for truncated device names e.g. 'Built-in
  Microph'
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2016/02/25 10:15:46 jperkin Exp $
d5 1
@


1.12.2.1
log
@Pullup ticket #5378 - requested by sevan
audio/portaudio-devel: bugfix

Revisions pulled up:
- audio/portaudio-devel/Makefile                                1.13
- audio/portaudio-devel/distinfo                                1.10
- audio/portaudio-devel/patches/patch-src_hostapi_oss_pa__unix__oss.c 1.1

---
   Module Name:    pkgsrc
   Committed By:   nat
   Date:           Thu Apr 27 07:14:01 UTC 2017

   Modified Files:
           pkgsrc/audio/portaudio-devel: Makefile distinfo
   Added Files:
           pkgsrc/audio/portaudio-devel/patches:
               patch-src_hostapi_oss_pa__unix__oss.c

   Log Message:
   Don't write an endless stream of silence whilst preparing playback.
   Bump PKGREVISION.

   Addresses PR kern/52196.
@
text
@d1 1
a1 1
# $NetBSD$
a4 1
PKGREVISION=	1
@


1.11
log
@Use OPSYSVARS.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2015/12/29 04:54:36 dholland Exp $
d3 2
a4 2
DISTNAME=	pa_stable_v19_20140130
PKGNAME=	portaudio-devel-20140130
@


1.10
log
@Whitespace.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2014/07/21 10:17:54 wiz Exp $
d42 1
a42 5
.include "../../mk/bsd.prefs.mk"

.if ${OPSYS} == "Darwin"
CFLAGS+=		-Wno-deprecated-declarations
.endif
@


1.9
log
@Fix packaging.
"pkgconfig" is a reserved SUBST_CLASS, it seems; the one in pkgsrc/mk
won against the one in this file.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2014/07/21 07:15:07 dbj Exp $
d29 6
a34 6
SUBST_CLASSES+=         pthread
SUBST_STAGE.pthread=    pre-configure
SUBST_MESSAGE.pthread=  Fixing -lpthread references.
SUBST_FILES.pthread=    configure
SUBST_SED.pthread=      -e 's/-D_REENTRANT/${PTHREAD_CFLAGS}/g'
SUBST_SED.pthread+=     -e 's/-lpthread/${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}/g'
@


1.8
log
@update to pa_stable_v19_20140130, which functions on osx
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2013/01/08 16:21:49 gdt Exp $
d36 5
a40 5
SUBST_CLASSES+=         pkgconfig
SUBST_STAGE.pkgconfig=  pre-configure
SUBST_MESSAGE.pkgconfig=Fixing pkgconfig directory
SUBST_FILES.pkgconfig=  Makefile.in
SUBST_SED.pkgconfig=    -e 's/$$(libdir)\/pkgconfig/$$(prefix)\/lib\/pkgconfig/g'
@


1.7
log
@LICENSE=mit
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2012/10/02 23:48:04 asau Exp $
d3 2
a4 3
DISTNAME=	pa_snapshot_v19
PKGNAME=	portaudio-devel-20060521
PKGREVISION=	1
d7 1
a7 1
DIST_SUBDIR=	${PKGNAME_NOREV}
d22 1
d27 1
a27 1
INSTALLATION_DIRS=	include/portaudio2 lib/portaudio2
d29 18
a46 2
post-patch:
	touch ${WRKSRC}/libtool #, so that it gets replaced later
@


1.6
log
@Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2012/01/17 21:43:18 sbd Exp $
d13 1
@


1.5
log
@Convert packages with add --libdir=* to CONFIGURE_ARGS to use
GNU_CONFIGURE_LIBDIR or GNU_CONFIGURE_LIBSUBDIR.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2008/12/28 23:45:50 wiz Exp $
a13 2
PKG_DESTDIR_SUPPORT=	user-destdir

@


1.4
log
@Fix .pc file. Bump PKGREVISION.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2008/06/12 02:14:14 joerg Exp $
d21 1
a21 1
CONFIGURE_ARGS+=	--libdir=${PREFIX}/lib/portaudio2
@


1.3
log
@Add DESTDIR support.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2007/01/08 21:42:41 rillig Exp $
d5 1
d25 1
@


1.2
log
@Fixed pkglint nitpicks.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1.1.1 2006/05/21 22:21:10 ben Exp $
d13 2
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
# $NetBSD$
d7 1
a7 1
WRKSRC=		${WRKDIR}/portaudio
a14 1
DIST_SUBDIR=		${PKGNAME_NOREV}
d22 3
d27 1
a27 5
	${TOUCH} ${WRKSRC}/libtool

pre-install:
	${INSTALL_DATA_DIR} ${PREFIX}/include/portaudio2
	${INSTALL_DATA_DIR} ${PREFIX}/lib/portaudio2
@


1.1.1.1
log
@Initial import for portaudio-devel-20060521 (at this moment also known
as portaudio version 19), a portable cross-platform Audio API.

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.
@
text
@@
