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