diff options
| author | Chris Lord <chris@openedhand.com> | 2006-09-01 18:01:05 +0000 |
|---|---|---|
| committer | Chris Lord <chris@openedhand.com> | 2006-09-01 18:01:05 +0000 |
| commit | f1f8c5a6a7234a7b618f98efbb3d28e414890fa9 (patch) | |
| tree | c102f2cf6c35a43ba5591eb4f53e01f97408653b /meta/packages/libvorbis | |
| parent | b89a8f8820c5322ed060e74bfae6181fb1602251 (diff) | |
| download | poky-f1f8c5a6a7234a7b618f98efbb3d28e414890fa9.tar.gz | |
Add gstreamer 0.10 - Mostly packages from OE + updates and gstreamer
binary registry patch
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@694 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/libvorbis')
| -rw-r--r-- | meta/packages/libvorbis/libvorbis/m4.patch | 11 | ||||
| -rw-r--r-- | meta/packages/libvorbis/libvorbis_1.0.1.bb | 32 |
2 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/libvorbis/libvorbis/m4.patch b/meta/packages/libvorbis/libvorbis/m4.patch new file mode 100644 index 0000000000..797a6b62a5 --- /dev/null +++ b/meta/packages/libvorbis/libvorbis/m4.patch | |||
| @@ -0,0 +1,11 @@ | |||
| 1 | --- libvorbis-1.0.1/vorbis.m4.orig 2002-08-14 20:25:39 +0200 | ||
| 2 | +++ libvorbis-1.0.1/vorbis.m4 2004-08-12 12:58:13 +0200 | ||
| 3 | @@ -6,7 +6,7 @@ | ||
| 4 | dnl XIPH_PATH_VORBIS([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) | ||
| 5 | dnl Test for libvorbis, and define VORBIS_CFLAGS and VORBIS_LIBS | ||
| 6 | dnl | ||
| 7 | -AC_DEFUN(XIPH_PATH_VORBIS, | ||
| 8 | +AC_DEFUN([XIPH_PATH_VORBIS], | ||
| 9 | [dnl | ||
| 10 | dnl Get the cflags and libraries | ||
| 11 | dnl | ||
diff --git a/meta/packages/libvorbis/libvorbis_1.0.1.bb b/meta/packages/libvorbis/libvorbis_1.0.1.bb new file mode 100644 index 0000000000..8a2d17a0ad --- /dev/null +++ b/meta/packages/libvorbis/libvorbis_1.0.1.bb | |||
| @@ -0,0 +1,32 @@ | |||
| 1 | SECTION = "libs" | ||
| 2 | DEPENDS = "libogg" | ||
| 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." | ||
| 6 | LICENSE = "BSD" | ||
| 7 | PR = "r2" | ||
| 8 | |||
| 9 | SRC_URI = "http://www.vorbis.com/files/${PV}/unix/libvorbis-${PV}.tar.gz \ | ||
| 10 | file://m4.patch;patch=1" | ||
| 11 | |||
| 12 | inherit autotools pkgconfig | ||
| 13 | |||
| 14 | # vorbisfile.c reveals a problem in the gcc register spilling for the | ||
| 15 | # thumb instruction set... | ||
| 16 | FULL_OPTIMIZATION_thumb = "-O0" | ||
| 17 | |||
| 18 | EXTRA_OECONF = "--with-ogg-libraries=${STAGING_LIBDIR} \ | ||
| 19 | --with-ogg-includes=${STAGING_INCDIR}" | ||
| 20 | |||
| 21 | do_stage () { | ||
| 22 | oe_libinstall -a -so -C lib libvorbis ${STAGING_LIBDIR} | ||
| 23 | oe_libinstall -a -so -C lib libvorbisfile ${STAGING_LIBDIR} | ||
| 24 | oe_libinstall -a -so -C lib libvorbisenc ${STAGING_LIBDIR} | ||
| 25 | |||
| 26 | install -d ${STAGING_INCDIR}/vorbis | ||
| 27 | install -m 0644 include/vorbis/vorbisenc.h \ | ||
| 28 | include/vorbis/vorbisfile.h \ | ||
| 29 | include/vorbis/codec.h ${STAGING_INCDIR}/vorbis/ | ||
| 30 | install -d ${STAGING_DATADIR}/aclocal | ||
| 31 | install -m 0644 vorbis.m4 ${STAGING_DATADIR}/aclocal/ | ||
| 32 | } | ||
