From e2a386eb12c5644fbd2fd536511f18bf067673d8 Mon Sep 17 00:00:00 2001 From: xeroxslayer Date: Mon, 5 Aug 2024 13:15:35 +0200 Subject: [PATCH] ffmpeg: strip libs fix for i686-musl ffmpeg: strip static libs fix for i686-musl ffmpeg: strip libs fix for i686-musl --- srcpkgs/ffmpeg/template | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index 74bde86a04d..13799f87366 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -224,10 +224,11 @@ ffmpeg-devel_package() { short_desc="Decoding, encoding and streaming software - development files" conflicts="ffmpeg6-devel" replaces="ffmpeg6-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