!1 update speexdsp to 1.2.0

Merge pull request !1 from BruceGW/master
This commit is contained in:
openeuler-ci-bot 2020-01-10 19:20:57 +08:00 committed by Gitee
commit b3f73fb0fb
4 changed files with 7 additions and 44 deletions

BIN
speexdsp-1.2.0.tar.gz Normal file

Binary file not shown.

Binary file not shown.

View File

@ -1,36 +0,0 @@
diff --git a/configure.ac b/configure.ac
index 2cd2d1e..1de0c23 100644
--- a/configure.ac
+++ b/configure.ac
@@ -334,6 +334,12 @@ AC_SUBST([USIZE16])
AC_SUBST([SIZE32])
AC_SUBST([USIZE32])
+AS_IF([test "$ac_cv_header_stdint_h" = "yes"], [INCLUDE_STDINT="#include <stdint.h>"],
+ [test "$ac_cv_header_inttypes_h" = "yes"], [INCLUDE_STDINT="#include <inttypes.h>"],
+ [test "$ac_cv_header_sys_types_h" = "yes"], [INCLUDE_STDINT="#include <sys/types.h>"])
+
+AC_SUBST([INCLUDE_STDINT])
+
AC_CONFIG_FILES([
Makefile libspeexdsp/Makefile doc/Makefile SpeexDSP.spec
include/Makefile include/speex/Makefile speexdsp.pc
diff --git a/include/speex/speexdsp_config_types.h.in b/include/speex/speexdsp_config_types.h.in
index 02b82fd..5ea7b55 100644
--- a/include/speex/speexdsp_config_types.h.in
+++ b/include/speex/speexdsp_config_types.h.in
@@ -1,13 +1,7 @@
#ifndef __SPEEX_TYPES_H__
#define __SPEEX_TYPES_H__
-#if defined HAVE_STDINT_H
-# include <stdint.h>
-#elif defined HAVE_INTTYPES_H
-# include <inttypes.h>
-#elif defined HAVE_SYS_TYPES_H
-# include <sys/types.h>
-#endif
+@INCLUDE_STDINT@
typedef @SIZE16@ spx_int16_t;
typedef @USIZE16@ spx_uint16_t;

View File

@ -1,15 +1,11 @@
%define ver rc3
Name: speexdsp
Summary: An open-source, patent-free speech codec
Version: 1.2
Release: 3.%{ver}
Version: 1.2.0
Release: 1
License: BSD
Source0: http://www.speex.org/download/%{name}-%{version}%{ver}.tar.gz
Source0: http://www.speex.org/download/%{name}-%{version}.tar.gz
URL: http://www.speex.org/
Patch0: speexdsp-fixbuilds-774c87d.patch
Buildrequires: autoconf automake libtool gdb
%description
@ -28,7 +24,7 @@ Speex development files.
%package_help
%prep
%autosetup -n %{name}-%{version}%{ver} -p1
%autosetup -n %{name}-%{version} -p1
%build
autoreconf -fiv
@ -65,6 +61,9 @@ autoreconf -fiv
%{_docdir}/%{name}/*.pdf
%changelog
* Fri Jan 10 2020 guanyalong <gyl93216@163.com> - 1.2.0-1
- update speexdsp to 1.2.0
* Thu Nov 21 2019 fangyufa<fangyufa1@huawei.com> - 1.2-3.rc3
- fix build problem for x86_64 platform