From c59733c602d761bc503f9ba19f2c741be7c415a7 Mon Sep 17 00:00:00 2001 From: Foxlet Date: Wed, 22 Aug 2018 21:28:07 -0400 Subject: [PATCH] ffmpeg: ppc support --- srcpkgs/ffmpeg/template | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/srcpkgs/ffmpeg/template b/srcpkgs/ffmpeg/template index 7e81e99af3e..a3373f20370 100644 --- a/srcpkgs/ffmpeg/template +++ b/srcpkgs/ffmpeg/template @@ -43,6 +43,7 @@ do_configure() { aarch64*) _arch="aarch64";; mips*) _arch="mips";; ppc64*) _arch="ppc64";; + ppc*) _arch="ppc";; *) _arch="${XBPS_TARGET_MACHINE%%-musl}";; esac @@ -52,6 +53,10 @@ do_configure() { --target-os=linux --arch=${_arch}" fi + case "$XBPS_TARGET_MACHINE" in + ppc|ppc-musl) _args+=" --disable-altivec";; + esac + ./configure --prefix=/usr --disable-debug --enable-gpl --enable-gnutls \ --enable-libcdio --enable-version3 --enable-runtime-cpudetect \ --enable-libmp3lame --enable-libvorbis --enable-libxvid \