audio/speex: update to maintenance release 1.2.1

This commit is contained in:
naddy 2022-07-29 21:15:58 +00:00
parent 8b20b3e167
commit 3dfc239c3c
5 changed files with 9 additions and 11 deletions

View File

@ -1,9 +1,9 @@
COMMENT= patent-free speech codec COMMENT= patent-free speech codec
DISTNAME= speex-1.2.0 DISTNAME= speex-1.2.1
CATEGORIES= audio CATEGORIES= audio
HOMEPAGE= https://speex.org/ HOMEPAGE= https://speex.org/
SHARED_LIBS= speex 8.0 # 6.1 SHARED_LIBS= speex 8.0 # 6.2
MAINTAINER= Christian Weisgerber <naddy@openbsd.org> MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
@ -18,9 +18,7 @@ WANTLIB= c m ogg sndio speexdsp
SEPARATE_BUILD= Yes SEPARATE_BUILD= Yes
CONFIGURE_STYLE=gnu CONFIGURE_STYLE=gnu
# binaries are intended to be enabled by default, but the configure
# script is wrong
CONFIGURE_ARGS= --enable-binaries
CONFIGURE_ENV= CPPFLAGS="-DUSE_SNDIO" CONFIGURE_ENV= CPPFLAGS="-DUSE_SNDIO"
DEBUG_PACKAGES= ${BUILD_PACKAGES}
.include <bsd.port.mk> .include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (speex-1.2.0.tar.gz) = 6q6K8Kx0LcfVQslDmscvHzhc6Dg5LchJyuRTavkhAJQ= SHA256 (speex-1.2.1.tar.gz) = S0TU8rOKNwotmKeDKf78VqDPk9HBvnACkhe6rmYo/uo=
SIZE (speex-1.2.0.tar.gz) = 1047080 SIZE (speex-1.2.1.tar.gz) = 1043278

View File

@ -1,7 +1,7 @@
Index: src/Makefile.in Index: src/Makefile.in
--- src/Makefile.in.orig --- src/Makefile.in.orig
+++ src/Makefile.in +++ src/Makefile.in
@@ -370,7 +370,7 @@ speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la @@ -372,7 +372,7 @@ speexenc_LDADD = $(top_builddir)/libspeex/libspeex.la
speexdec_SOURCES = speexdec.c wav_io.c speexdec_SOURCES = speexdec.c wav_io.c
speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la \ speexdec_LDADD = $(top_builddir)/libspeex/libspeex.la \

View File

@ -12,8 +12,8 @@ Index: src/speexdec.c
#include <sys/types.h> #include <sys/types.h>
#include <fcntl.h> #include <fcntl.h>
@@ -91,6 +94,10 @@ @@ -91,6 +94,10 @@
((buf[base+1]<<8)&0xff00)| \ (((unsigned)buf[1]<<8)&0xff00)| \
(buf[base]&0xff)) ((unsigned)buf[0]&0xff))
+#ifdef USE_SNDIO +#ifdef USE_SNDIO
+struct sio_hdl *hdl; +struct sio_hdl *hdl;

View File

@ -7,7 +7,7 @@ include/speex/speex_config_types.h
include/speex/speex_header.h include/speex/speex_header.h
include/speex/speex_stereo.h include/speex/speex_stereo.h
include/speex/speex_types.h include/speex/speex_types.h
lib/libspeex.a @static-lib lib/libspeex.a
lib/libspeex.la lib/libspeex.la
@lib lib/libspeex.so.${LIBspeex_VERSION} @lib lib/libspeex.so.${LIBspeex_VERSION}
lib/pkgconfig/speex.pc lib/pkgconfig/speex.pc