summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/gstreamer/gst-plugins.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-07-28 11:44:57 +0200
committerSaul Wold <sgw@linux.intel.com>2011-08-06 13:40:44 -0700
commit4bfd595934c1f6839ae848b09ecca439d92bf014 (patch)
treeb23dea2bae6077071d6c3f7d36eb4a25340b10e5 /meta/recipes-multimedia/gstreamer/gst-plugins.inc
parentcfcc282efef30ea1988ccbe14835254a999584ea (diff)
downloadopenembedded-core-4bfd595934c1f6839ae848b09ecca439d92bf014.tar.gz
openembedded-core-4bfd595934c1f6839ae848b09ecca439d92bf014.tar.bz2
openembedded-core-4bfd595934c1f6839ae848b09ecca439d92bf014.zip
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 Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins.inc18
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 "
acpaths = "-I ${S}/common/m4 -I ${S}/m4"
-LIBV = "0.10"
-#FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so"
-#FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a"
-FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
-
-PACKAGES_DYNAMIC = "${PN}-*"
-
# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,
# resulting in /usr/bin/orcc. Force it to use the staged orcc.
do_configure_append() {
@@ -29,14 +22,7 @@ do_configure_append() {
done
}
-python populate_packages_prepend () {
- gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
- postinst = bb.data.getVar('plugin_postinst', d, 1)
+require gst-plugins-package.inc
-# Can't package separate debug packages yet
-# 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)
- 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))
- 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))
-}
+PACKAGES_DYNAMIC = "${PN}-*"
-ALLOW_EMPTY = "1"