]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
ffmpeg: nasm is x86 only, so only DEPEND if x86
authorRoss Burton <ross.burton@arm.com>
Tue, 8 Oct 2024 19:30:54 +0000 (20:30 +0100)
committerSteve Sakoman <steve@sakoman.com>
Sat, 2 Nov 2024 13:21:52 +0000 (06:21 -0700)
No need to depend on nasm if we're not going to use it.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit b99ea7f130c3f945af9a09a6ecf85b6ff8f4b710)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb

index 9e60b5cd23e9dbdaee85c5e25f155186b83f089c..b16bd51dbd752d5f1a89a2e23d24d7332371dd49 100644 (file)
@@ -46,7 +46,8 @@ ARM_INSTRUCTION_SET:armv6 = "arm"
 # libpostproc was previously packaged from a separate recipe
 PROVIDES = "libav libpostproc"
 
-DEPENDS = "nasm-native"
+DEPENDS:append:x86 = " nasm-native"
+DEPENDS:append:x86-64 = " nasm-native"
 
 inherit autotools pkgconfig