merge of '0c94e8c9c404fc1fc036b1618c97f2b818f86020'
[vuplus_openembedded] / packages / gstreamer / gst-plugins.inc
1 DESCRIPTION = "Plugins for GStreamer"
2 SECTION = "multimedia"
3 PRIORITY = "optional"
4 DEPENDS = "gstreamer libmikmod libmad liboil libogg tremor libvorbis libid3tag esound"
5
6 PACKAGES_DYNAMIC = "gst-plugin-*"
7
8 # until we have decided for a final naming scheme,
9 # keep using version 0.8
10 DEFAULT_PREFERENCE = "-1"
11
12 inherit autotools pkgconfig 
13
14 SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
15
16 EXTRA_OECONF = "--disable-aalib --disable-shout2 --disable-sdl"
17
18 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
19
20 LIBV = "0.10"
21
22 python populate_packages_prepend () {
23         gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
24         postinst = bb.data.getVar('plugin_postinst', d, 1)
25
26         do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst)
27         do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
28 }
29
30 #do_stage() {
31 #       autotools_stage_all
32 #}
33
34 ALLOW_EMPTY = "1"