[OE-core] [PATCH] ffmpeg: Add -dbg packages for all libraries
Gary Thomas
gary at mlbassoc.com
Fri Feb 12 03:58:27 UTC 2016
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 at 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
More information about the Openembedded-core
mailing list