I added a longer DESCRIPTION, HOMEPAGE and added SECTION = "devel/python".
---
SoundCard is a library for playing and recording audio without resorting to a
CPython extension.
Signed-off-by: Jan Claußen <[email protected]>
---
.../python/python3-soundcard_0.4.5.bb | 20 +++++++++++++++++++
1 file changed, 20 insertions(+)
create mode 100644
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
diff --git a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
new file mode 100644
index 0000000000..5116892dad
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
@@ -0,0 +1,20 @@
+SUMMARY = "Python library for accessing soundcards"
+DESCRIPTION = "SoundCard is a library for playing and recording audio without
resorting to a CPython extension"
+HOMEPAGE = "https://github.com/bastibe/SoundCard"
+SECTION = "devel/python"
+
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =
"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+ libpulse \
+ pulseaudio-server \
+ python3-cffi \
+ python3-numpy \
+"
--
2.52.0
On 28.11.25 21:27, Jan Claußen <[email protected]> wrote:
@Martin: Thanks, for pointing that out
I fixed the recipe added inherit features_check. Should maybe also add a
meaningful commit message, but I didn't know what to add.
Signed-off-by: Jan Claußen <[email protected]>
---
.../python/python3-soundcard_0.4.5.bb | 16 ++++++++++++++++
1 file changed, 16 insertions(+)
create mode 100644 meta-python/recipes-devtools/python/python3-
soundcard_0.4.5.bb
diff --git a/meta-python/recipes-devtools/python/python3-
soundcard_0.4.5.bb b/meta-python/recipes-devtools/python/python3-
soundcard_0.4.5.bb
new file mode 100644
index 0000000000..e25f13a116
--- /dev/null
+++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
@@ -0,0 +1,16 @@
+SUMMARY = "Python library for accessing soundcards"
+LICENSE = "BSD-3-Clause"
+LIC_FILES_CHKSUM = "file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
+
+SRC_URI[sha256sum] =
"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
+
+inherit pypi setuptools3 features_check
+
+REQUIRED_DISTRO_FEATURES = "pulseaudio"
+
+RDEPENDS:${PN} += " \
+ libpulse \
+ pulseaudio-server \
+ python3-cffi \
+ python3-numpy \
+"
--
2.52.0
Am 28.11.25 um 21:18 schrieb Martin Jansa:
> And REQUIRED_DISTRO_FEATURES = "pulseaudio" probably doesn't do
> anything without features_check inherit
>
> On Fri, Nov 28, 2025 at 9:01 PM Khem Raj via lists.openembedded.org
> <[email protected]> wrote:
>> results in
>>
>> ERROR: ParseError at
/mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:13:
Unparsed lines
/mnt/b/yoe/master/sources/meta-openembedded/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb:
['RDEPENDS:${PN} += " ', ' libpulse ']
>> ERROR: Parsing halted due to errors, see error messages above
>>
>>
>> On Fri, Nov 28, 2025 at 3:58 AM Jan Claußen via
lists.openembedded.org<[email protected]> wrote:
>>> Signed-off-by: Jan Claußen<[email protected]>
>>> ---
>>> .../python/python3-soundcard_0.4.5.bb | 12 ++++++++++++
>>> 1 file changed, 12 insertions(+)
>>> create mode 100644
meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
>>>
>>> diff --git a/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
>>> new file mode 100644
>>> index 0000000000..632b54eaef
>>> --- /dev/null
>>> +++ b/meta-python/recipes-devtools/python/python3-soundcard_0.4.5.bb
>>> @@ -0,0 +1,12 @@
>>> +SUMMARY = "Python library for accessing soundcards"
>>> +LICENSE = "BSD-3-Clause"
>>> +LIC_FILES_CHKSUM ="file://LICENSE;md5=e39df1540c06c17ca310ce87c36b042c"
>>> +
>>> +SRC_URI[sha256sum] =
"07272ba927e32cafdf634e4a1ca53b9a3218321a60c7d2e08f54b832a56946aa"
>>> +
>>> +inherit pypi setuptools3
>>> +
>>> +REQUIRED_DISTRO_FEATURES = "pulseaudio"
>>> +
>>> +RDEPENDS:${PN} += " \
>>> + libpulse \
>>> + pulseaudio-server \
>>> + python3-cffi \
>>> + python3-numpy \
>>> +"
>>
>>> --
>>> 2.52.0
>>>
>>>
>>>
>>>
>>
>>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#122154):
https://lists.openembedded.org/g/openembedded-devel/message/122154
Mute This Topic: https://lists.openembedded.org/mt/116512050/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-