Search
Open Build Service
>
Projects
>
home:stella
:
Lain_Mageia_10
>
flac
> Changes
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
Changes of Revision 6
[-]
[+]
Changed
flac.spec
@@ -6,6 +6,8 @@ %define libnamepp %mklibname %{name}++ %{majorpp} %define libnameppdev %mklibname %{name}++ -d +%define xmms_inputdir %(xmms-config --input-plugin-dir 2>/dev/null || echo %{_libdir}/xmms/General) + Name: flac Version: 1.5.0 Release: %mkrel 4 @@ -14,7 +16,6 @@ License: BSD and GPLv2+ URL: https://www.xiph.org/flac/ Source0: https://downloads.xiph.org/releases/flac/%{name}-%{version}.tar.xz -BuildRequires: cmake BuildRequires: doxygen BuildRequires: gettext-devel BuildRequires: id3lib-devel @@ -101,15 +102,20 @@ %prep %autosetup -p1 -# Disable thorough tests -sed -i 's|FLAC__TEST_LEVEL=1|FLAC__TEST_LEVEL=0|' test/CMakeLists.txt - %build -%cmake -%cmake_build +./autogen.sh -V + +# -funroll-loops makes encoding about 10% faster +export CFLAGS="%{optflags} -funroll-loops" +%configure \ + --htmldir=%{_docdir}/flac/html \ + --disable-silent-rules \ + --disable-thorough-tests + +%make_build %install -%cmake_install +%make_install mv %{buildroot}%{_datadir}/doc/FLAC installed-docs @@ -150,7 +156,6 @@ %files -n xmms-flac %license COPYING.GPL -%{_datadir}/applications/xmms-flac.desktop %{xmms_inputdir}/libxmms-flac.so