summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2011-03-17 21:41:22 +0100
commitc58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch)
tree3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc
parenteec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff)
downloadmeta-openembedded-c58cc7d3796dcee6e93885c835ed04cb566abeb2.tar.gz
move layer into meta-oe in preparation for future splits
As per TSC decision Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc')
-rw-r--r--meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc41
1 files changed, 41 insertions, 0 deletions
diff --git a/meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc b/meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc
new file mode 100644
index 000000000..cd3e0a0a9
--- /dev/null
+++ b/meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc
@@ -0,0 +1,41 @@
1DESCRIPTION = "Plugins for GStreamer"
2HOMEPAGE = "http://gstreamer.freedesktop.org/"
3BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer"
4SECTION = "multimedia"
5PRIORITY = "optional"
6DEPENDS = "gstreamer"
7
8inherit autotools pkgconfig
9
10SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
11
12EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples "
13
14acpaths = "-I ${S}/common/m4 -I ${S}/m4"
15
16LIBV = "0.10"
17#FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so"
18#FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a"
19FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
20
21PACKAGES_DYNAMIC = "${PN}-*"
22
23# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,
24# resulting in /usr/bin/orcc. Force it to use the staged orcc.
25do_configure_append() {
26 for i in $(find ${S} -name "Makefile") ; do
27 sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i
28 done
29}
30
31python populate_packages_prepend () {
32 gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
33 postinst = bb.data.getVar('plugin_postinst', d, 1)
34
35# Can't package separate debug packages yet
36# 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)
37 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))
38 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))
39}
40
41ALLOW_EMPTY = "1"