diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-19 11:41:16 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-20 11:57:29 +0000 |
commit | 5ecb96d56f698039bbc58519400ef5be0e2cbf22 (patch) | |
tree | 613a3fb8ea77f411c6db12bea8f57825a44d4b00 /meta/recipes-multimedia/ffmpeg | |
parent | 725ceea724817c9eb77a7391499f0a0fe9e1fb43 (diff) | |
download | poky-5ecb96d56f698039bbc58519400ef5be0e2cbf22.tar.gz |
ffmpeg: upgrade 4.4.1 -> 5.0
libavresample has been removed; libswresample is the replacement.
(From OE-Core rev: 5555bca01750024a786a1f78d573d02f12b45686)
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/ffmpeg')
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch | 21 | ||||
-rw-r--r-- | meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb (renamed from meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb) | 9 |
2 files changed, 20 insertions, 10 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch index 2b4ca0e9b9..7d0a06f85b 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg/0001-libavutil-include-assembly-with-full-path-from-sourc.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 24a58d70cbb3997e471366bd5afe54be9007bfb1 Mon Sep 17 00:00:00 2001 | 1 | From 4a891e1eddbf63f32fe769b5bff289f6748abf45 Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 10 Nov 2020 15:32:14 +0000 | 3 | Date: Tue, 10 Nov 2020 15:32:14 +0000 |
4 | Subject: [PATCH] libavutil: include assembly with full path from source root | 4 | Subject: [PATCH] libavutil: include assembly with full path from source root |
@@ -6,8 +6,9 @@ Subject: [PATCH] libavutil: include assembly with full path from source root | |||
6 | Otherwise nasm writes the full host-specific paths into .o | 6 | Otherwise nasm writes the full host-specific paths into .o |
7 | output, which breaks binary reproducibility. | 7 | output, which breaks binary reproducibility. |
8 | 8 | ||
9 | Upstream-Status: Submitted [by email to jamrial@gmail.com,ffmpeg-devel@ffmpeg.org] | 9 | Upstream-Status: Submitted [http://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/291781.html] |
10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
11 | |||
11 | --- | 12 | --- |
12 | libavutil/x86/cpuid.asm | 2 +- | 13 | libavutil/x86/cpuid.asm | 2 +- |
13 | libavutil/x86/emms.asm | 2 +- | 14 | libavutil/x86/emms.asm | 2 +- |
@@ -15,7 +16,8 @@ Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | |||
15 | libavutil/x86/float_dsp.asm | 2 +- | 16 | libavutil/x86/float_dsp.asm | 2 +- |
16 | libavutil/x86/lls.asm | 2 +- | 17 | libavutil/x86/lls.asm | 2 +- |
17 | libavutil/x86/pixelutils.asm | 2 +- | 18 | libavutil/x86/pixelutils.asm | 2 +- |
18 | 6 files changed, 6 insertions(+), 6 deletions(-) | 19 | libavutil/x86/tx_float.asm | 2 +- |
20 | 7 files changed, 7 insertions(+), 7 deletions(-) | ||
19 | 21 | ||
20 | diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm | 22 | diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm |
21 | index c3f7866..766f77f 100644 | 23 | index c3f7866..766f77f 100644 |
@@ -95,3 +97,16 @@ index 36c57c5..8b45ead 100644 | |||
95 | 97 | ||
96 | SECTION .text | 98 | SECTION .text |
97 | 99 | ||
100 | diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm | ||
101 | index 4d2283f..ea39f21 100644 | ||
102 | --- a/libavutil/x86/tx_float.asm | ||
103 | +++ b/libavutil/x86/tx_float.asm | ||
104 | @@ -29,7 +29,7 @@ | ||
105 | ; replace some shuffles with vblends? | ||
106 | ; avx512 split-radix | ||
107 | |||
108 | -%include "x86util.asm" | ||
109 | +%include "libavutil/x86/x86util.asm" | ||
110 | |||
111 | %if ARCH_X86_64 | ||
112 | %define ptr resq | ||
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb index 3ba07c31d6..4ba5ff4537 100644 --- a/meta/recipes-multimedia/ffmpeg/ffmpeg_4.4.1.bb +++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_5.0.bb | |||
@@ -11,7 +11,6 @@ LICENSE:libavcodec = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LG | |||
11 | LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | 11 | LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" |
12 | LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | 12 | LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" |
13 | LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | 13 | LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" |
14 | LICENSE:libavresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | ||
15 | LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | 14 | LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" |
16 | LICENSE:libpostproc = "GPLv2+" | 15 | LICENSE:libpostproc = "GPLv2+" |
17 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" | 16 | LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" |
@@ -26,7 +25,7 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \ | |||
26 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ | 25 | SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ |
27 | file://0001-libavutil-include-assembly-with-full-path-from-sourc.patch \ | 26 | file://0001-libavutil-include-assembly-with-full-path-from-sourc.patch \ |
28 | " | 27 | " |
29 | SRC_URI[sha256sum] = "eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02" | 28 | SRC_URI[sha256sum] = "51e919f7d205062c0fd4fae6243a84850391115104ccf1efc451733bc0ac7298" |
30 | 29 | ||
31 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 | 30 | # Build fails when thumb is enabled: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7717 |
32 | ARM_INSTRUCTION_SET:armv4 = "arm" | 31 | ARM_INSTRUCTION_SET:armv4 = "arm" |
@@ -41,7 +40,7 @@ DEPENDS = "nasm-native" | |||
41 | 40 | ||
42 | inherit autotools pkgconfig | 41 | inherit autotools pkgconfig |
43 | 42 | ||
44 | PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \ | 43 | PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc \ |
45 | alsa bzlib lzma pic pthreads shared theora zlib \ | 44 | alsa bzlib lzma pic pthreads shared theora zlib \ |
46 | ${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', '', d)} \ | 45 | ${@bb.utils.contains('AVAILTUNES', 'mips32r2', 'mips32r2', '', d)} \ |
47 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}" | 46 | ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'xv xcb', '', d)}" |
@@ -54,7 +53,6 @@ PACKAGECONFIG[avformat] = "--enable-avformat,--disable-avformat" | |||
54 | PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample" | 53 | PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample" |
55 | PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale" | 54 | PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale" |
56 | PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc" | 55 | PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc" |
57 | PACKAGECONFIG[avresample] = "--enable-avresample,--disable-avresample" | ||
58 | 56 | ||
59 | # features to support | 57 | # features to support |
60 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | 58 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |
@@ -153,7 +151,6 @@ PACKAGES =+ "libavcodec \ | |||
153 | libavdevice \ | 151 | libavdevice \ |
154 | libavfilter \ | 152 | libavfilter \ |
155 | libavformat \ | 153 | libavformat \ |
156 | libavresample \ | ||
157 | libavutil \ | 154 | libavutil \ |
158 | libpostproc \ | 155 | libpostproc \ |
159 | libswresample \ | 156 | libswresample \ |
@@ -163,7 +160,6 @@ FILES:libavcodec = "${libdir}/libavcodec${SOLIBS}" | |||
163 | FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}" | 160 | FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}" |
164 | FILES:libavfilter = "${libdir}/libavfilter${SOLIBS}" | 161 | FILES:libavfilter = "${libdir}/libavfilter${SOLIBS}" |
165 | FILES:libavformat = "${libdir}/libavformat${SOLIBS}" | 162 | FILES:libavformat = "${libdir}/libavformat${SOLIBS}" |
166 | FILES:libavresample = "${libdir}/libavresample${SOLIBS}" | ||
167 | FILES:libavutil = "${libdir}/libavutil${SOLIBS}" | 163 | FILES:libavutil = "${libdir}/libavutil${SOLIBS}" |
168 | FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}" | 164 | FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}" |
169 | FILES:libswresample = "${libdir}/libswresample${SOLIBS}" | 165 | FILES:libswresample = "${libdir}/libswresample${SOLIBS}" |
@@ -175,7 +171,6 @@ INSANE_SKIP:${MLPREFIX}libavdevice = "textrel" | |||
175 | INSANE_SKIP:${MLPREFIX}libavfilter = "textrel" | 171 | INSANE_SKIP:${MLPREFIX}libavfilter = "textrel" |
176 | INSANE_SKIP:${MLPREFIX}libavformat = "textrel" | 172 | INSANE_SKIP:${MLPREFIX}libavformat = "textrel" |
177 | INSANE_SKIP:${MLPREFIX}libavutil = "textrel" | 173 | INSANE_SKIP:${MLPREFIX}libavutil = "textrel" |
178 | INSANE_SKIP:${MLPREFIX}libavresample = "textrel" | ||
179 | INSANE_SKIP:${MLPREFIX}libswscale = "textrel" | 174 | INSANE_SKIP:${MLPREFIX}libswscale = "textrel" |
180 | INSANE_SKIP:${MLPREFIX}libswresample = "textrel" | 175 | INSANE_SKIP:${MLPREFIX}libswresample = "textrel" |
181 | INSANE_SKIP:${MLPREFIX}libpostproc = "textrel" | 176 | INSANE_SKIP:${MLPREFIX}libpostproc = "textrel" |