From 876182bd56f6fb74fd261cb95d74b9a9c5a4ed0a Mon Sep 17 00:00:00 2001 From: Bernie Date: Nov 05 2025 02:33:47 +0000 Subject: Fix PKGBUILD for non-i686 builds --- diff --git a/libre/mplayer/PKGBUILD b/libre/mplayer/PKGBUILD index a68f5e6..c05f9f0 100644 --- a/libre/mplayer/PKGBUILD +++ b/libre/mplayer/PKGBUILD @@ -54,11 +54,13 @@ prepare() { # Fix build with ffmpeg 7, https://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2024-April/074138.html patch -p0 -i ../ffmpeg-7.patch - # i686 FTBS - # FIXME: libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints or there are not enough registers - [[ "${CARCH}" = "i686" ]] && sed -i '/vf_gradfun\.c/d' Makefile - # FIXME: libmpcodecs/vd_ffmpeg.c:508:34: error: 'AVCodecContext' has no member named 'frame_num'; did you mean 'frame_number'? - # TODO: still FTBS + if [[ "${CARCH}" = "i686" ]]; then + # i686 FTBS + # FIXME: libmpcodecs/vf_gradfun.c:196:5: error: 'asm' operand has impossible constraints or there are not enough registers + sed -i '/vf_gradfun\.c/d' Makefile + # FIXME: libmpcodecs/vd_ffmpeg.c:508:34: error: 'AVCodecContext' has no member named 'frame_num'; did you mean 'frame_number'? + # TODO: still FTBS + fi } build() {