diff options
author | Simon Rettberg | 2021-10-29 15:55:32 +0200 |
---|---|---|
committer | Your Name | 2021-10-29 15:55:32 +0200 |
commit | 127d4c684f96641abb2741392f453f05619be711 (patch) | |
tree | 288721d004c3fadc1772ea4130f04c496ef3d65f /core/modules/pulseaudio/module.build | |
parent | [dbus] Fix session environment, add missing service/socket file (diff) | |
download | mltk-127d4c684f96641abb2741392f453f05619be711.tar.gz mltk-127d4c684f96641abb2741392f453f05619be711.tar.xz mltk-127d4c684f96641abb2741392f453f05619be711.zip |
[pulseaudio] Add icons for pavucontrol, enable socket for user session
Diffstat (limited to 'core/modules/pulseaudio/module.build')
-rw-r--r-- | core/modules/pulseaudio/module.build | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/core/modules/pulseaudio/module.build b/core/modules/pulseaudio/module.build index 989fd89a..03a324c2 100644 --- a/core/modules/pulseaudio/module.build +++ b/core/modules/pulseaudio/module.build @@ -16,5 +16,17 @@ build() { done if [ -z "$MLTK_INSTALL" ]; then tarcopy "/usr/share/mime" "${MODULE_BUILD_DIR}/" + base="$( grep -o -m1 '^.*/gdk-pixbuf-2.0/' "$PKG_CONTENT_FILE" )" + if [ -n "$base" ]; then + tarcopy "$( find "$base" -type f -name "loaders.cache" )" "${MODULE_BUILD_DIR}/" + fi + base="$( grep -m1 -F '/pulseaudio.socket' "$PKG_CONTENT_FILE" )" + if [ -n "$base" ]; then + base="${base%/*}" + mkdir -p "${MODULE_BUILD_DIR}${base}/sockets.target.wants" + ln -ns "../pulseaudio.socket" \ + "${MODULE_BUILD_DIR}${base}/sockets.target.wants/pulseaudio.socket" + fi + tarcopy "/usr/share/icons/gnome/icon-theme.cache" "${MODULE_BUILD_DIR}/" fi } |