tremor-20041119: Add pkgconfig file, provide libvorbisidec
authorAndreas Oberritter <obi@opendreambox.org>
Wed, 29 Sep 2010 10:36:27 +0000 (10:36 +0000)
committerKhem Raj <raj.khem@gmail.com>
Wed, 6 Oct 2010 22:31:39 +0000 (15:31 -0700)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
recipes/tremor/tremor/pkgconfig.patch [new file with mode: 0644]
recipes/tremor/tremor_20041119.bb

diff --git a/recipes/tremor/tremor/pkgconfig.patch b/recipes/tremor/tremor/pkgconfig.patch
new file mode 100644 (file)
index 0000000..f864cb8
--- /dev/null
@@ -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 @@
++prefix=@prefix@
++exec_prefix=@exec_prefix@
++libdir=@libdir@
++includedir=@includedir@
++
++Name: vorbisidec
++Description: Vorbis audio decoder
++Requires:
++Version: 20041119
++Libs: -L${libdir} -lvorbisidec
++Cflags: -I${includedir}
index 889b981..42155ab 100644 (file)
@@ -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  "