mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 02:10:04 +00:00
pipewire-0.2: drop old version of recipe
pipewire-0.2 (which is a pre-pandemic version of pipewire) has been kept around[1] to satisfy the dependencies of mutter (< 3.36). Mutter has been updated to a version that doesn't require this old pipewire more than 3 years ago[2]. There is a much more newer version of pipewire recipe available in the same folder, and it seems there aren't further recipes depending on this old version. [1]: https://github.com/openembedded/meta-openembedded/commit/5200e029ea4f853f83b0c0884af5f6d9626b78ea [2]: https://github.com/openembedded/meta-openembedded/commit/7cd570b486074d5876eae9fd48232694939a3e64 Signed-off-by: Gyorgy Sarvari <skandigraun@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
-43
@@ -1,43 +0,0 @@
|
|||||||
From b1d911fdab4a583f276d18395037d90bfc305109 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Khem Raj <raj.khem@gmail.com>
|
|
||||||
Date: Mon, 20 May 2024 18:12:23 -0700
|
|
||||||
Subject: [PATCH] module-suspend-on-idle: Include time.h for struct timespec
|
|
||||||
decl
|
|
||||||
|
|
||||||
This is flagged as error with gcc-14 on musl targets
|
|
||||||
|
|
||||||
In file included from ../git/src/pipewire/loop.h:27,
|
|
||||||
from ../git/src/pipewire/core.h:44,
|
|
||||||
from ../git/src/modules/module-suspend-on-idle.c:26:
|
|
||||||
../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
|
|
||||||
184 | struct timespec *value,
|
|
||||||
| ^~~~~~~~
|
|
||||||
../git/src/modules/module-suspend-on-idle.c: In function 'node_state_changed':
|
|
||||||
../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]
|
|
||||||
110 | pw_loop_update_timer(main_loop, info->idle_timeout, &value, NULL, false);
|
|
||||||
| ^~~~~~
|
|
||||||
| |
|
|
||||||
| struct timespec *
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [Fixed in latest pipewire differently]
|
|
||||||
|
|
||||||
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
||||||
---
|
|
||||||
src/modules/module-suspend-on-idle.c | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/src/modules/module-suspend-on-idle.c b/src/modules/module-suspend-on-idle.c
|
|
||||||
index e5c1fcb30..4dba3be71 100644
|
|
||||||
--- a/src/modules/module-suspend-on-idle.c
|
|
||||||
+++ b/src/modules/module-suspend-on-idle.c
|
|
||||||
@@ -20,6 +20,7 @@
|
|
||||||
#include <string.h>
|
|
||||||
#include <stdio.h>
|
|
||||||
#include <errno.h>
|
|
||||||
+#include <time.h>
|
|
||||||
|
|
||||||
#include "config.h"
|
|
||||||
|
|
||||||
--
|
|
||||||
2.45.1
|
|
||||||
|
|
||||||
@@ -1,66 +0,0 @@
|
|||||||
SUMMARY = "Multimedia processing server for Linux"
|
|
||||||
HOMEPAGE = "https://pipewire.org"
|
|
||||||
SECTION = "multimedia"
|
|
||||||
LICENSE = "LGPL-2.1-only"
|
|
||||||
LIC_FILES_CHKSUM = " \
|
|
||||||
file://LICENSE;md5=d8153c6e65986f862a0550ca74a3ed73 \
|
|
||||||
file://LGPL;md5=2d5025d4aa3495befef8f17206a5b0a1 \
|
|
||||||
"
|
|
||||||
DEPENDS = "alsa-lib dbus udev"
|
|
||||||
SRCREV = "14c11c0fe4d366bad4cfecdee97b6652ff9ed63d"
|
|
||||||
PV = "0.2.7"
|
|
||||||
|
|
||||||
SRC_URI = "git://github.com/PipeWire/pipewire;branch=master;protocol=https \
|
|
||||||
file://0001-module-suspend-on-idle-Include-time.h-for-struct-tim.patch \
|
|
||||||
"
|
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
|
||||||
|
|
||||||
inherit meson pkgconfig systemd manpages
|
|
||||||
|
|
||||||
PACKAGECONFIG ??= "\
|
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \
|
|
||||||
gstreamer \
|
|
||||||
"
|
|
||||||
|
|
||||||
PACKAGECONFIG[systemd] = "-Dsystemd=true,-Dsystemd=false,systemd"
|
|
||||||
PACKAGECONFIG[gstreamer] = "-Dgstreamer=enabled,-Dgstreamer=disabled,glib-2.0 gstreamer1.0 gstreamer1.0-plugins-base"
|
|
||||||
PACKAGECONFIG[manpages] = "-Dman=true,-Dman=false,libxml-parser-perl-native"
|
|
||||||
|
|
||||||
PACKAGES =+ "\
|
|
||||||
${PN}-spa-plugins \
|
|
||||||
${PN}-alsa \
|
|
||||||
${PN}-config \
|
|
||||||
gstreamer1.0-${PN} \
|
|
||||||
lib${PN} \
|
|
||||||
lib${PN}-modules \
|
|
||||||
"
|
|
||||||
|
|
||||||
RDEPENDS:lib${PN} += "lib${PN}-modules ${PN}-spa-plugins"
|
|
||||||
|
|
||||||
FILES:${PN} = "\
|
|
||||||
${sysconfdir}/pipewire/pipewire.conf \
|
|
||||||
${bindir}/pipewire* \
|
|
||||||
${systemd_user_unitdir}/* \
|
|
||||||
"
|
|
||||||
FILES:lib${PN} = "\
|
|
||||||
${libdir}/libpipewire-*.so.* \
|
|
||||||
"
|
|
||||||
FILES:lib${PN}-modules = "\
|
|
||||||
${libdir}/pipewire-*/* \
|
|
||||||
"
|
|
||||||
FILES:${PN}-spa-plugins = "\
|
|
||||||
${bindir}/spa-* \
|
|
||||||
${libdir}/spa/* \
|
|
||||||
"
|
|
||||||
FILES:${PN}-alsa = "\
|
|
||||||
${libdir}/alsa-lib/* \
|
|
||||||
${datadir}/alsa/alsa.conf.d/50-pipewire.conf \
|
|
||||||
"
|
|
||||||
FILES:gstreamer1.0-${PN} = "\
|
|
||||||
${libdir}/gstreamer-1.0/* \
|
|
||||||
"
|
|
||||||
|
|
||||||
CONFFILES:${PN} = "\
|
|
||||||
${sysconfdir}/pipewire/pipewire.conf \
|
|
||||||
"
|
|
||||||
Reference in New Issue
Block a user