From ecab83e742357e856f2bbd19789b97eec7ba3275 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Thu, 28 Oct 2021 18:08:42 +0200 Subject: [pulseaudio] Add requirements for MiniLinux --- core/modules/pulseaudio/module.build | 3 +++ core/modules/pulseaudio/module.conf | 3 +++ core/modules/pulseaudio/module.conf.ubuntu | 6 ++++++ 3 files changed, 12 insertions(+) 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 " -- cgit v1.2.3-55-g7522