2f742e660138a53812ae104078f0c497f2a6635a
[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 = "r1"
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
15
16 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
17
18 LIBV = "0.8"
19
20 python populate_packages_prepend () {
21         gst_libdir = oe.data.expand('${libdir}/gstreamer-${LIBV}', d)
22
23         do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s')
24         do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
25 }
26
27 do_stage() {
28         install -d ${STAGING_INCDIR}/gstreamer-0.8/gst/gconf/
29         install -m 0644 gst-libs/gst/gconf/gconf.h ${STAGING_INCDIR}/gstreamer-0.8/gst/gconf/
30         oe_libinstall -C gst-libs/gst/gconf -so libgstgconf-0.8 ${STAGING_LIBDIR}
31 }