Accepting request 727578 from multimedia:libs

OBS-URL: https://build.opensuse.org/request/show/727578
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/speexdsp?expand=0&rev=7
This commit is contained in:
Dominique Leuenberger 2019-09-07 10:32:22 +00:00 committed by Git OBS Bridge
commit 5d3ff6bdb4
5 changed files with 23 additions and 53 deletions

3
speexdsp-1.2.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:682042fc6f9bee6294ec453f470dadc26c6ff29b9c9e9ad2ffc1f4312fd64771
size 919621

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4ae688600039f5d224bdf2e222d2fbde65608447e4c2f681585e4dca6df692f1
size 901771

View File

@ -1,36 +0,0 @@
Index: speexdsp-1.2rc3/configure.ac
===================================================================
--- speexdsp-1.2rc3.orig/configure.ac
+++ speexdsp-1.2rc3/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
Index: speexdsp-1.2rc3/include/speex/speexdsp_config_types.h.in
===================================================================
--- speexdsp-1.2rc3.orig/include/speex/speexdsp_config_types.h.in
+++ speexdsp-1.2rc3/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,3 +1,10 @@
-------------------------------------------------------------------
Sun Sep 1 06:56:01 UTC 2019 - Jan Engelhardt <jengelh@inai.de>
- Update to release 1.2.0
* No changelog provided
- Drop speexdsp-fixbuilds-774c87d.patch (merged)
-------------------------------------------------------------------
Mon Oct 2 13:26:56 UTC 2017 - mpluskal@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package speexdsp
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -12,24 +12,24 @@
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via http://bugs.opensuse.org/
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define package_version 1.2rc3
%define package_version 1.2.0
%define sover 1
%define libname lib%{name}%{sover}
Name: speexdsp
Version: 1.2~rc3
Version: 1.2.0
Release: 0
Summary: An Open Source, Patent Free Speech Codec
Summary: Patent free speech codec
License: BSD-3-Clause
Group: Productivity/Multimedia/Sound/Editors and Convertors
Url: http://www.speex.org/
Source0: http://downloads.xiph.org/releases/speex/%{name}-%{package_version}.tar.gz
URL: https://www.speex.org/
#Git-Clone: https://github.com/xiph/speexdsp
Source0: https://downloads.xiph.org/releases/speex/%{name}-%{package_version}.tar.gz
Source2: baselibs.conf
# taken from upstream boo#929450
Patch0: speexdsp-fixbuilds-774c87d.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
@ -44,7 +44,7 @@ narrowband and wideband quality. This project aims to be complementary
to the Vorbis codec.
%package -n %{libname}
Summary: An Open Source, Patent Free Speech Codec Library
Summary: Patent-free speech codec
Group: System/Libraries
%description -n %{libname}
@ -64,8 +64,7 @@ This package contains the files needed to compile programs that use the
SpeeX library.
%prep
%setup -q -n %{name}-%{package_version}
%patch0 -p1
%autosetup -p1 -n %{name}-%{package_version}
%build
autoreconf -fiv
@ -78,8 +77,8 @@ make %{?_smp_mflags} V=1
%install
%make_install
# remove unneeded *.a and *.la files
find %{buildroot} -type f \( -name '*.a' -o -name '*.la' \) -delete -print
# remove unneeded *.la files
rm -f %{buildroot}/%{_libdir}/*.la
%post -n %{libname} -p /sbin/ldconfig
%postun -n %{libname} -p /sbin/ldconfig