[oe-commits] Fraxinas : alsa-lib: for opendreambox, install asound. conf to set default audio device

GIT User account git at amethyst.openembedded.net
Fri May 8 07:22:42 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dreambox
Commit: 8f2f70216bbbc5fadca9db92eea700fed763250f
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=8f2f70216bbbc5fadca9db92eea700fed763250f

Author: Fraxinas <andreas.frisch at multimedia-labs.de>
Date:   Thu Apr 30 21:56:59 2009 +0200

alsa-lib: for opendreambox, install asound.conf to set default audio device

---

 packages/alsa/alsa-lib_1.0.11.bb |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/packages/alsa/alsa-lib_1.0.11.bb b/packages/alsa/alsa-lib_1.0.11.bb
index ebfd793..6484068 100644
--- a/packages/alsa/alsa-lib_1.0.11.bb
+++ b/packages/alsa/alsa-lib_1.0.11.bb
@@ -11,6 +11,7 @@ PR = "r1"
 ARM_INSTRUCTION_SET = "arm"
 
 SRC_URI = "ftp://ftp.alsa-project.org/pub/lib/alsa-lib-${PV}.tar.bz2"
+SRC_URI_append_opendreambox = " file://asound.conf"
 
 inherit autotools pkgconfig
 
@@ -25,10 +26,16 @@ do_stage() {
 	install -m 0644 utils/alsa.m4 ${STAGING_DATADIR}/aclocal/
 }
 
+do_install_append_opendreambox() {
+        install -d ${D}${sysconfdir}
+        install -m 0644 ${WORKDIR}/asound.conf ${D}${sysconfdir}/asound.conf
+}
+
 PACKAGES =+ "alsa-server libasound alsa-conf alsa-doc alsa-dev"
 PACKAGES_DYNAMIC = "libasound*"
 FILES_${PN}-dbg += "${libdir}/alsa-lib/*/.debu*"
 FILES_libasound = "${libdir}/libasound.so*"
 FILES_alsa-server = "${bindir}"
 FILES_alsa-conf = "${datadir}"
+FILES_alsa-conf_opendreambox += "${datadir} ${sysconfdir}/asound.conf"
 FILES_alsa-dev = "${libdir}/pkgconfig/ /usr/include/"





More information about the Openembedded-commits mailing list