summaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb (renamed from meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb)18
-rw-r--r--meta-multimedia/recipes-multimedia/liblc3/liblc3_1.0.4.bb2
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-spa-plugins-alsa-acp-compat.h-Fix-missed-Wdiscarded-.patch28
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch25
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb2
5 files changed, 68 insertions, 7 deletions
diff --git a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb
index 9d76546641..4dbf4d1fc7 100644
--- a/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.4.8.bb
+++ b/meta-multimedia/recipes-multimedia/fluidsynth/fluidsynth_2.5.3.bb
@@ -2,24 +2,28 @@ SUMMARY = "Fluidsynth is a software synthesizer"
2HOMEPAGE = "http://www.fluidsynth.org/" 2HOMEPAGE = "http://www.fluidsynth.org/"
3SECTION = "libs/multimedia" 3SECTION = "libs/multimedia"
4LICENSE = "LGPL-2.1-only" 4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = "file://LICENSE;md5=fc178bcd425090939a8b634d1d6a9594" 5LIC_FILES_CHKSUM = "file://LICENSE;md5=4bf661c1e3793e55c8d1051bc5e0ae21"
6 6
7DEPENDS = "glib-2.0" 7DEPENDS = "glib-2.0"
8 8
9SRC_URI = " \ 9SRC_URI = " \
10 git://github.com/FluidSynth/fluidsynth.git;branch=master;protocol=https \ 10 git://github.com/FluidSynth/fluidsynth.git;name=fluidsynth;branch=master;protocol=https \
11 git://github.com/kthohr/gcem.git;name=gcem;subdir=${S}/gcem;protocol=https;nobranch=1 \
12 git://github.com/Signalsmith-Audio/basics.git;name=signalsmith-audio-basics;subdir=${S}/signalsmith-audio-basics;protocol=https;nobranch=1 \
11 file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \ 13 file://0003-Use-ARM-NEON-accelaration-for-float-multithreaded-se.patch \
12" 14"
13SRCREV = "70a10b365c707c73bd340e28970601d52d425d8c" 15SRCREV_FORMAT = "fluidsynth"
14 16SRCREV_fluidsynth = "6b8fabbd60f0df3b6e2f5b5df8478a1b43315acd"
17SRCREV_gcem = "012ae73c6d0a2cb09ffe86475f5c6fba3926e200"
18SRCREV_signalsmith-audio-basics = "012d2be17b0eb6839628f8c73687c4ccccc1bb01"
15 19
16inherit cmake pkgconfig lib_package 20inherit cmake pkgconfig lib_package
17 21
18EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')}" 22EXTRA_OECMAKE = "-Denable-floats=ON -DLIB_SUFFIX=${@d.getVar('baselib').replace('lib', '')} -DGCEM_INCLUDE_DIR=${S}/gcem/include"
19 23
20do_install:append() { 24do_install:append() {
21 sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/pkgconfig/fluidsynth.pc 25 sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/pkgconfig/fluidsynth.pc
22 sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/fluidsynth/FluidSynthTargets.cmake 26 sed -i -e 's|${STAGING_LIBDIR}|${libdir}|g' ${D}${libdir}/cmake/fluidsynth/FluidSynth-shared-targets.cmake
23} 27}
24 28
25PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio pipewire systemd alsa dbus', d)}" 29PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio pipewire systemd alsa dbus', d)}"
@@ -32,7 +36,7 @@ PACKAGECONFIG[portaudio] = "-Denable-portaudio=ON,-Denable-portaudio=OFF,portaud
32PACKAGECONFIG[profiling] = "-Denable-profiling=ON,-Denable-profiling=OFF" 36PACKAGECONFIG[profiling] = "-Denable-profiling=ON,-Denable-profiling=OFF"
33PACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,-Denable-pulseaudio=OFF,pulseaudio" 37PACKAGECONFIG[pulseaudio] = "-Denable-pulseaudio=ON,-Denable-pulseaudio=OFF,pulseaudio"
34PACKAGECONFIG[readline] = "-Denable-readline=ON,-Denable-readline=OFF,readline" 38PACKAGECONFIG[readline] = "-Denable-readline=ON,-Denable-readline=OFF,readline"
35PACKAGECONFIG[sdl] = "-Denable-sdl2=ON,-Denable-sdl2=OFF,virtual/libsdl2" 39PACKAGECONFIG[sdl] = "-Denable-sdl3=ON,-Denable-sdl3=OFF,libsdl3"
36PACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1" 40PACKAGECONFIG[sndfile] = "-Denable-libsndfile=ON,-Denable-libsndfile=OFF,libsndfile1"
37PACKAGECONFIG[systemd] = "-Denable-systemd=ON,-Denable-systemd=OFF,systemd" 41PACKAGECONFIG[systemd] = "-Denable-systemd=ON,-Denable-systemd=OFF,systemd"
38 42
diff --git a/meta-multimedia/recipes-multimedia/liblc3/liblc3_1.0.4.bb b/meta-multimedia/recipes-multimedia/liblc3/liblc3_1.0.4.bb
index bcf91b5453..1baa84c330 100644
--- a/meta-multimedia/recipes-multimedia/liblc3/liblc3_1.0.4.bb
+++ b/meta-multimedia/recipes-multimedia/liblc3/liblc3_1.0.4.bb
@@ -9,5 +9,7 @@ SRCREV = "1a5938ebaca4f13fe79ce074f5dee079783aa29f"
9 9
10inherit pkgconfig meson 10inherit pkgconfig meson
11 11
12TARGET_LDFLAGS:append = " ${DEBUG_PREFIX_MAP}"
13
12BBCLASSEXTEND = "native nativesdk" 14BBCLASSEXTEND = "native nativesdk"
13 15
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-spa-plugins-alsa-acp-compat.h-Fix-missed-Wdiscarded-.patch b/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-spa-plugins-alsa-acp-compat.h-Fix-missed-Wdiscarded-.patch
new file mode 100644
index 0000000000..6ded1c15f8
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire/0001-spa-plugins-alsa-acp-compat.h-Fix-missed-Wdiscarded-.patch
@@ -0,0 +1,28 @@
1From c847b8162959c29b783585e0dcadbfb096e7cb73 Mon Sep 17 00:00:00 2001
2From: Ripley Tom <discofan420@protonmail.com>
3Date: Sat, 21 Feb 2026 19:33:11 +0100
4Subject: [PATCH] spa/plugins/alsa/acp/compat.h: Fix missed
5 -Wdiscarded-qualifiers warning
6
7Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/c847b8162959c29b783585e0dcadbfb096e7cb73]
8Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
9---
10 spa/plugins/alsa/acp/compat.h | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13diff --git a/spa/plugins/alsa/acp/compat.h b/spa/plugins/alsa/acp/compat.h
14index f7592e1a6..0f7b959df 100644
15--- a/spa/plugins/alsa/acp/compat.h
16+++ b/spa/plugins/alsa/acp/compat.h
17@@ -429,9 +429,9 @@ static PA_PRINTF_FUNC(1,0) inline char *pa_vsprintf_malloc(const char *fmt, va_l
18
19 #define pa_fopen_cloexec(f,m) fopen(f,m"e")
20
21-static inline char *pa_path_get_filename(const char *p)
22+static inline const char *pa_path_get_filename(const char *p)
23 {
24- char *fn;
25+ const char *fn;
26 if (!p)
27 return NULL;
28 if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch b/meta-multimedia/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch
new file mode 100644
index 0000000000..d6fc5866ec
--- /dev/null
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire/0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch
@@ -0,0 +1,25 @@
1From 1a37f445a20e67976c83360ab5830887fffe37e2 Mon Sep 17 00:00:00 2001
2From: Rudi Heitbaum <rudi@heitbaum.com>
3Date: Tue, 17 Mar 2026 03:17:15 +1100
4Subject: [PATCH] spa/plugins/alsa/acp/compat.h: p is already const do not
5 recast
6
7Upstream-Status: Backport [https://gitlab.freedesktop.org/pipewire/pipewire/-/commit/1a37f445a20e67976c83360ab5830887fffe37e2]
8Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
9---
10 spa/plugins/alsa/acp/compat.h | 2 +-
11 1 file changed, 1 insertion(+), 1 deletion(-)
12
13diff --git a/spa/plugins/alsa/acp/compat.h b/spa/plugins/alsa/acp/compat.h
14index 0f7b959df..87151d197 100644
15--- a/spa/plugins/alsa/acp/compat.h
16+++ b/spa/plugins/alsa/acp/compat.h
17@@ -436,7 +436,7 @@ static inline const char *pa_path_get_filename(const char *p)
18 return NULL;
19 if ((fn = strrchr(p, PA_PATH_SEP_CHAR)))
20 return fn+1;
21- return (char*) p;
22+ return p;
23 }
24
25 static inline bool pa_is_path_absolute(const char *fn)
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb
index 14e467fa33..6914a4a0ad 100644
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb
+++ b/meta-multimedia/recipes-multimedia/pipewire/pipewire_1.6.2.bb
@@ -15,6 +15,8 @@ DEPENDS = "dbus ncurses"
15SRCREV = "95da54a482b68475958bbc3fa572a9c20df0df74" 15SRCREV = "95da54a482b68475958bbc3fa572a9c20df0df74"
16BRANCH = "${@oe.utils.trim_version('${PV}', 2)}" 16BRANCH = "${@oe.utils.trim_version('${PV}', 2)}"
17SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV}" 17SRC_URI = "git://gitlab.freedesktop.org/pipewire/pipewire.git;branch=${BRANCH};protocol=https;tag=${PV}"
18SRC_URI += "file://0001-spa-plugins-alsa-acp-compat.h-Fix-missed-Wdiscarded-.patch"
19SRC_URI += "file://0002-spa-plugins-alsa-acp-compat.h-p-is-already-const-do-.patch"
18 20
19inherit meson pkgconfig systemd gettext useradd 21inherit meson pkgconfig systemd gettext useradd
20 22