[oe-commits] Koen Kooi : pulseaudio: add git version

git version control git at git.openembedded.org
Wed Mar 2 07:32:55 UTC 2011


Module: openembedded.git
Branch: hipox
Commit: 5f6eb6a2050afce92d815c5d6d349a7d29f34aa8
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5f6eb6a2050afce92d815c5d6d349a7d29f34aa8

Author: Koen Kooi <koen at openembedded.org>
Date:   Tue Mar  1 14:14:53 2011 +0100

pulseaudio: add git version

armv4t/armv4t patches were not forward ported, so don't use this on those archs

Signed-off-by: Koen Kooi <koen at openembedded.org>

---

 recipes/pulseaudio/pulseaudio_git.bb |   36 ++++++++++++++++++++++++++++++++++
 1 files changed, 36 insertions(+), 0 deletions(-)

diff --git a/recipes/pulseaudio/pulseaudio_git.bb b/recipes/pulseaudio/pulseaudio_git.bb
new file mode 100644
index 0000000..28c5814
--- /dev/null
+++ b/recipes/pulseaudio/pulseaudio_git.bb
@@ -0,0 +1,36 @@
+require pulseaudio.inc
+
+SRCREV = "f834150aceccd753e3ac5bab9f7d64bed9993624"
+PV = "0.9.22+git"
+PR = "${INC_PR}.0-r${SRCPV}"
+
+DEPENDS += "orc gdbm speex"
+
+DEFAULT_PREFERENCE = "-1"
+
+FILESPATHPKG =. "pulseaudio-0.9.21:"
+
+inherit gettext
+
+SRC_URI = "git://git.0pointer.de/pulseaudio.git;protocol=git \
+           file://gcc4-compile-fix.patch \
+           file://volatiles.04_pulse \
+           file://autoconf_version.patch \
+           file://tls_m4.patch \
+"
+
+S = "${WORKDIR}/git"
+
+do_configure_prepend() {
+	touch config.rpath
+}
+
+# orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,
+# resulting in /usr/bin/orcc. Force it to use the staged orcc.
+do_configure_append() {
+    for i in $(find ${S} -name "Makefile") ; do
+        sed -i -e s:${bindir}/orcc:${STAGING_BINDIR_NATIVE}/orcc:g $i
+    done
+}
+
+





More information about the Openembedded-commits mailing list