added my Recipes

This commit is contained in:
2024-07-11 14:16:35 +02:00
parent 38bc4f53ac
commit 09b621d929
7118 changed files with 525762 additions and 3 deletions

View File

@@ -0,0 +1,32 @@
From d27d4121a0de41381df4f045412a41b14c7ec14c Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Date: Thu, 9 Sep 2021 17:33:46 +0200
Subject: [PATCH 1/2] deamon-conf: disable volume-flat
disbale volume flat to avoid side effect with gstreamer. If enable
sink volume is increased when gstreamer requests to increase
sink-input volume. But when gst requests to decrease the sink-input volume.
sink-volume is not updated. This lead to clipping because sink volume
is stored with value more than 100%.
Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@st.com>
---
src/daemon/daemon.conf.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
index 7409976..9004c8b 100644
--- a/src/daemon/daemon.conf.in
+++ b/src/daemon/daemon.conf.in
@@ -61,7 +61,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
; remixing-consume-lfe = no
; lfe-crossover-freq = 0
-; flat-volumes = no
+flat-volumes = no
; rescue-streams = yes
--
2.25.1

View File

@@ -0,0 +1,28 @@
From ef0c24aa3f734ceca2b712be771db272dc3bee3e Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@st.com>
Date: Thu, 25 Oct 2018 17:51:20 +0200
Subject: [PATCH 2/2] dbus: authorize to communicate with bluez
---
src/daemon/pulseaudio-system.conf | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/daemon/pulseaudio-system.conf b/src/daemon/pulseaudio-system.conf
index 2eb342e..a0ba05e 100644
--- a/src/daemon/pulseaudio-system.conf
+++ b/src/daemon/pulseaudio-system.conf
@@ -25,7 +25,10 @@ License along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.
not necessary for user PulseAudio instances. -->
<policy user="pulse">
- <allow own="org.pulseaudio.Server"/>
+ <allow own="org.pulseaudio.Server"/>
+ <allow own="org.pulseaudio.Server"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_interface="org.bluez.Manager"/>
</policy>
</busconfig>
--
2.25.1

View File

@@ -0,0 +1,35 @@
From dbbd2fca9c9770d3d572c515493a3f26596d8bc2 Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
Date: Tue, 1 Mar 2022 16:56:35 +0100
Subject: [PATCH 3/3] deamon-conf: disable exit
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@foss.st.com>
---
src/daemon/daemon.conf.in | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/daemon/daemon.conf.in b/src/daemon/daemon.conf.in
index 9004c8b..6a6f4c3 100644
--- a/src/daemon/daemon.conf.in
+++ b/src/daemon/daemon.conf.in
@@ -21,7 +21,7 @@ changequote(`[', `]')dnl Set up m4 quoting
; daemonize = no
; fail = yes
; allow-module-loading = yes
-; allow-exit = yes
+allow-exit = no
; use-pid-file = yes
; system-instance = no
ifelse(@HAVE_DBUS@, 1, [dnl
@@ -39,7 +39,7 @@ ifelse(@HAVE_DBUS@, 1, [dnl
; realtime-scheduling = yes
; realtime-priority = 5
-; exit-idle-time = 20
+exit-idle-time = -1
; scache-idle-time = 20
; dl-search-path = (depends on architecture)
--
2.25.1

View File

@@ -0,0 +1,9 @@
#!/bin/sh
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/`id -u weston`/bus
PULSE_RUNTIME_PATH=/run/user/`id -u weston`
PULSE_SERVER="unix:/run/user/`id -u weston`/pulse/native"
export DBUS_SESSION_BUS_ADDRESS
export PULSE_RUNTIME_PATH
export PULSE_SERVER

View File

@@ -0,0 +1,23 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
PACKAGECONFIG ?= "${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez5', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', 'zeroconf', 'avahi', '', d)} \
${@bb.utils.contains('DISTRO_FEATURES', '3g', 'ofono', '', d)} \
${@bb.utils.filter('DISTRO_FEATURES', 'ipv6 systemd x11', d)} \
dbus gsettings \
"
# Pulse audio configuration files
SRC_URI += "file://pulse_profile.sh \
file://10001-deamon-conf-disable-volume-flat.patch \
file://10003-dbus-authorize-to-communicate-with-bluez.patch \
file://10004-deamon-conf-disable-exit.patch \
"
# Pulse audio configuration files installation
do_install:append() {
install -d ${D}${sysconfdir}/profile.d
install -m 0644 ${WORKDIR}/pulse_profile.sh ${D}${sysconfdir}/profile.d/
}
FILES:${PN} += "/etc/profile.d"