bump(main/pipewire): 1.4.9

Signed-off-by: Aditya Alok <alok@termux.dev>
This commit is contained in:
termux-pacman-bot
2025-11-21 07:39:43 +00:00
parent a3b9884c18
commit 5856cc4d12
3 changed files with 32 additions and 7 deletions

View File

@@ -3,10 +3,9 @@ TERMUX_PKG_DESCRIPTION="A server and user space API to deal with multimedia pipe
TERMUX_PKG_LICENSE="MIT, LGPL-2.1, LGPL-3.0, GPL-2.0"
TERMUX_PKG_LICENSE_FILE="COPYING, LICENSE"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION="1.2.7"
TERMUX_PKG_REVISION=2
TERMUX_PKG_VERSION="1.4.9"
TERMUX_PKG_SRCURL="https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${TERMUX_PKG_VERSION}/pipewire-${TERMUX_PKG_VERSION}.tar.bz2"
TERMUX_PKG_SHA256=3c00292f9a419610c9eeb6e45b958d460afb601ecc6894012574a3b9f118616a
TERMUX_PKG_SHA256=e606aa3f6d53ec4c56fe35034d35cadfe0bbea1a5275e4e006dd7d1abaec6b92
TERMUX_PKG_AUTO_UPDATE=true
TERMUX_PKG_DEPENDS="ffmpeg, glib, libc++, liblua54, libopus, libsndfile, libwebrtc-audio-processing, lilv, ncurses, openssl, pulseaudio, readline"

View File

@@ -86,12 +86,12 @@
--- a/src/tools/pw-container.c
+++ b/src/tools/pw-container.c
@@ -150,7 +150,7 @@ int main(int argc, char *argv[])
@@ -150,7 +150,7 @@
};
struct spa_error_location loc;
int c, res, listen_fd, close_fd[2];
- char temp[PATH_MAX] = "/tmp/pipewire-XXXXXX";
+ char temp[PATH_MAX] = "@TERMUX_PREFIX@/tmp/pipewire-XXXXXX";
- char temp[] = "/tmp/pipewire-XXXXXX";
+ char temp[] = "@TERMUX_PREFIX@/tmp/pipewire-XXXXXX";
struct sockaddr_un sockaddr = {0};
data.props = pw_properties_new(

View File

@@ -0,0 +1,26 @@
--- pipewire-1.4.9/spa/plugins/filter-graph/filter-graph.c.orig 2025-11-17 12:09:43.614306994 +0530
+++ pipewire-1.4.9/spa/plugins/filter-graph/filter-graph.c 2025-11-17 12:25:37.989005819 +0530
@@ -34,6 +34,10 @@
#include "audio-plugin.h"
#include "audio-dsp-impl.h"
+#if !defined(strdupa)
+#define strdupa(s) strcpy(alloca(strlen(s) + 1), s)
+#endif
+
#undef SPA_LOG_TOPIC_DEFAULT
#define SPA_LOG_TOPIC_DEFAULT &log_topic
SPA_LOG_TOPIC_DEFINE_STATIC(log_topic, "spa.filter-graph");
--- pipewire-1.4.9/src/modules/network-utils.h.orig 2025-11-17 12:21:52.460494715 +0530
+++ pipewire-1.4.9/src/modules/network-utils.h 2025-11-17 12:24:19.353902408 +0530
@@ -12,6 +12,10 @@
#define ifr_ifindex ifr_index
#endif
+#if !defined(strdupa)
+#define strdupa(s) strcpy(alloca(strlen(s) + 1), s)
+#endif
+
static inline int pw_net_parse_address(const char *address, uint16_t port,
struct sockaddr_storage *addr, socklen_t *len)
{