angstrom: add OABI version for armv4 machines
[openembedded.git] / packages / gstreamer / gst-plugins_0.8.7.bb
1 LICENSE = "GPL"
2 DESCRIPTION = "Plugins for GStreamer"
3 SECTION = "x11/libs"
4 PRIORITY = "optional"
5 PR = "r3"
6
7 DEPENDS = "gstreamer libmikmod libmad libogg tremor libvorbis libid3tag gpe-soundserver gconf"
8
9 SRC_URI = "http://gstreamer.freedesktop.org/src/gst-plugins/gst-plugins-${PV}.tar.bz2 \
10            file://gst-plugins-0.8.7-httpsrc1.patch;patch=1 \
11            file://lame-autoconf.patch;patch=1 \
12            file://try-esdsink.patch;patch=1"
13
14 EXTRA_OECONF = "--disable-docs-build --disable-dependency-tracking --disable-aalib --disable-arts \
15                 --disable-artsc --disable-jack  --disable-libfame --disable-sdl --disable-shout2 \
16                 --disable-gnome_vfs --disable-gconf --disable-libcaca  --disable-directfb \
17                 --disable-cairo"
18
19 inherit autotools pkgconfig gconf
20
21 acpaths = "-I ${S}/common/m4 -I ${S}/m4"
22
23 LIBV = "0.8"
24
25 plugin_postinst() {
26         if [ x"$D" = "x" ]; then
27                 gst-register --gst-registry=/var/cache/gstreamer-0.8/registry.xml
28         fi
29 }
30
31 PACKAGES_DYNAMIC = "gst-plugin-*"
32
33 python populate_packages_prepend () {
34         gst_libdir = bb.data.expand('${libdir}/gstreamer-${LIBV}', d)
35         postinst = bb.data.getVar('plugin_postinst', d, 1)
36
37         do_split_packages(d, gst_libdir, '^libgst(.*)\.so$', 'gst-plugin-%s', 'GStreamer plugin for %s', postinst=postinst)
38         do_split_packages(d, gst_libdir, '^libgst(.*)\.l?a$', 'gst-plugin-%s-dev', 'GStreamer plugin for %s (development files)')
39 }
40
41 do_stage() {
42         autotools_stage_includes
43         while read a b; do
44                 oe_libinstall -C gst-libs/gst/$a -so libgst$b ${STAGING_LIBDIR}
45         done <<EOF
46 . interfaces-0.8
47 audio audio
48 audio audiofilter
49 gconf gconf-0.8
50 idct idct
51 media-info media-info-0.8
52 play play-0.8
53 resample resample
54 riff riff
55 video video
56 xwindowlistener xwindowlistener
57 EOF
58 }