diff options
author | Simon Rettberg | 2021-10-28 18:08:42 +0200 |
---|---|---|
committer | Simon Rettberg | 2021-10-28 18:08:42 +0200 |
commit | ecab83e742357e856f2bbd19789b97eec7ba3275 (patch) | |
tree | 0d3ef6331f009d0d521810f74ae5ba314f86df61 | |
parent | bwlp: Add pulseaudio module (diff) | |
download | mltk-ecab83e742357e856f2bbd19789b97eec7ba3275.tar.gz mltk-ecab83e742357e856f2bbd19789b97eec7ba3275.tar.xz mltk-ecab83e742357e856f2bbd19789b97eec7ba3275.zip |
[pulseaudio] Add requirements for MiniLinux
-rw-r--r-- | core/modules/pulseaudio/module.build | 3 | ||||
-rw-r--r-- | core/modules/pulseaudio/module.conf | 3 | ||||
-rw-r--r-- | core/modules/pulseaudio/module.conf.ubuntu | 6 |
3 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/pulseaudio/module.build b/core/modules/pulseaudio/module.build index abb45cf4..dd525904 100644 --- a/core/modules/pulseaudio/module.build +++ b/core/modules/pulseaudio/module.build @@ -14,4 +14,7 @@ build() { link="${base%.example}" ln -ns "$base" "${MODULE_BUILD_DIR}/usr/share/alsa/alsa.conf.d/${link}" done + if [ -z "$MLTK_INSTALL" ]; then + tarcopy "/usr/share/mime" "${MODULE_BUILD_DIR}/" || perror "Could not tarcopy /usr/share/mime" + fi } diff --git a/core/modules/pulseaudio/module.conf b/core/modules/pulseaudio/module.conf index 67c6cc5e..0e68160a 100644 --- a/core/modules/pulseaudio/module.conf +++ b/core/modules/pulseaudio/module.conf @@ -2,11 +2,14 @@ REQUIRED_DIRECTORIES=" /etc/dbus-1 + /etc/modprobe.d /etc/pulse /etc/xdg/autostart /lib/udev /usr/bin /usr/lib /usr/share/alsa + /usr/share/mime + /usr/share/pavucontrol /usr/share/pulseaudio " diff --git a/core/modules/pulseaudio/module.conf.ubuntu b/core/modules/pulseaudio/module.conf.ubuntu index f33d6b1d..a3c2d637 100644 --- a/core/modules/pulseaudio/module.conf.ubuntu +++ b/core/modules/pulseaudio/module.conf.ubuntu @@ -1,7 +1,13 @@ #!/bin/bash REQUIRED_CONTENT_PACKAGES=" + alsa-base + alsa-topology-conf + libasound2 libasound2-plugins + libgdk-pixbuf2.0-0 + libpulse0 pavucontrol pulseaudio + pulseaudio-utils " |