Remove gst-plugins-small (useless).
[vuplus_openembedded] / gstreamer / gst-plugins_0.8.1.oe
1 DESCRIPTION = "Plugins for GStreamer"
2 SECTION = "base"
3 PRIORITY = "optional"
4 MAINTAINER = "Phil Blundell <pb@handhelds.org>"
5 PR = "r3"
6
7 DEPENDS = "gstreamer zlib libmikmod libmad libogg tremor libvorbis libid3tag gnome-vfs esound-gpe"
8
9 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-${PV}.tar.bz2 \
10            file://ivorbis.patch;patch=1"
11
12 EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --disable-aalib --disable-arts --disable-artsc --disable-libfame --disable-sdl"
13
14 inherit autotools pkgconfig gconf
15
16 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
17
18 LIBV = "0.8"
19
20 plugin_postinst() {
21 gst-register --gst-registry=/var/cache/gstreamer-0.8/registry.xml
22 }
23
24 python populate_packages_prepend () {
25         gst_libdir = oe.data.expand('${libdir}/gstreamer-${LIBV}', d)
26         postinst = oe.data.getVar('plugin_postinst', d, 1)
27
28         do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst)
29         do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
30 }
31
32 do_stage() {
33         install -d ${STAGING_INCDIR}/gstreamer-0.8/gst/gconf/
34         install -m 0644 gst-libs/gst/gconf/gconf.h ${STAGING_INCDIR}/gstreamer-0.8/gst/gconf/
35         oe_libinstall -C gst-libs/gst/gconf -so libgstgconf-0.8 ${STAGING_LIBDIR}
36 }