From 9bd1b222d7bca6c563f86b2f8c1e73f317792013 Mon Sep 17 00:00:00 2001 From: EnumDev Date: Sun, 22 Mar 2026 11:46:10 +0200 Subject: [PATCH] Update package version to 1.6.2 --- pkg.info | 4 ++-- source-files/fix-build-errors.patch | 25 +++++++++++++++++++++++++ source.sh | 7 +++++++ 3 files changed, 34 insertions(+), 2 deletions(-) create mode 100644 source-files/fix-build-errors.patch diff --git a/pkg.info b/pkg.info index c595f1a..0707100 100644 --- a/pkg.info +++ b/pkg.info @@ -1,6 +1,6 @@ name: pipewire description: Low-latency audio/video router and processor -version: 1.6.1 +version: 1.6.2 revision: 1 url: https://pipewire.org/ license: LGPL2.1-or-later,MIT @@ -51,4 +51,4 @@ downloads: - url: https://gitlab.freedesktop.org/pipewire/pipewire/-/archive/${BPM_PKG_VERSION}/pipewire-${BPM_PKG_VERSION}.tar.bz2 extract_to: ${BPM_SOURCE} extract_strip_components: 1 - checksum: 0d28d6598b525feebe48fe209d39c8f75f33f1e5c90e1d4ec1fa2f0dbfcf2876 + checksum: 3649ff3502c93036088b61154aa12dc375c95031db18efb2c4abab691d2e758e diff --git a/source-files/fix-build-errors.patch b/source-files/fix-build-errors.patch new file mode 100644 index 0000000..7256c25 --- /dev/null +++ b/source-files/fix-build-errors.patch @@ -0,0 +1,25 @@ +From fb47e739d9f605772b5098421a809537c108d30c Mon Sep 17 00:00:00 2001 +From: Wim Taymans +Date: Mon, 16 Mar 2026 13:11:20 +0100 +Subject: [PATCH] acp: fix -Werror=discarded-qualifiers error + +--- + spa/plugins/alsa/acp/compat.h | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/spa/plugins/alsa/acp/compat.h b/spa/plugins/alsa/acp/compat.h +index f7592e1a6e..0f7b959df9 100644 +--- a/spa/plugins/alsa/acp/compat.h ++++ b/spa/plugins/alsa/acp/compat.h +@@ -429,9 +429,9 @@ static PA_PRINTF_FUNC(1,0) inline char *pa_vsprintf_malloc(const char *fmt, va_l + + #define pa_fopen_cloexec(f,m) fopen(f,m"e") + +-static inline char *pa_path_get_filename(const char *p) ++static inline const char *pa_path_get_filename(const char *p) + { +- char *fn; ++ const char *fn; + if (!p) + return NULL; + if ((fn = strrchr(p, PA_PATH_SEP_CHAR))) diff --git a/source.sh b/source.sh index f2e7d5c..1dd5c56 100644 --- a/source.sh +++ b/source.sh @@ -2,6 +2,13 @@ # BPM Expects the source code to be extracted into the automatically created 'source' directory which can be accessed using $BPM_SOURCE # BPM Expects the output files to be present in the automatically created 'output' directory which can be accessed using $BPM_OUTPUT +# The prepare function is executed in the root of the temp directory +# This function is used for putting downloaded files to the correct location or applying patches +prepare() { + cd "$BPM_SOURCE" + patch -Np1 -i "$BPM_WORKDIR"/fix-build-errors.patch +} + # The build function is executed in the source directory # This function is used to compile the source code build() {