diff options
Diffstat (limited to 'meta/packages/libogg')
-rw-r--r-- | meta/packages/libogg/libogg/m4.patch | 11 | ||||
-rw-r--r-- | meta/packages/libogg/libogg_1.1.bb | 19 |
2 files changed, 30 insertions, 0 deletions
diff --git a/meta/packages/libogg/libogg/m4.patch b/meta/packages/libogg/libogg/m4.patch new file mode 100644 index 0000000000..66239f4f68 --- /dev/null +++ b/meta/packages/libogg/libogg/m4.patch | |||
@@ -0,0 +1,11 @@ | |||
1 | --- libogg-1.1/ogg.m4.orig 2003-03-08 03:44:29 +0100 | ||
2 | +++ libogg-1.1/ogg.m4 2004-08-12 11:26:46 +0200 | ||
3 | @@ -5,7 +5,7 @@ | ||
4 | dnl XIPH_PATH_OGG([ACTION-IF-FOUND [, ACTION-IF-NOT-FOUND]]) | ||
5 | dnl Test for libogg, and define OGG_CFLAGS and OGG_LIBS | ||
6 | dnl | ||
7 | -AC_DEFUN(XIPH_PATH_OGG, | ||
8 | +AC_DEFUN([XIPH_PATH_OGG], | ||
9 | [dnl | ||
10 | dnl Get the cflags and libraries | ||
11 | dnl | ||
diff --git a/meta/packages/libogg/libogg_1.1.bb b/meta/packages/libogg/libogg_1.1.bb new file mode 100644 index 0000000000..687b4decec --- /dev/null +++ b/meta/packages/libogg/libogg_1.1.bb | |||
@@ -0,0 +1,19 @@ | |||
1 | SECTION = "libs" | ||
2 | DESCRIPTION = "libogg is the bitstream and framing library \ | ||
3 | for the Ogg project. It provides functions which are \ | ||
4 | necessary to codec libraries like libvorbis." | ||
5 | LICENSE = "BSD" | ||
6 | PR = "r3" | ||
7 | |||
8 | SRC_URI = "http://www.vorbis.com/files/1.0.1/unix/libogg-${PV}.tar.gz \ | ||
9 | file://m4.patch;patch=1" | ||
10 | |||
11 | inherit autotools pkgconfig | ||
12 | |||
13 | do_stage () { | ||
14 | oe_libinstall -a -so -C src libogg ${STAGING_LIBDIR} | ||
15 | |||
16 | install -d ${STAGING_INCDIR}/ogg | ||
17 | (cd ${S}/include/ogg; cp config_types.h ogg.h os_types.h ${STAGING_INCDIR}/ogg/) | ||
18 | install -m 0644 ${S}/ogg.m4 ${STAGING_DATADIR}/aclocal/ | ||
19 | } | ||