From b015278dc1724fec20f94a6de1074cbef208adda Mon Sep 17 00:00:00 2001 From: Chris Lord Date: Mon, 11 Sep 2006 19:53:06 +0000 Subject: Fix gst-plugin-* depending on gst-plugins-*-dbg git-svn-id: https://svn.o-hand.com/repos/poky/trunk@703 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/gstreamer/gst-plugins.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'meta/packages/gstreamer/gst-plugins.inc') diff --git a/meta/packages/gstreamer/gst-plugins.inc b/meta/packages/gstreamer/gst-plugins.inc index f5e60edb4c..ed04aa473f 100644 --- a/meta/packages/gstreamer/gst-plugins.inc +++ b/meta/packages/gstreamer/gst-plugins.inc @@ -14,13 +14,18 @@ acpaths = "-I ${S}/common/m4 -I ${S}/m4" LIBV = "0.10" PACKAGES_DYNAMIC = "gst-plugin-*" +#FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so" +#FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a" +FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" python populate_packages_prepend () { gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) postinst = bb.data.getVar('plugin_postinst', d, 1) - do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst) - do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)') +# Can't package separate debug packages yet +# do_split_packages(d, gst_libdir, '\.debug/libgst(.*)\.so$', 'gst-plugin-%s-dbg', 'GStreamer plugin for %s (with debugging symbols)', recursive=True, extra_depends=bb.data.expand('${PN}-dbg', d), match_path=True) + do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) + do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) } #do_stage() { -- cgit v1.2.3-54-g00ecf