Accepting request 55253 from multimedia:libs
Accepted submit request 55253 from user elvigia OBS-URL: https://build.opensuse.org/request/show/55253 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsamplerate?expand=0&rev=15
This commit is contained in:
commit
40942fbaac
@ -1,5 +1,3 @@
|
|||||||
Index: acinclude.m4
|
|
||||||
===================================================================
|
|
||||||
--- acinclude.m4.orig
|
--- acinclude.m4.orig
|
||||||
+++ acinclude.m4
|
+++ acinclude.m4
|
||||||
@@ -135,7 +135,6 @@ if test $ac_cv_c_byte_order = unknown ;
|
@@ -135,7 +135,6 @@ if test $ac_cv_c_byte_order = unknown ;
|
||||||
@ -18,3 +16,53 @@ Index: acinclude.m4
|
|||||||
)# AC_C_FIND_ENDIAN
|
)# AC_C_FIND_ENDIAN
|
||||||
|
|
||||||
|
|
||||||
|
--- configure.ac.orig
|
||||||
|
+++ configure.ac
|
||||||
|
@@ -4,7 +4,8 @@ dnl Require autoconf version >= 2.57)
|
||||||
|
AC_PREREQ(2.57)
|
||||||
|
|
||||||
|
AC_INIT([libsamplerate],[0.1.7],[erikd@mega-nerd.com])
|
||||||
|
-
|
||||||
|
+AC_USE_SYSTEM_EXTENSIONS
|
||||||
|
+AC_SYS_LARGEFILE
|
||||||
|
# Put config stuff in Cfg.
|
||||||
|
AC_CONFIG_AUX_DIR(Cfg)
|
||||||
|
|
||||||
|
@@ -16,10 +17,6 @@ AC_CONFIG_MACRO_DIR([M4])
|
||||||
|
AM_INIT_AUTOMAKE($PACKAGE_NAME,$PACKAGE_VERSION)
|
||||||
|
AC_CONFIG_HEADER(src/config.h)
|
||||||
|
|
||||||
|
-
|
||||||
|
-dnl Add parameters for aclocal
|
||||||
|
-AC_SUBST(ACLOCAL_AMFLAGS, "-I M4")
|
||||||
|
-
|
||||||
|
AC_LANG([C])
|
||||||
|
|
||||||
|
#------------------------------------------------------------------------------------
|
||||||
|
@@ -40,7 +37,7 @@ AC_LANG([C])
|
||||||
|
|
||||||
|
SHARED_VERSION_INFO="1:7:1"
|
||||||
|
|
||||||
|
-AC_PROG_CC
|
||||||
|
+AC_PROG_CC_STDC
|
||||||
|
AM_PROG_CC_C_O
|
||||||
|
|
||||||
|
# Do not check for F77.
|
||||||
|
@@ -122,7 +119,7 @@ AC_CHECK_SIGNAL(SIGALRM)
|
||||||
|
|
||||||
|
AC_C99_FUNC_LRINT
|
||||||
|
AC_C99_FUNC_LRINTF
|
||||||
|
-# AC_C99_FUNC_LLRINT Don't need this (yet?).
|
||||||
|
+AC_C99_FUNC_LLRINT
|
||||||
|
|
||||||
|
case "x$ac_cv_c99_lrint$ac_cv_c99_lrintf" in
|
||||||
|
xyesyes)
|
||||||
|
--- Makefile.am.orig
|
||||||
|
+++ Makefile.am
|
||||||
|
@@ -1,5 +1,6 @@
|
||||||
|
## Process this file with automake to produce Makefile.in
|
||||||
|
|
||||||
|
+ACLOCAL_AMFLAGS = -I M4
|
||||||
|
DISTCHECK_CONFIGURE_FLAGS = --enable-gcc-werror
|
||||||
|
|
||||||
|
SUBDIRS = src doc examples tests
|
||||||
|
@ -1,3 +1,10 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Dec 8 16:23:18 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Import debian fixes, this fix:
|
||||||
|
* The test suite so we can run make check
|
||||||
|
* src_simple() causes a crash with certain inputs
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sun Jun 6 16:54:13 UTC 2010 - cristian.rodriguez@opensuse.org
|
Sun Jun 6 16:54:13 UTC 2010 - cristian.rodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: libsamplerate
|
Name: libsamplerate
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig fftw3-devel quilt libsndfile-devel
|
||||||
Summary: A Sample Rate Converter Library
|
Summary: A Sample Rate Converter Library
|
||||||
Version: 0.1.7
|
Version: 0.1.7
|
||||||
Release: 1
|
Release: 1
|
||||||
@ -27,7 +27,8 @@ License: GPLv2+
|
|||||||
Group: System/Libraries
|
Group: System/Libraries
|
||||||
Source: %{name}-%{version}.tar.bz2
|
Source: %{name}-%{version}.tar.bz2
|
||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
Patch: %{name}-ac.diff
|
Patch0: %{name}-ac.diff
|
||||||
|
Patch1: libsamplerate_0.1.7-3.diff.gz
|
||||||
Url: http://www.mega-nerd.com/SRC/
|
Url: http://www.mega-nerd.com/SRC/
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
@ -80,12 +81,18 @@ Authors:
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch
|
%patch0
|
||||||
|
%patch1 -p1
|
||||||
|
QUILT_PATCHES=debian/patches quilt push -a
|
||||||
|
|
||||||
%build
|
%build
|
||||||
autoreconf --force --install
|
autoreconf --force --install
|
||||||
%configure --with-pic --disable-static
|
%configure --with-pic --disable-static
|
||||||
make %{?jobs:-j %jobs}
|
make %{?jobs:-j %jobs}
|
||||||
|
%check
|
||||||
|
pushd tests
|
||||||
|
make check
|
||||||
|
popd
|
||||||
|
|
||||||
%install
|
%install
|
||||||
make DESTDIR="$RPM_BUILD_ROOT" install
|
make DESTDIR="$RPM_BUILD_ROOT" install
|
||||||
|
3
libsamplerate_0.1.7-3.diff.gz
Normal file
3
libsamplerate_0.1.7-3.diff.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:9cc16187e56b683628af41c2f94d687a78e9decb9975b3968fbbaf2249c388c4
|
||||||
|
size 7534
|
Loading…
Reference in New Issue
Block a user