From 51095113f64ece8453e16928107a8170df973499 Mon Sep 17 00:00:00 2001 From: xeroxslayer Date: Mon, 5 Aug 2024 13:23:43 +0200 Subject: [PATCH] ffmpeg6: strip static libs fix for i686-musl Closes #51664. --- srcpkgs/ffmpeg6/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ffmpeg6/template b/srcpkgs/ffmpeg6/template index b779e9e2f4b..e215c462333 100644 --- a/srcpkgs/ffmpeg6/template +++ b/srcpkgs/ffmpeg6/template @@ -196,10 +196,11 @@ ffmpeg6-devel_package() { short_desc+=" - development files" conflicts="ffmpeg-devel" replaces="ffmpeg-devel>=0" - if [ "$XBPS_TARGET_MACHINE" = "i686" ]; then + case "$XBPS_TARGET_MACHINE" in + i686*) # /usr/bin/strip: error: the input file '/destdir//ffmpeg-devel-4.4.4/usr/lib/libavfilter.a(vf_atadenoise.o)' has no sections - nostrip_files="/usr/lib/libavfilter.a" - fi + nostrip_files="/usr/lib/libavfilter.a";; + esac pkg_install() { vmove usr/include vmove usr/lib/pkgconfig