Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (b77e9fac299dc9f101651b073d53d60be3e5a9b4)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (b77e9fac299dc9f101651b073d53d60be3e5a9b4)
  • Date: Thu, 25 Aug 2022 01:52:50 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

utils/qemu/DEPENDS | 28 +++++++++-------------------
utils/qemu/HISTORY | 4 ++++
2 files changed, 13 insertions(+), 19 deletions(-)

New commits:
commit b77e9fac299dc9f101651b073d53d60be3e5a9b4
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

utils/qemu: refactored audio backends code in DEPENDS

diff --git a/utils/qemu/DEPENDS b/utils/qemu/DEPENDS
index d4644dd..06e07ad 100755
--- a/utils/qemu/DEPENDS
+++ b/utils/qemu/DEPENDS
@@ -12,25 +12,15 @@ case "$HOST" in
;;
esac &&

-if list_find "alsa" $QEMU_AUDIO; then
- depends alsa-lib
-fi &&
-
-if list_find "sdl" $QEMU_AUDIO; then
- depends sdl2
-fi &&
-
-if list_find "pa" $QEMU_AUDIO; then
- depends pulseaudio
-fi &&
-
-if list_find "jack" ${QEMU_AUDIO}; then
- depends JACK
-fi &&
-
-if list_find "oss" ${QEMU_AUDIO}; then
- depends oss
-fi &&
+for qaudio in ${QEMU_AUDIO}; do
+ case ${qaudio} in
+ alsa) depends alsa-lib ;;
+ sdl) depends sdl2 ;;
+ pa) depends pulseaudio ;;
+ jack) depends JACK-DRIVER ;;
+ oss) depends oss ;;
+ esac
+done &&

if list_find '--enable-docs' ${QEMU_OPTS}; then
depends texinfo &&
diff --git a/utils/qemu/HISTORY b/utils/qemu/HISTORY
index c652ac0..61475c9 100644
--- a/utils/qemu/HISTORY
+++ b/utils/qemu/HISTORY
@@ -1,3 +1,7 @@
+2022-08-24 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS: refactored audio backends code into for loop with case,
+ JACK -> JACK-DRIVER
+
2022-08-08 Pavel Vinogradov <public AT sourcemage.org>
* DETAILS: version 7.0.0, bz2 -> xz
* BUILD: added possible muon build option, made target archs and audio



  • [SM-Commit] GIT changes to master grimoire by Pavel Vinogradov (b77e9fac299dc9f101651b073d53d60be3e5a9b4), Pavel Vinogradov, 08/24/2022

Archive powered by MHonArc 2.6.24.

Top of Page