summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch43
-rw-r--r--meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb66
2 files changed, 0 insertions, 109 deletions
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch
deleted file mode 100644
index ce381a78b3..0000000000
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2/0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch
+++ /dev/null
@@ -1,43 +0,0 @@
1From b1d911fdab4a583f276d18395037d90bfc305109 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 20 May 2024 18:12:23 -0700
4Subject: [PATCH] module-suspend-on-idle: Include time.h for struct timespec
5 decl
6
7This is flagged as error with gcc-14 on musl targets
8
9In file included from ../git/src/pipewire/loop.h:27,
10 from ../git/src/pipewire/core.h:44,
11 from ../git/src/modules/module-suspend-on-idle.c:26:
12../git/spa/include/spa/support/loop.h:184:37: warning: 'struct timespec' declared inside parameter list will not be visible outside of this definition or declaration
13 184 | struct timespec *value,
14 | ^~~~~~~~
15../git/src/modules/module-suspend-on-idle.c: In function 'node_state_changed':
16../git/src/modules/module-suspend-on-idle.c:110:69: error: passing argument 2 of 'main_loop->utils->update_timer' from incompatible pointer type [-Wincompatible-pointer-types]
17 110 | pw_loop_update_timer(main_loop, info->idle_timeout, &value, NULL, false);
18 | ^~~~~~
19 | |
20 | struct timespec *
21
22Upstream-Status: Inappropriate [Fixed in latest pipewire differently]
23
24Signed-off-by: Khem Raj <raj.khem@gmail.com>
25---
26 src/modules/module-suspend-on-idle.c | 1 +
27 1 file changed, 1 insertion(+)
28
29diff --git a/src/modules/module-suspend-on-idle.c b/src/modules/module-suspend-on-idle.c
30index e5c1fcb30..4dba3be71 100644
31--- a/src/modules/module-suspend-on-idle.c
32+++ b/src/modules/module-suspend-on-idle.c
33@@ -20,6 +20,7 @@
34 #include <string.h>
35 #include <stdio.h>
36 #include <errno.h>
37+#include <time.h>
38
39 #include "config.h"
40
41--
422.45.1
43
diff --git a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb b/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb
deleted file mode 100644
index 7c8afd3d51..0000000000
--- a/meta-multimedia/recipes-multimedia/pipewire/pipewire-0.2_git.bb
+++ /dev/null
@@ -1,66 +0,0 @@
1SUMMARY = "Multimedia processing server for Linux"
2HOMEPAGE = "https://pipewire.org"
3SECTION = "multimedia"
4LICENSE = "LGPL-2.1-only"
5LIC_FILES_CHKSUM = " \
6 file://LICENSE;md5=d8153c6e65986f862a0550ca74a3ed73 \
7 file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
8"
9DEPENDS = "alsa-lib dbus udev"
10SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d"
11PV = "0.2.7"
12
13SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https \
14 file://0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch \
15 "
16
17S = "${WORKDIR}/git"
18
19inherit meson pkgconfig systemd manpages
20
21PACKAGECONFIG ??= "\
22 ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
23 gstreamer \
24"
25
26PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
27PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
28PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
29
30PACKAGES =+ "\
31 ${PN}-spa-plugins \
32 ${PN}-alsa \
33 ${PN}-config \
34 gstreamer1.0-${PN} \
35 lib${PN} \
36 lib${PN}-modules \
37"
38
39RDEPENDS:lib${PN} += "lib${PN}-modules ${PN}-spa-plugins"
40
41FILES:${PN} = "\
42 ${sysconfdir}/pipewire/pipewire.conf \
43 ${bindir}/pipewire* \
44 ${systemd_user_unitdir}/* \
45"
46FILES:lib${PN} = "\
47 ${libdir}/libpipewire-*.so.* \
48"
49FILES:lib${PN}-modules = "\
50 ${libdir}/pipewire-*/* \
51"
52FILES:${PN}-spa-plugins = "\
53 ${bindir}/spa-* \
54 ${libdir}/spa/* \
55"
56FILES:${PN}-alsa = "\
57 ${libdir}/alsa-lib/* \
58 ${datadir}/alsa/alsa.conf.d/50-pipewire.conf \
59"
60FILES:gstreamer1.0-${PN} = "\
61 ${libdir}/gstreamer-1.0/* \
62"
63
64CONFFILES:${PN} = "\
65 ${sysconfdir}/pipewire/pipewire.conf \
66"