summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/ffmpeg
diff options
context:
space:
mode:
authorAlexander Kanavin <alex.kanavin@gmail.com>2022-01-19 11:41:16 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2022-01-20 11:57:29 +0000
commit5ecb96d56f698039bbc58519400ef5be0e2cbf22 (patch)
tree613a3fb8ea77f411c6db12bea8f57825a44d4b00 /meta/recipes-multimedia/ffmpeg
parent725ceea724817c9eb77a7391499f0a0fe9e1fb43 (diff)
downloadpoky-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.patch21
-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 @@
1From 24a58d70cbb3997e471366bd5afe54be9007bfb1 Mon Sep 17 00:00:00 2001 1From 4a891e1eddbf63f32fe769b5bff289f6748abf45 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com> 2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Tue, 10 Nov 2020 15:32:14 +0000 3Date: Tue, 10 Nov 2020 15:32:14 +0000
4Subject: [PATCH] libavutil: include assembly with full path from source root 4Subject: [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
6Otherwise nasm writes the full host-specific paths into .o 6Otherwise nasm writes the full host-specific paths into .o
7output, which breaks binary reproducibility. 7output, which breaks binary reproducibility.
8 8
9Upstream-Status: Submitted [by email to jamrial@gmail.com,ffmpeg-devel@ffmpeg.org] 9Upstream-Status: Submitted [http://ffmpeg.org/pipermail/ffmpeg-devel/2022-January/291781.html]
10Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> 10Signed-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
20diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm 22diff --git a/libavutil/x86/cpuid.asm b/libavutil/x86/cpuid.asm
21index c3f7866..766f77f 100644 23index c3f7866..766f77f 100644
@@ -95,3 +97,16 @@ index 36c57c5..8b45ead 100644
95 97
96 SECTION .text 98 SECTION .text
97 99
100diff --git a/libavutil/x86/tx_float.asm b/libavutil/x86/tx_float.asm
101index 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
11LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" 11LICENSE:libavdevice = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
12LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" 12LICENSE:libavfilter = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
13LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" 13LICENSE:libavformat = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
14LICENSE:libavresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
15LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" 14LICENSE:libavutil = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
16LICENSE:libpostproc = "GPLv2+" 15LICENSE:libpostproc = "GPLv2+"
17LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}" 16LICENSE:libswresample = "${@bb.utils.contains('PACKAGECONFIG', 'gpl', 'GPLv2+', 'LGPLv2.1+', d)}"
@@ -26,7 +25,7 @@ LIC_FILES_CHKSUM = "file://COPYING.GPLv2;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
26SRC_URI = "https://www.ffmpeg.org/releases/${BP}.tar.xz \ 25SRC_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 "
29SRC_URI[sha256sum] = "eadbad9e9ab30b25f5520fbfde99fae4a92a1ae3c0257a8d68569a4651e30e02" 28SRC_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
32ARM_INSTRUCTION_SET:armv4 = "arm" 31ARM_INSTRUCTION_SET:armv4 = "arm"
@@ -41,7 +40,7 @@ DEPENDS = "nasm-native"
41 40
42inherit autotools pkgconfig 41inherit autotools pkgconfig
43 42
44PACKAGECONFIG ??= "avdevice avfilter avcodec avformat swresample swscale postproc avresample \ 43PACKAGECONFIG ??= "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"
54PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample" 53PACKAGECONFIG[swresample] = "--enable-swresample,--disable-swresample"
55PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale" 54PACKAGECONFIG[swscale] = "--enable-swscale,--disable-swscale"
56PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc" 55PACKAGECONFIG[postproc] = "--enable-postproc,--disable-postproc"
57PACKAGECONFIG[avresample] = "--enable-avresample,--disable-avresample"
58 56
59# features to support 57# features to support
60PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" 58PACKAGECONFIG[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}"
163FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}" 160FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}"
164FILES:libavfilter = "${libdir}/libavfilter${SOLIBS}" 161FILES:libavfilter = "${libdir}/libavfilter${SOLIBS}"
165FILES:libavformat = "${libdir}/libavformat${SOLIBS}" 162FILES:libavformat = "${libdir}/libavformat${SOLIBS}"
166FILES:libavresample = "${libdir}/libavresample${SOLIBS}"
167FILES:libavutil = "${libdir}/libavutil${SOLIBS}" 163FILES:libavutil = "${libdir}/libavutil${SOLIBS}"
168FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}" 164FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}"
169FILES:libswresample = "${libdir}/libswresample${SOLIBS}" 165FILES:libswresample = "${libdir}/libswresample${SOLIBS}"
@@ -175,7 +171,6 @@ INSANE_SKIP:${MLPREFIX}libavdevice = "textrel"
175INSANE_SKIP:${MLPREFIX}libavfilter = "textrel" 171INSANE_SKIP:${MLPREFIX}libavfilter = "textrel"
176INSANE_SKIP:${MLPREFIX}libavformat = "textrel" 172INSANE_SKIP:${MLPREFIX}libavformat = "textrel"
177INSANE_SKIP:${MLPREFIX}libavutil = "textrel" 173INSANE_SKIP:${MLPREFIX}libavutil = "textrel"
178INSANE_SKIP:${MLPREFIX}libavresample = "textrel"
179INSANE_SKIP:${MLPREFIX}libswscale = "textrel" 174INSANE_SKIP:${MLPREFIX}libswscale = "textrel"
180INSANE_SKIP:${MLPREFIX}libswresample = "textrel" 175INSANE_SKIP:${MLPREFIX}libswresample = "textrel"
181INSANE_SKIP:${MLPREFIX}libpostproc = "textrel" 176INSANE_SKIP:${MLPREFIX}libpostproc = "textrel"