public inbox for openembedded-core@lists.openembedded.org
 help / color / mirror / Atom feed
* [PATCH] ffmpeg: Package example files in ffmpeg-examples
@ 2024-08-27  9:02 olani
  2024-10-27 17:19 ` [OE-core] " Martin Jansa
  0 siblings, 1 reply; 3+ messages in thread
From: olani @ 2024-08-27  9:02 UTC (permalink / raw)
  To: openembedded-core; +Cc: olani

From: Ola x Nilsson <olani@axis.com>

The most future proof way to not always ship the example files is to
package them separately.

Signed-off-by: Ola x Nilsson <olani@axis.com>
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
index fe34b87ccf..55313cc583 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_6.1.1.bb
@@ -170,7 +170,8 @@ PACKAGES =+ "libavcodec \
              libavutil \
              libpostproc \
              libswresample \
-             libswscale"
+             libswscale \
+             ${PN}-examples"
 
 FILES:libavcodec = "${libdir}/libavcodec${SOLIBS}"
 FILES:libavdevice = "${libdir}/libavdevice${SOLIBS}"
@@ -180,6 +181,7 @@ FILES:libavutil = "${libdir}/libavutil${SOLIBS}"
 FILES:libpostproc = "${libdir}/libpostproc${SOLIBS}"
 FILES:libswresample = "${libdir}/libswresample${SOLIBS}"
 FILES:libswscale = "${libdir}/libswscale${SOLIBS}"
+FILES:${PN}-examples = "${datadir}/${PN}/examples"
 
 # ffmpeg disables PIC on some platforms (e.g. x86-32)
 INSANE_SKIP:${MLPREFIX}libavcodec = "textrel"
-- 
2.39.2



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-10-28  7:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-27  9:02 [PATCH] ffmpeg: Package example files in ffmpeg-examples olani
2024-10-27 17:19 ` [OE-core] " Martin Jansa
2024-10-28  7:34   ` Ola x Nilsson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox