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

View File

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