Skip to Content.
Sympa Menu

sm-commit - [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (8f305948266e42678e58a595db6570bf0cf4ab1b)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Pavel Vinogradov <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org, sm-commit AT lists.sourcemage.org
  • Subject: [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (8f305948266e42678e58a595db6570bf0cf4ab1b)
  • Date: Tue, 3 Jun 2025 13:19:21 +0000

GIT changes to master grimoire by Pavel Vinogradov <public AT sourcemage.org>:

video/pipewire/DEPENDS | 3 +--
video/pipewire/HISTORY | 5 +++++
video/pipewire/PRE_BUILD | 4 ++++
video/pipewire/patches-ffmpeg-svn/0001-pw-cat.patch | 16 ++++++++++++++++
4 files changed, 26 insertions(+), 2 deletions(-)

New commits:
commit 8f305948266e42678e58a595db6570bf0cf4ab1b
Author: Pavel Vinogradov <public AT sourcemage.org>
Commit: Pavel Vinogradov <public AT sourcemage.org>

video/pipewire: removed bluez5 double dependency
(now optional with -sub),
fixed building with ffmpeg-svn

diff --git a/video/pipewire/DEPENDS b/video/pipewire/DEPENDS
index 496100c..c37d3e3 100755
--- a/video/pipewire/DEPENDS
+++ b/video/pipewire/DEPENDS
@@ -21,10 +21,9 @@ optional_depends avahi "avahi=enabled" "avahi=disabled"
\
"for service-discovery support"
&&
optional_depends alsa-lib "pipewire-alsa=enabled" "pipewire-alsa=disabled" \
"ALSA sound support"
&&
-optional_depends bluez5 "bluez5=enabled" "bluez5=disabled" \
+optional_depends -sub "LIBRARY" bluez5 "bluez5=enabled" "bluez5=disabled" \
"Bluetooth support"
&&
if is_depends_enabled $SPELL bluez5; then
- sub_depends bluez5 LIBRARY &&
depends sbc &&
optional_depends opus \
"bluez5-codec-opus=enabled" \
diff --git a/video/pipewire/HISTORY b/video/pipewire/HISTORY
index a430569..2e349c3 100644
--- a/video/pipewire/HISTORY
+++ b/video/pipewire/HISTORY
@@ -1,3 +1,8 @@
+2025-06-03 Pavel Vinogradov <public AT sourcemage.org>
+ * DEPENDS: removed duplicate code in bluez5 subdependency
+ * PRE_BUILD, patches-ffmpeg-svn/0001-pw-cat.patch: added patch
+ to fix building with ffmpeg-svn
+
2025-06-03 Ismael Luceno <ismael AT sourcemage.org>
* DEPENDS: added bluez5[LIBRARY]

diff --git a/video/pipewire/PRE_BUILD b/video/pipewire/PRE_BUILD
new file mode 100755
index 0000000..ee31521
--- /dev/null
+++ b/video/pipewire/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "${SOURCE_DIRECTORY}" &&
+
+apply_patch_dir "patches-$(get_spell_provider ${SPELL} LIBAVCODEC)"
diff --git a/video/pipewire/patches-ffmpeg-svn/0001-pw-cat.patch
b/video/pipewire/patches-ffmpeg-svn/0001-pw-cat.patch
new file mode 100644
index 0000000..2116986
--- /dev/null
+++ b/video/pipewire/patches-ffmpeg-svn/0001-pw-cat.patch
@@ -0,0 +1,16 @@
+diff --git a/src/tools/pw-cat.c b/src/tools/pw-cat.c
+--- a/src/tools/pw-cat.c
++++ b/src/tools/pw-cat.c
+@@ -448,10 +448,10 @@ static int av_codec_params_to_audio_info(struct data
*data, AVCodecParameters *c
+ info->info.dts.rate = data->rate;
+ info->info.dts.channels = data->channels;
+ switch (codec_params->profile) {
+- case FF_PROFILE_DTS_HD_MA:
++ case AV_PROFILE_DTS_HD_MA:
+ info->info.dts.ext_type = SPA_AUDIO_DTS_EXT_HD_MA;
+ break;
+- case FF_PROFILE_DTS_HD_HRA:
++ case AV_PROFILE_DTS_HD_HRA:
+ info->info.dts.ext_type = SPA_AUDIO_DTS_EXT_HD_HRA;
+ break;
+ default:


  • [[SM-Commit] ] GIT changes to master grimoire by Pavel Vinogradov (8f305948266e42678e58a595db6570bf0cf4ab1b), Pavel Vinogradov, 06/03/2025

Archive powered by MHonArc 2.6.24.

Top of Page