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,41 @@
From fd4ce2545ebf30263de41684e7b7c68e6fd1e3be Mon Sep 17 00:00:00 2001
From: Christophe Priouzeau <christophe.priouzeau@st.com>
Date: Fri, 14 Feb 2020 15:25:05 +0100
Subject: [PATCH] authorize pulse audio request via dbus
Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com>
---
src/bluetooth.conf | 17 +++++++++++++++++
1 file changed, 17 insertions(+)
diff --git a/src/bluetooth.conf b/src/bluetooth.conf
index 8a1e258..380388d 100644
--- a/src/bluetooth.conf
+++ b/src/bluetooth.conf
@@ -22,6 +22,23 @@
<allow send_interface="org.mpris.MediaPlayer2.Player"/>
</policy>
+ <policy user="pulse">
+ <allow own="org.bluez"/>
+ <allow send_destination="org.bluez"/>
+ <allow send_interface="org.bluez.Agent1"/>
+ <allow send_interface="org.bluez.MediaEndpoint1"/>
+ <allow send_interface="org.bluez.MediaPlayer1"/>
+ <allow send_interface="org.bluez.ThermometerWatcher1"/>
+ <allow send_interface="org.bluez.AlertAgent1"/>
+ <allow send_interface="org.bluez.Profile1"/>
+ <allow send_interface="org.bluez.HeartRateWatcher1"/>
+ <allow send_interface="org.bluez.CyclingSpeedWatcher1"/>
+ <allow send_interface="org.bluez.GattCharacteristic1"/>
+ <allow send_interface="org.bluez.GattDescriptor1"/>
+ <allow send_interface="org.freedesktop.DBus.ObjectManager"/>
+ <allow send_interface="org.freedesktop.DBus.Properties"/>
+ </policy>
+
<policy context="default">
<allow send_destination="org.bluez"/>
</policy>
--
2.17.1

View File

@@ -0,0 +1,4 @@
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI += "file://0001-authorize-pulse-audio-request-via-dbus.patch"

View File

@@ -0,0 +1,13 @@
# Disable connman service at startup
SYSTEMD_AUTO_ENABLE:${PN} = "disable"
# Set low alternative priority for resolv-conf to keep systemd by default
ALTERNATIVE_PRIORITY[resolv-conf] = "10"
# As we disable CONNMAN service, we also need to remove the specific
# /etc/tmpfiles.d/connman_resolvconf.conf to let systemd managing /etc/resolv.conf
do_install:append() {
if [ -f ${D}/${sysconfdir}/tmpfiles.d/connman_resolvconf.conf ]; then
rm ${D}/${sysconfdir}/tmpfiles.d/connman_resolvconf.conf
fi
}

View File

@@ -0,0 +1 @@
PACKAGECONFIG += " cryptodev-linux"

View File

@@ -0,0 +1,9 @@
DESCRIPTION = "Python-based Blue Py"
HOMEPAGE = "https://pypi.org/project/bluepy/"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://README;md5=0e50fa260baaf98bc02337980811786a"
inherit pypi

View File

@@ -0,0 +1,9 @@
require python3-bluepy.inc
inherit setuptools3
SRC_URI[sha256sum] = "2a71edafe103565fb990256ff3624c1653036a837dfc90e1e32b839f83971cec"
DEPENDS += "glib-2.0"
inherit pkgconfig
INSANE_SKIP:${PN} += "ldflags"

View File

@@ -0,0 +1,4 @@
do_configure:append() {
# add CONFIG_P2P
sed -i "s/^#CONFIG_P2P=y/CONFIG_P2P=y/" wpa_supplicant/.config
}