[oe-commits] Andreas Oberritter : tremor-20041119: Add pkgconfig file, provide libvorbisidec

git version control git at git.openembedded.org
Wed Oct 6 22:35:18 UTC 2010


Module: openembedded.git
Branch: master
Commit: 0d5594975557c6eea0ccdef427a200e9cf71e4e8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=0d5594975557c6eea0ccdef427a200e9cf71e4e8

Author: Andreas Oberritter <obi at opendreambox.org>
Date:   Wed Sep 29 10:36:27 2010 +0000

tremor-20041119: Add pkgconfig file, provide libvorbisidec

Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
Signed-off-by: Khem Raj <raj.khem at gmail.com>

---

 recipes/tremor/tremor/pkgconfig.patch |   22 ++++++++++++++++++++++
 recipes/tremor/tremor_20041119.bb     |    9 ++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)

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 @@
++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}
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  "
 





More information about the Openembedded-commits mailing list