summaryrefslogtreecommitdiffstats
path: root/meta/recipes-multimedia/gstreamer/gst-plugins.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-multimedia/gstreamer/gst-plugins.inc')
-rw-r--r--meta/recipes-multimedia/gstreamer/gst-plugins.inc33
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 @@
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
23python 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
33ALLOW_EMPTY = "1"