Signed-off-by: Andreas Oberritter <[email protected]>
---
 recipes/tremor/tremor/pkgconfig.patch |   22 ++++++++++++++++++++++
 recipes/tremor/tremor_20041119.bb     |    9 ++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)
 create mode 100644 recipes/tremor/tremor/pkgconfig.patch

diff --git a/recipes/tremor/tremor/pkgconfig.patch 
b/recipes/tremor/tremor/pkgconfig.patch
new file mode 100644
index 0000000..f864cb8
--- /dev/null
+++ b/recipes/tremor/tremor/pkgconfig.patch
@@ -0,0 +1,22 @@
+--- Tremor/configure.in        2006-09-03 01:19:30.000000000 +0200
++++ Tremor-fixed/configure.in  2006-09-03 12:13:33.339593728 +0200
+@@ -106,4 +106,4 @@
+ AC_SUBST(DEBUG)
+ AC_SUBST(PROFILE)
+ 
+-AC_OUTPUT(Makefile)
++AC_OUTPUT([Makefile vorbisidec.pc])
+--- Tremor/vorbisidec.pc.in    1970-01-01 01:00:00.000000000 +0100
++++ Tremor-fixed/vorbisidec.pc.in      2006-09-03 12:16:38.313473424 +0200
+@@ -0,0 +1,11 @@
++pref...@prefix@
++exec_pref...@exec_prefix@
++libd...@libdir@
++included...@includedir@
++
++Name: vorbisidec
++Description: Vorbis audio decoder
++Requires:
++Version: 20041119
++Libs: -L${libdir} -lvorbisidec
++Cflags: -I${includedir}
diff --git a/recipes/tremor/tremor_20041119.bb 
b/recipes/tremor/tremor_20041119.bb
index 889b981..42155ab 100644
--- a/recipes/tremor/tremor_20041119.bb
+++ b/recipes/tremor/tremor_20041119.bb
@@ -4,16 +4,19 @@ DEPENDS = "libogg"
 DESCRIPTION = "tremor is a fixed point implementation of the vorbis codec."
 LICENSE = "BSD"
 SRCDATE = "${PV}"
-PR = "r1"
+PR = "r2"
 
 # tremor makes heavy use of non-thumb-compatible inline asm.
 ARM_INSTRUCTION_SET = "arm"
 
-SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=4573;proto=http"
+PROVIDES += "libvorbisidec"
+
+SRC_URI = "svn://svn.xiph.org/trunk;module=Tremor;rev=4573;proto=http \
+       file://pkgconfig.patch"
 
 S = "${WORKDIR}/Tremor"
 
-inherit autotools
+inherit autotools pkgconfig
 
 EXTRA_OECONF=" --enable-shared --disable-rpath  "
 
-- 
1.7.1


_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to