[packages/yt-dlp] up to 2025.11.12

atler atler at pld-linux.org
Thu Nov 13 20:38:23 CET 2025


commit f07445bc9e9ed236dc497aa57bae8ffe8c9f9a61
Author: Jan Palus <atler at pld-linux.org>
Date:   Thu Nov 13 20:37:43 2025 +0100

    up to 2025.11.12

 default-js-node.patch | 18 ++++++++++++++++++
 yt-dlp.spec           |  7 +++++--
 2 files changed, 23 insertions(+), 2 deletions(-)
---
diff --git a/yt-dlp.spec b/yt-dlp.spec
index 0d920ae..e874baf 100644
--- a/yt-dlp.spec
+++ b/yt-dlp.spec
@@ -1,12 +1,13 @@
 Summary:	A youtube-dl fork with additional features and fixes
 Summary(pl.UTF-8):	Odgałęzienie projektu youtube-dl z dodatkowymi funkcjami i poprawkami
 Name:		yt-dlp
-Version:	2025.10.22
+Version:	2025.11.12
 Release:	1
 License:	Public Domain
 Group:		Applications/System
 Source0:	https://github.com/yt-dlp/yt-dlp/archive/%{version}/%{name}-%{version}.tar.gz
-# Source0-md5:	7d184b82d9e29cf17aec44b149efa605
+# Source0-md5:	fed0301033bfd415be29d3b5dfaa1af6
+Patch0:		default-js-node.patch
 URL:		https://github.com/yt-dlp/yt-dlp
 BuildRequires:	python3 >= 1:3.10
 BuildRequires:	python3-build
@@ -18,6 +19,7 @@ BuildRequires:	rpmbuild(macros) >= 2.044
 Requires:	python3-modules >= 1:3.10
 Requires:	python3-setuptools
 Requires:	python3-%{name} = %{version}-%{release}
+Recommends:	python3-yt-dlp-ejs
 Suggests:	ffmpeg
 BuildArch:	noarch
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
@@ -47,6 +49,7 @@ Narzędzie Pythona 3 do wydobywania filmów z YouTube.
 
 %prep
 %setup -q
+%patch -P0 -p1
 
 %build
 %py3_build_pyproject
diff --git a/default-js-node.patch b/default-js-node.patch
new file mode 100644
index 0000000..b2c4977
--- /dev/null
+++ b/default-js-node.patch
@@ -0,0 +1,18 @@
+--- yt-dlp-2025.11.12/yt_dlp/options.py.orig	2025-11-12 01:51:01.000000000 +0100
++++ yt-dlp-2025.11.12/yt_dlp/options.py	2025-11-12 12:43:13.535330376 +0100
+@@ -464,13 +464,13 @@
+         callback=_list_from_options_callback,
+         type='str',
+         callback_kwargs={'delim': None},
+-        default=['deno'],
++        default=['node'],
+         help=(
+             'Additional JavaScript runtime to enable, with an optional location for the runtime '
+             '(either the path to the binary or its containing directory). '
+             'This option can be used multiple times to enable multiple runtimes. '
+             'Supported runtimes are (in order of priority, from highest to lowest): deno, node, quickjs, bun. '
+-            'Only "deno" is enabled by default. The highest priority runtime that is both enabled and '
++            'Only "node" is enabled by default. The highest priority runtime that is both enabled and '
+             'available will be used. In order to use a lower priority runtime when "deno" is available, '
+             '--no-js-runtimes needs to be passed before enabling other runtimes'))
+     general.add_option(
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/yt-dlp.git/commitdiff/f07445bc9e9ed236dc497aa57bae8ffe8c9f9a61




More information about the pld-cvs-commit mailing list