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