[oe-commits] Graeme Gregory : pulseaudio_git : fix packaging

git version control git at git.openembedded.org
Fri Mar 4 11:33:22 UTC 2011


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

Author: Graeme Gregory <dp at xora-build.xora.org.uk>
Date:   Fri Mar  4 11:30:56 2011 +0000

pulseaudio_git : fix packaging

pulse uses a magic version file hidden in tarbal in order to determine
its version so set that to out ${PV} from OE.

Also git pulse has changed the default location of modules so set it
to be same as old location for compatability.

Signed-off-by: Graeme Gregory <dp at xora-build.xora.org.uk>

---

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

diff --git a/recipes/pulseaudio/pulseaudio_git.bb b/recipes/pulseaudio/pulseaudio_git.bb
index 28c5814..057ded8 100644
--- a/recipes/pulseaudio/pulseaudio_git.bb
+++ b/recipes/pulseaudio/pulseaudio_git.bb
@@ -2,7 +2,7 @@ require pulseaudio.inc
 
 SRCREV = "f834150aceccd753e3ac5bab9f7d64bed9993624"
 PV = "0.9.22+git"
-PR = "${INC_PR}.0-r${SRCPV}"
+PR = "${INC_PR}.1-r${SRCPV}"
 
 DEPENDS += "orc gdbm speex"
 
@@ -21,8 +21,12 @@ SRC_URI = "git://git.0pointer.de/pulseaudio.git;protocol=git \
 
 S = "${WORKDIR}/git"
 
+EXTRA_OECONF += " --with-module-dir=${libdir}/pulse-${PV}/modules"
+
 do_configure_prepend() {
 	touch config.rpath
+	echo "${PV}" >.tarball-version
+	echo "${PV}" >.version
 }
 
 # orc.m4 calls pkg-config ----variable=orcc orc-0.4 to get the path to orcc,





More information about the Openembedded-commits mailing list