diff options
Diffstat (limited to 'meta/recipes-multimedia/ffmpeg')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch | 44 | ||||
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.bb (renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.4.bb) | 8 |
2 files changed, 3 insertions, 49 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch deleted file mode 100644 index 3f8224aa07..0000000000 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-build-fix-for-mips.patch +++ /dev/null | |||
@@ -1,44 +0,0 @@ | |||
1 | From f34c567045bea5a7ded9bcfa8e785cfd24cc7dde Mon Sep 17 00:00:00 2001 | ||
2 | From: Shivraj Patil <shivraj.patil@imgtec.com> | ||
3 | Date: Tue, 4 Apr 2017 18:56:01 +0530 | ||
4 | Subject: [PATCH] build fix for mips | ||
5 | |||
6 | Signed-off-by: Shivraj Patil <shivraj.patil@imgtec.com> | ||
7 | Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> | ||
8 | --- | ||
9 | Upstream-Status: Backport | ||
10 | |||
11 | libavcodec/mips/hevcpred_init_mips.c | 3 ++- | ||
12 | libavcodec/mips/hevcpred_msa.c | 2 +- | ||
13 | 2 files changed, 3 insertions(+), 2 deletions(-) | ||
14 | |||
15 | diff --git a/libavcodec/mips/hevcpred_init_mips.c b/libavcodec/mips/hevcpred_init_mips.c | ||
16 | index 331cfac115..e987698d66 100644 | ||
17 | --- a/libavcodec/mips/hevcpred_init_mips.c | ||
18 | +++ b/libavcodec/mips/hevcpred_init_mips.c | ||
19 | @@ -18,7 +18,8 @@ | ||
20 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
21 | */ | ||
22 | |||
23 | -#include "libavcodec/hevc.h" | ||
24 | +#include "config.h" | ||
25 | +#include "libavutil/attributes.h" | ||
26 | #include "libavcodec/mips/hevcpred_mips.h" | ||
27 | |||
28 | #if HAVE_MSA | ||
29 | diff --git a/libavcodec/mips/hevcpred_msa.c b/libavcodec/mips/hevcpred_msa.c | ||
30 | index 6a3b2815fd..963c64c861 100644 | ||
31 | --- a/libavcodec/mips/hevcpred_msa.c | ||
32 | +++ b/libavcodec/mips/hevcpred_msa.c | ||
33 | @@ -18,7 +18,7 @@ | ||
34 | * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA | ||
35 | */ | ||
36 | |||
37 | -#include "libavcodec/hevc.h" | ||
38 | +#include "libavcodec/hevcdec.h" | ||
39 | #include "libavutil/mips/generic_macros_msa.h" | ||
40 | #include "hevcpred_mips.h" | ||
41 | |||
42 | -- | ||
43 | 2.13.1 | ||
44 | |||
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.4.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.bb index 57e0ac0411..42dbe5582f 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_3.3.4.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_3.4.bb | |||
@@ -25,10 +25,9 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
25 | 25 | ||
26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ | 26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ |
27 | file://mips64_cpu_detection.patch \ | 27 | file://mips64_cpu_detection.patch \ |
28 | file://0001-build-fix-for-mips.patch \ | 28 | " |
29 | " | 29 | SRC_URI[md5sum] = "c64ba7247bb91e516f6a5789348fd5b5" |
30 | SRC_URI[md5sum] = "e14a0200c78ce5c918427e57cd406a0d" | 30 | SRC_URI[sha256sum] = "aeee06e4d8b18d852c61ebbfe5e1bb7014b1e118e8728c1c2115f91e51bffbef" |
31 | SRC_URI[sha256sum] = "98b97e1b908dfeb6aeb6d407e5a5eacdfc253a40c2d195f5867ed2d1d46ea957" | ||
32 | 31 | ||
33 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 | 32 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 |
34 | ARM_INSTRUCTION_SET = "arm" | 33 | ARM_INSTRUCTION_SET = "arm" |
@@ -64,7 +63,6 @@ PACKAGECONFIG[libvorbis] = "--enable-libvorbis,--disable-libvorbis,libvorbis" | |||
64 | PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz" | 63 | PACKAGECONFIG[lzma] = "--enable-lzma,--disable-lzma,xz" |
65 | PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame" | 64 | PACKAGECONFIG[mp3lame] = "--enable-libmp3lame,--disable-libmp3lame,lame" |
66 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" | 65 | PACKAGECONFIG[openssl] = "--enable-openssl,--disable-openssl,openssl" |
67 | PACKAGECONFIG[schroedinger] = "--enable-libschroedinger,--disable-libschroedinger,schroedinger" | ||
68 | PACKAGECONFIG[sdl2] = "--enable-sdl2,--disable-sdl2,virtual/libsdl2" | 66 | PACKAGECONFIG[sdl2] = "--enable-sdl2,--disable-sdl2,virtual/libsdl2" |
69 | PACKAGECONFIG[speex] = "--enable-libspeex,--disable-libspeex,speex" | 67 | PACKAGECONFIG[speex] = "--enable-libspeex,--disable-libspeex,speex" |
70 | PACKAGECONFIG[theora] = "--enable-libtheora,--disable-libtheora,libtheora" | 68 | PACKAGECONFIG[theora] = "--enable-libtheora,--disable-libtheora,libtheora" |