commit 2d22c71bfc59c36032d8ccd8d4b2751104c3e4bb
Author: Leigh Scott <leigh123linux(a)gmail.com>
Date: Sat Oct 12 13:33:02 2024 +0100
fix compile flag issue
deadbeef.spec | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/deadbeef.spec b/deadbeef.spec
index beb6996..96de116 100644
--- a/deadbeef.spec
+++ b/deadbeef.spec
@@ -99,6 +99,9 @@ mv ddb_dsp_libretro-%{ddb_dsp_libretro_commit}/*
external/ddb_dsp_libretro
sed -i 's|#include <stdint.h>||'
external/ddb_dsp_libretro/sinc_resampler.h
sed -i "s|#pragma once|#pragma once\n#include <cstdint>|"
external/ddb_dsp_libretro/sinc_resampler.h
sed -i "s|size_t|std::size_t|" external/ddb_dsp_libretro/sinc_resampler.h
+%ifnarch x86_64
+sed -i -re 's/^(.*)\s+([-]msse3)\s+(.*)$/\1 \3/g'
external/ddb_dsp_libretro/Makefile.am
+%endif
tar -xvf %{SOURCE3}
mv ddb_output_pw-%{ddb_output_pw_commit}/* external/ddb_output_pw
@@ -113,9 +116,6 @@ do
done
%build
-%if 0%{?fedora} && 0%{?fedora} > 35
-export PKG_CONFIG_PATH="%{_libdir}/compat-ffmpeg4/pkgconfig"
-%endif
./autogen.sh
%configure \
--enable-ffmpeg --docdir=%{_defaultdocdir}/%{name}-%{version} \