merge of '178eac00dc5aa8338d42e8e203633bec7817bbf6'
[vuplus_openembedded] / packages / gstreamer / gst-plugins.inc
1 require gst-common.inc
2 DESCRIPTION = "Plugins for GStreamer"
3 DEPENDS = "gstreamer libmikmod libmad liboil libogg tremor libvorbis libid3tag esound"
4
5 PACKAGES_DYNAMIC = "gst-plugin-*"
6
7 SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
8
9 EXTRA_OECONF = "--disable-aalib --disable-shout2 --disable-sdl --disable-cdaudio --x-includes=${STAGING_INCDIR} --x-libraries=${STAGING_LIBDIR} "
10
11 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
12
13 OE_LT_RPATH_ALLOW = "any"
14 OE_LT_RPATH_ALLOW[export]="1"
15
16 LIBV = "0.10"
17
18 python populate_packages_prepend () {
19         gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
20         postinst = bb.data.getVar('plugin_postinst', d, 1)
21
22         do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst)
23         do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
24 }
25
26 ALLOW_EMPTY = "1"
27
28 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"
29