update to portaudio-svn-1970, from brad
This commit is contained in:
parent
8276fde418
commit
ab6e26ec15
|
@ -1,11 +1,11 @@
|
|||
# $OpenBSD: Makefile,v 1.20 2019/07/12 20:43:39 sthen Exp $
|
||||
# $OpenBSD: Makefile,v 1.21 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
COMMENT= portable cross-platform audio API
|
||||
|
||||
DISTNAME = pa_stable_v190600_20161030
|
||||
PKGNAME = portaudio-svn-1960
|
||||
DISTNAME = pa_stable_v190700_20210406
|
||||
PKGNAME = portaudio-svn-1970
|
||||
CATEGORIES= audio
|
||||
MASTER_SITES = http://www.portaudio.com/archives/
|
||||
MASTER_SITES = http://files.portaudio.com/archives/
|
||||
EXTRACT_SUFX = .tgz
|
||||
|
||||
SHARED_LIBS = portaudio 1.2
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (pa_stable_v190600_20161030.tgz) = 9aIdfc1u6EOXRG+h+hoGdbsuikptzrQwWoQEaY2NFRM=
|
||||
SIZE (pa_stable_v190600_20161030.tgz) = 1450572
|
||||
SHA256 (pa_stable_v190700_20210406.tgz) = R++/Qsd8GaBdIuYn1Chz6ZHsDBNXIZwNdM5qKUjLLe8=
|
||||
SIZE (pa_stable_v190700_20210406.tgz) = 1462695
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
$OpenBSD: patch-Makefile_in,v 1.4 2013/03/12 00:59:50 brad Exp $
|
||||
--- Makefile.in.orig Thu Jul 5 23:44:34 2012
|
||||
+++ Makefile.in Thu Jul 5 23:49:34 2012
|
||||
@@ -146,6 +146,7 @@ SRC_DIRS = \
|
||||
src/hostapi/dsound \
|
||||
$OpenBSD: patch-Makefile_in,v 1.5 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: Makefile.in
|
||||
--- Makefile.in.orig
|
||||
+++ Makefile.in
|
||||
@@ -147,6 +147,7 @@ SRC_DIRS = \
|
||||
src/hostapi/jack \
|
||||
src/hostapi/oss \
|
||||
src/hostapi/skeleton \
|
||||
+ src/hostapi/sndio \
|
||||
src/hostapi/wasapi \
|
||||
src/hostapi/wdmks \
|
||||
src/hostapi/wmme \
|
||||
@@ -155,7 +156,7 @@ SRC_DIRS = \
|
||||
@@ -156,7 +157,7 @@ SRC_DIRS = \
|
||||
SUBDIRS =
|
||||
@ENABLE_CXX_TRUE@SUBDIRS += bindings/cpp
|
||||
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
$OpenBSD: patch-configure_in,v 1.5 2019/02/06 14:21:15 jca Exp $
|
||||
$OpenBSD: patch-configure_in,v 1.6 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: configure.in
|
||||
--- configure.in.orig
|
||||
+++ configure.in
|
||||
@@ -24,6 +24,10 @@ AC_ARG_WITH(alsa,
|
||||
@@ -33,6 +33,10 @@ AC_ARG_WITH(alsa,
|
||||
AS_HELP_STRING([--with-alsa], [Enable support for ALSA @<:@autodetect@:>@]),
|
||||
[with_alsa=$withval])
|
||||
|
||||
|
@ -13,7 +14,7 @@ Index: configure.in
|
|||
AC_ARG_WITH(jack,
|
||||
AS_HELP_STRING([--with-jack], [Enable support for JACK @<:@autodetect@:>@]),
|
||||
[with_jack=$withval])
|
||||
@@ -120,6 +124,10 @@ have_alsa=no
|
||||
@@ -129,6 +133,10 @@ have_alsa=no
|
||||
if test "x$with_alsa" != "xno"; then
|
||||
AC_CHECK_LIB(asound, snd_pcm_open, have_alsa=yes, have_alsa=no)
|
||||
fi
|
||||
|
@ -24,7 +25,7 @@ Index: configure.in
|
|||
have_asihpi=no
|
||||
if test "x$with_asihpi" != "xno"; then
|
||||
AC_CHECK_LIB(hpi, HPI_SubSysCreate, have_asihpi=yes, have_asihpi=no, -lm)
|
||||
@@ -406,6 +414,13 @@ case "${host_os}" in
|
||||
@@ -401,6 +409,13 @@ case "${host_os}" in
|
||||
AC_DEFINE(PA_USE_ALSA,1)
|
||||
fi
|
||||
|
||||
|
@ -38,7 +39,7 @@ Index: configure.in
|
|||
if [[ "$have_jack" = "yes" ] && [ "$with_jack" != "no" ]] ; then
|
||||
DLL_LIBS="$DLL_LIBS $JACK_LIBS"
|
||||
CFLAGS="$CFLAGS $JACK_CFLAGS"
|
||||
@@ -509,6 +524,7 @@ case "$target_os" in
|
||||
@@ -504,6 +519,7 @@ case "$target_os" in
|
||||
;;
|
||||
*)
|
||||
AC_MSG_RESULT([
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
$OpenBSD: patch-include_portaudio_h,v 1.3 2019/02/06 14:21:15 jca Exp $
|
||||
$OpenBSD: patch-include_portaudio_h,v 1.4 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: include/portaudio.h
|
||||
--- include/portaudio.h.orig
|
||||
+++ include/portaudio.h
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
$OpenBSD: patch-portaudio-2_0_pc_in,v 1.1 2013/03/12 00:59:50 brad Exp $
|
||||
--- portaudio-2.0.pc.in.orig Sun Sep 2 22:02:42 2012
|
||||
+++ portaudio-2.0.pc.in Sun Sep 2 22:05:07 2012
|
||||
$OpenBSD: patch-portaudio-2_0_pc_in,v 1.2 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: portaudio-2.0.pc.in
|
||||
--- portaudio-2.0.pc.in.orig
|
||||
+++ portaudio-2.0.pc.in
|
||||
@@ -8,5 +8,6 @@ Description: Portable audio I/O
|
||||
Requires:
|
||||
Version: 19
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
$OpenBSD: patch-src_os_unix_pa_unix_hostapis_c,v 1.2 2013/03/12 00:59:50 brad Exp $
|
||||
--- src/os/unix/pa_unix_hostapis.c.orig Thu Jul 5 23:44:45 2012
|
||||
+++ src/os/unix/pa_unix_hostapis.c Thu Jul 5 23:49:33 2012
|
||||
$OpenBSD: patch-src_os_unix_pa_unix_hostapis_c,v 1.3 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: src/os/unix/pa_unix_hostapis.c
|
||||
--- src/os/unix/pa_unix_hostapis.c.orig
|
||||
+++ src/os/unix/pa_unix_hostapis.c
|
||||
@@ -44,6 +44,7 @@
|
||||
|
||||
PaError PaJack_Initialize( PaUtilHostApiRepresentation **hostApi, PaHostApiIndex index );
|
||||
|
|
|
@ -1,6 +1,8 @@
|
|||
$OpenBSD: patch-src_os_unix_pa_unix_util_c,v 1.2 2013/03/12 00:59:50 brad Exp $
|
||||
--- src/os/unix/pa_unix_util.c.orig Thu Jul 5 23:44:45 2012
|
||||
+++ src/os/unix/pa_unix_util.c Thu Jul 5 23:49:33 2012
|
||||
$OpenBSD: patch-src_os_unix_pa_unix_util_c,v 1.3 2021/10/16 19:59:28 sthen Exp $
|
||||
|
||||
Index: src/os/unix/pa_unix_util.c
|
||||
--- src/os/unix/pa_unix_util.c.orig
|
||||
+++ src/os/unix/pa_unix_util.c
|
||||
@@ -251,6 +251,7 @@ static PaError BoostPriority( PaUnixThread* self )
|
||||
|
||||
assert( self );
|
||||
|
@ -23,7 +25,7 @@ $OpenBSD: patch-src_os_unix_pa_unix_util_c,v 1.2 2013/03/12 00:59:50 brad Exp $
|
|||
PA_UNLESS( !pthread_attr_init( &attr ), paInternalError );
|
||||
+#if defined(_POSIX_THREAD_PRIORITY_SCHEDULING) && (_POSIX_THREAD_PRIORITY_SCHEDULING > 0)
|
||||
/* Priority relative to other processes */
|
||||
PA_UNLESS( !pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM ), paInternalError );
|
||||
PA_UNLESS( !pthread_attr_setscope( &attr, PTHREAD_SCOPE_SYSTEM ), paInternalError );
|
||||
+#endif
|
||||
|
||||
PA_UNLESS( !pthread_create( &self->thread, &attr, threadFunc, threadArg ), paInternalError );
|
||||
|
@ -37,4 +39,4 @@ $OpenBSD: patch-src_os_unix_pa_unix_util_c,v 1.2 2013/03/12 00:59:50 brad Exp $
|
|||
+#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
@comment $OpenBSD: PLIST,v 1.3 2014/09/13 04:56:28 bentley Exp $
|
||||
@comment $OpenBSD: PLIST,v 1.4 2021/10/16 19:59:29 sthen Exp $
|
||||
include/portaudio.h
|
||||
lib/libportaudio.a
|
||||
@static-lib lib/libportaudio.a
|
||||
lib/libportaudio.la
|
||||
@lib lib/libportaudio.so.${LIBportaudio_VERSION}
|
||||
lib/pkgconfig/portaudio-2.0.pc
|
||||
|
|
Loading…
Reference in New Issue
Block a user