Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] ffmpeg: Add -dbg packages for all libraries
@ 2016-02-12  3:58 Gary Thomas
  2016-02-12  8:17 ` Richard Purdie
  2016-02-12 10:49 ` Burton, Ross
  0 siblings, 2 replies; 12+ messages in thread
From: Gary Thomas @ 2016-02-12  3:58 UTC (permalink / raw)
  To: openembedded-core; +Cc: Gary Thomas

Improve the packaging of the libraries built by this recipe.  These
are created using special code in the recipe and the debug (-dbg)
packages were not being created.  Adding these packages allow the
libraries in question to be debugged using GDB.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
---
 meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.5.bb | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.5.bb b/meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.5.bb
index 7107803..524b5cb 100644
--- a/meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.5.bb
+++ b/meta/recipes-multimedia/ffmpeg/ffmpeg_2.8.5.bb
@@ -75,7 +75,7 @@ do_configure() {
 }
 
 RSUGGESTS_${PN} = "mplayer"
-PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util)|swscale).*"
+PACKAGES_DYNAMIC += "^lib(av(codec|device|filter|format|util)|postproc|swresample|swscale).*"
 
 python populate_packages_prepend() {
     av_libdir = d.expand('${libdir}')
@@ -108,4 +108,12 @@ python populate_packages_prepend() {
                       prepend=True,
                       allow_links=True)
 
+    # Debug packages (-dbg)
+    do_split_packages(d, av_libdir, '^lib(.*)\.so$',
+                      output_pattern='lib%s-dbg',
+                      description='libav %s debug package',
+                      extra_depends='${PN}-dbg',
+                      prepend=True,
+                      allow_links=True)
+
 }
-- 
2.5.0



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

end of thread, other threads:[~2016-02-12 15:36 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-12  3:58 [PATCH] ffmpeg: Add -dbg packages for all libraries Gary Thomas
2016-02-12  8:17 ` Richard Purdie
2016-02-12  8:29   ` Gary Thomas
2016-02-12  8:32     ` Richard Purdie
2016-02-12  8:37       ` Gary Thomas
2016-02-12 10:40         ` Gary Thomas
2016-02-12 10:55           ` Burton, Ross
2016-02-12 10:49 ` Burton, Ross
2016-02-12 11:03   ` Gary Thomas
2016-02-12 11:11     ` Gary Thomas
2016-02-12 11:15       ` Burton, Ross
2016-02-12 15:36         ` Gary Thomas

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