diff options
author | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
---|---|---|
committer | Koen Kooi <koen@dominion.thruhere.net> | 2011-03-17 21:41:22 +0100 |
commit | c58cc7d3796dcee6e93885c835ed04cb566abeb2 (patch) | |
tree | 3eea4d4ef6a4ef79e0f4e025d7012c1a5cc38835 /meta-oe/recipes-multimedia/gstreamer/gst-plugins.inc | |
parent | eec6ab97f712e06eb52c9f7c99e19ffab3ce9d74 (diff) | |
download | meta-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.inc | 41 |
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 @@ | |||
1 | DESCRIPTION = "Plugins for GStreamer" | ||
2 | HOMEPAGE = "http://gstreamer.freedesktop.org/" | ||
3 | BUGTRACKER = "https://bugzilla.gnome.org/enter_bug.cgi?product=Gstreamer" | ||
4 | SECTION = "multimedia" | ||
5 | PRIORITY = "optional" | ||
6 | DEPENDS = "gstreamer" | ||
7 | |||
8 | inherit autotools pkgconfig | ||
9 | |||
10 | SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2" | ||
11 | |||
12 | EXTRA_OECONF = "--disable-valgrind --disable-debug --disable-examples " | ||
13 | |||
14 | acpaths = "-I ${S}/common/m4 -I ${S}/m4" | ||
15 | |||
16 | LIBV = "0.10" | ||
17 | #FILES_${PN} += "${libdir}/gstreamer-${LIBV}/*.so" | ||
18 | #FILES_${PN}-dev += "${libdir}/gstreamer-${LIBV}/*.la ${libdir}/gstreamer-${LIBV}/*.a" | ||
19 | FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug" | ||
20 | |||
21 | PACKAGES_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. | ||
25 | do_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 | |||
31 | python 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 | |||
41 | ALLOW_EMPTY = "1" | ||