new MPEG support does not compile on some archs, do not enable it yet

This commit is contained in:
Michal Hlavinka 2022-08-03 12:36:25 +02:00
parent 2d6b76d1ea
commit a9c1148dc6
1 changed files with 9 additions and 4 deletions

View File

@ -1,7 +1,7 @@
Summary: Library for reading and writing sound files
Name: libsndfile
Version: 1.1.0
Release: 2%{?dist}
Release: 3%{?dist}
License: LGPLv2+ and GPLv2+ and BSD
URL: http://libsndfile.github.io/libsndfile/
Source0: https://github.com/libsndfile/libsndfile/releases/download/%{version}/libsndfile-%{version}.tar.xz
@ -19,8 +19,9 @@ BuildRequires: libtool
BuildRequires: make
BuildRequires: python3
BuildRequires: opus-devel
BuildRequires: lame-devel
BuildRequires: mpg123-devel
# enable later, now it fails on some archs #https://github.com/libsndfile/libsndfile/issues/860
#BuildRequires: lame-devel
#BuildRequires: mpg123-devel
%description
@ -64,9 +65,10 @@ autoreconf -I M4 -fiv # for system-gsm patch
--disable-dependency-tracking \
--enable-sqlite \
--enable-alsa \
--enable-mpeg \
--enable-largefile \
--disable-static
# enable later, now it fails on some archs #https://github.com/libsndfile/libsndfile/issues/860
# --enable-mpeg \
# Get rid of rpath
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g' libtool
@ -150,6 +152,9 @@ LD_LIBRARY_PATH=$PWD/src/.libs make check
%changelog
* Wed Aug 03 2022 Michal Hlavinka <mhlavink@redhat.com> - 1.1.0-3
- new MPEG support does not compile on some archs, do not enable it yet
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild