3 DESCRIPTION = "Ogg Vorbis is a high-quality lossy audio codec \
4 that is free of intellectual property restrictions. libvorbis \
5 is the main vorbis codec library."
7 SRC_URI = "http://www.vorbis.com/files/${PV}/unix/libvorbis-${PV}.tar.gz \
8 file://m4.patch;patch=1"
10 inherit autotools pkgconfig
12 # vorbisfile.c reveals a problem in the gcc register spilling for the
13 # thumb instruction set...
14 FULL_OPTIMIZATION_thumb = "-O0"
16 EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \
17 --with-ogg-includes=${STAGING_INCDIR}"
20 oe_libinstall -a -so -C lib libvorbis ${STAGING_LIBDIR}
21 oe_libinstall -a -so -C lib libvorbisfile ${STAGING_LIBDIR}
22 oe_libinstall -a -so -C lib libvorbisenc ${STAGING_LIBDIR}
24 install -d ${STAGING_INCDIR}/vorbis
25 install -m 0644 include/vorbis/vorbisenc.h \
26 include/vorbis/vorbisfile.h \
27 include/vorbis/codec.h ${STAGING_INCDIR}/vorbis/
28 install -d ${STAGING_DATADIR}/aclocal
29 install -m 0644 vorbis.m4 ${STAGING_DATADIR}/aclocal/