diff options
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins.inc')
-rw-r--r-- | meta/recipes-multimedia/gstreamer/gst-plugins.inc | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/meta/recipes-multimedia/gstreamer/gst-plugins.inc b/meta/recipes-multimedia/gstreamer/gst-plugins.inc new file mode 100644 index 0000000000..f7f0a2d7c5 --- /dev/null +++ b/meta/recipes-multimedia/gstreamer/gst-plugins.inc | |||
@@ -0,0 +1,33 @@ | |||
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 | python populate_packages_prepend () { | ||
24 | gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d) | ||
25 | postinst = bb.data.getVar('plugin_postinst', d, 1) | ||
26 | |||
27 | # Can't package separate debug packages yet | ||
28 | # 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) | ||
29 | 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)) | ||
30 | 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)) | ||
31 | } | ||
32 | |||
33 | ALLOW_EMPTY = "1" | ||