ffmpeg: strip libs fix for i686-musl

ffmpeg: strip static libs fix for i686-musl

ffmpeg: strip libs fix for i686-musl
This commit is contained in:
xeroxslayer 2024-08-05 13:15:35 +02:00 committed by classabbyamp
parent c78202f60d
commit e2a386eb12
1 changed files with 4 additions and 3 deletions

View File

@ -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