2 DESCRIPTION = "Plugins for GStreamer"
3 DEPENDS = "gstreamer libmikmod liboil libogg tremor libvorbis libid3tag"
4 DEPENDS += "${@base_conditional('ENTERPRISE_DISTRO', '1', '', 'libmad libid3tag', d)}"
5 DEPENDS += "${@base_conditional('DISTRO', 'opendreambox', '', 'libmad neon flac libmatroska', d)}"
7 PACKAGES_DYNAMIC = "gst-plugin-*"
9 SRC_URI = "http://gstreamer.freedesktop.org/src/${PN}/${PN}-${PV}.tar.bz2"
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"
14 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
16 OE_LT_RPATH_ALLOW = "any"
17 OE_LT_RPATH_ALLOW[export]="1"
21 python populate_packages_prepend () {
22 gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
23 postinst = bb.data.getVar('plugin_postinst', d, 1)
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='')
31 FILES_${PN}-dbg += "${libdir}/gstreamer-${LIBV}/.debug"