diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-07-28 11:44:57 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-08 13:41:19 +0100 |
commit | 2ac54c45196ae1409f60f0cc314208a0c422660b (patch) | |
tree | 59fbcdad7bd1d34afb471253fc2e5f0ce0e60db4 /meta/recipes-multimedia/gstreamer/gst-plugins.inc | |
parent | 35fa8dc5f7da90fdd40091a3c3600d3fcd232922 (diff) | |
download | poky-2ac54c45196ae1409f60f0cc314208a0c422660b.tar.gz |
gst-plugins: partially sync packaging with OE .dev
Gst-plugins get 2 extra packages:
${PN}-apps: helper apps in ${bindir}
${PN}-meta: meta package that will drag in all plugins, libs and apps ${PN} generates
And all libs are split out and run through debian style renaming if enabled.
The packaging include was split out to be reused by external plugins (e.g. gst-plugin-gl, gst-fluendo-*).
The new package list looks like:
libgstapp-0.10-0_0.10.32-r1_armv7a.ipk
libgstfft-0.10-0_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-videorate_0.10.32-r1_armv7a.ipk
gst-plugins-base-videoscale_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-meta_0.10.32-r1_armv7a.ipk
[..]
gst-plugins-base-apps_0.10.32-r1_armv7a.ipk
(From OE-Core rev: 4bfd595934c1f6839ae848b09ecca439d92bf014)
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins.inc | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc index ad6c3a4cf6..b23d399349 100644 --- a/meta/recipes-multimedia/gstreamer/gst-plugins.inc +++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc | |||
@@ -14,13 +14,6 @@ EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples " | |||
14 | 14 | ||
15 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | 15 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" |
16 | 16 | ||
17 | LIBV = "0.10" | ||
18 | #FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so" | ||
19 | #FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a" | ||
20 | FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" | ||
21 | |||
22 | PACKAGES_DYNAMIC = "${PN}-*" | ||
23 | |||
24 | # orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc, | 17 | # orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc, |
25 | # resulting in /usr/bin/orcc. Force it to use the staged orcc. | 18 | # resulting in /usr/bin/orcc. Force it to use the staged orcc. |
26 | do_configure_append() { | 19 | do_configure_append() { |
@@ -29,14 +22,7 @@ do_configure_append() { | |||
29 | done | 22 | done |
30 | } | 23 | } |
31 | 24 | ||
32 | python populate_packages_prepend () { | 25 | require gst-plugins-package.inc |
33 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) | ||
34 | postinst = bb.data.getVar('plugin_postinst', d, 1) | ||
35 | 26 | ||
36 | # Can't package separate debug packages yet | 27 | PACKAGES_DYNAMIC = "${PN}-*" |
37 | # do_split_packages(d, gst_libdir, '\.debug/libgst(.*)\.so$', bb.data.expand('${PN}-%s-dbg', d), 'GStreamer plugin for %s (with debugging symbols)', recursive=True, extra_depends=bb.data.expand('${PN}-dbg', d), match_path=True) | ||
38 | do_split_packages(d, gst_libdir, 'libgst(.*)\.so$', bb.data.expand('${PN}-%s', d), 'GStreamer plugin for %s', postinst=postinst, extra_depends=bb.data.expand('${PN}',d)) | ||
39 | do_split_packages(d, gst_libdir, 'libgst(.*)\.l?a$', bb.data.expand('${PN}-%s-dev', d), 'GStreamer plugin for %s (development files)', extra_depends=bb.data.expand('${PN}-dev',d)) | ||
40 | } | ||
41 | 28 | ||
42 | ALLOW_EMPTY = "1" | ||