using pipewire instead of pulse audio

This commit is contained in:
Dany LE
2025-12-21 18:07:02 +01:00
parent b1a78f439a
commit 3c51185326
5 changed files with 16 additions and 16 deletions

View File

@@ -15,8 +15,8 @@ LAYERSERIES_COMPAT_meta-diya = "walnascar"
PACKAGE_CLASSES = "package_ipk"
INHERIT += " rm_work "
DISTRO_FEATURES:append := " opengl pam systemd usrmerge ppp usbgadget wifi vulkan alsa pulseaudio "
DISTRO_FEATURES:remove = " x11 ptest sysvinit "
DISTRO_FEATURES:append := " opengl pam systemd usrmerge ppp usbgadget wifi vulkan alsa "
DISTRO_FEATURES:remove = " x11 ptest sysvinit pulseaudio "
DISTRO_FEATURES_BACKFILL_CONSIDERED += " sysvinit "
VIRTUAL-RUNTIME_init_manager = "systemd"
VIRTUAL-RUNTIME_initscripts = "systemd-compat-units"

View File

@@ -3,15 +3,13 @@ hostname = "diya"
do_install:append () {
cat << 'EOF' >> "${D}${sysconfdir}/profile"
export GDK_BACKEND=wayland
export XDG_RUNTIME_DIR=/home/$USER/.xdg
export XDG_RUNTIME_DIR=/run/user/$(id -u)
export DBUS_SESSION_BUS_ADDRESS=/run/user/$(id -u)/bus
export XDG_CONFIG_HOME=/home/$USER/.config
export XDG_CACHE_HOME=/home/$USER/.cache
export PATH=$PATH:/home/$USER/bin:/home/$USER/.local/bin
export LD_LIBRARY_PATH=/home/$USER/lib:/home/$USER/.local/lib
export DBUS_SYSTEM_BUS_ADDRESS=unix:path=/run/dbus/system_bus_socket
if [ ! -e "$XDG_RUNTIME_DIR" ]; then
mkdir -p "$XDG_RUNTIME_DIR"
fi
export TERM=xterm-256color
#if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
# eval $(dbus-launch --auto-syntax)

View File

@@ -37,4 +37,11 @@ dtoverlay=vc4-kms-dpi-generic,hactive=480,hfp=26,hsync=16,hbp=10
dtparam=vactive=640,vfp=25,vsync=10,vbp=16
dtparam=clock-frequency=32000000,rgb666-padhi
Diyas symbolise goodness and purity, and lighting them denotes dispelling darkness and going into light.
Diyas symbolise goodness and purity, and lighting them denotes dispelling darkness and going into light.
to test enable
sudo loginctl enable-linger diya
then logout and login
systemctl --user --now enable wireplumber

View File

@@ -50,15 +50,8 @@ IMAGE_INSTALL:append = "kernel-modules \
coreutils \
glmark2 \
usb-gadget-diya \
pulseaudio \
pulseaudio-server \
alsa-utils \
pulseaudio-module-alsa-card \
pulseaudio-module-alsa-source \
pulseaudio-module-alsa-sink \
pulseaudio-module-cli \
pulseaudio-module-echo-cancel \
pulseaudio-misc \
pipewire \
"
# TOOLCHAIN_HOST_TASK:append = " libxkbcommon "

View File

@@ -32,9 +32,11 @@ IMAGE_INSTALL:append = "pango \
wlr-randr \
diya-session-manager \
lua \
mpg123 \
wireplumber \
"
PACKAGE_EXCLUDE = " gtk+ gtk+3 adwaita-icon-theme "
IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme python python3 "
IMAGE_INSTALL:remove = " gtk+ gtk+3 adwaita-icon-theme "
# wlr-randr l3afpad wlopm cairo-egl webkitgtk
# add tools to toolchains