summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorOla x Nilsson <olani@axis.com>2024-08-27 11:02:12 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2024-09-01 12:28:10 +0100
commitbbc4b561862bb55b47613ee6310732e6771adbe4 (patch)
treeb7de82686b152a54fdde9622a5dc6e34345e3f23 /meta
parent0c0e19a024e32d2105a75a60b4fc21ff9ff8b191 (diff)
downloadpoky-bbc4b561862bb55b47613ee6310732e6771adbe4.tar.gz
ffmpeg: Package example files in ffmpeg-examples
The most future proof way to not always ship the example files is to package them separately. (From OE-Core rev: ee405b4d75ed7361e8fd6220532c4a79b0b6bba6) Signed-off-by: Ola x Nilsson <olani@axis.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
index ce8956578e..1dbb7e04ef 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_7.0.2.bb
@@ -167,7 +167,8 @@ PACKAGES =+ "libavcodec \
167 libavutil \ 167 libavutil \
168 libpostproc \ 168 libpostproc \
169 libswresample \ 169 libswresample \
170 libswscale" 170 libswscale \
171 ${PN}-examples"
171 172
172FILES:libavcodec = "${libdir}/libavcodec${SOLIBS}" 173FILES:libavcodec = "${libdir}/libavcodec${SOLIBS}"
173FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}" 174FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}"
@@ -177,6 +178,7 @@ FILES:libavutil = "${libdir}/libavutil${SOLIBS}"
177FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}" 178FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}"
178FILES:libswresample = "${libdir}/libswresample${SOLIBS}" 179FILES:libswresample = "${libdir}/libswresample${SOLIBS}"
179FILES:libswscale = "${libdir}/libswscale${SOLIBS}" 180FILES:libswscale = "${libdir}/libswscale${SOLIBS}"
181FILES:${PN}-examples = "${datadir}/${PN}/examples"
180 182
181# ffmpeg disables PIC on some platforms (e.g. x86-32) 183# ffmpeg disables PIC on some platforms (e.g. x86-32)
182INSANE_SKIP:${MLPREFIX}libavcodec = "textrel" 184INSANE_SKIP:${MLPREFIX}libavcodec = "textrel"