[oe-commits] Thomas Zimmermann : alsa-oss: fix aoss and convert to new staging

git version control git at git.openembedded.org
Mon Mar 29 13:50:38 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 95d884b7883c974334747b9adab8274140d056dd
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=95d884b7883c974334747b9adab8274140d056dd

Author: Thomas Zimmermann <ml at vdm-design.de>
Date:   Mon Mar 29 15:50:22 2010 +0200

alsa-oss: fix aoss and convert to new staging

* as libaoss.so is in -dev it has to be renamed in aoss

Signed-off-by: Thomas Zimmermann <ml at vdm-design.de>

---

 recipes/alsa/alsa-oss_1.0.17.bb |    8 +++-----
 1 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/recipes/alsa/alsa-oss_1.0.17.bb b/recipes/alsa/alsa-oss_1.0.17.bb
index cb77cc6..fcd154b 100644
--- a/recipes/alsa/alsa-oss_1.0.17.bb
+++ b/recipes/alsa/alsa-oss_1.0.17.bb
@@ -2,19 +2,17 @@ DESCRIPTION = "Alsa OSS Compatibility Package"
 SECTION = "libs/multimedia"
 LICENSE = "GPL"
 DEPENDS = "alsa-lib"
+PR = "r1"
 
 SRC_URI = "ftp://ftp.alsa-project.org/pub/oss-lib/alsa-oss-${PV}.tar.bz2 \
 	   file://libio.patch;patch=1 \
 	  "
 
-inherit autotools 
+inherit autotools_stage
 
 LEAD_SONAME = "libaoss.so.0"
 
 do_configure_prepend () {
 	touch NEWS README AUTHORS ChangeLog
-}
-
-do_stage () {
-	autotools_stage_all
+	sed -i "s/libaoss.so/${LEAD_SONAME}/" ${S}/alsa/aoss.in
 }





More information about the Openembedded-commits mailing list