1 |
commit: 5d5d04a25548de045059dbd1e59c8c28cead2590 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 30 08:48:17 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 30 09:13:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5d04a2 |
7 |
|
8 |
net-misc/yt-dlp: improve compatibility with youtube-dl |
9 |
|
10 |
Usually not needed, but some more advanced use of options |
11 |
may lead to issues without a wrapper. |
12 |
|
13 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
14 |
|
15 |
.../{yt-dlp-2021.10.22-r1.ebuild => yt-dlp-2021.10.22-r2.ebuild} | 5 ++++- |
16 |
1 file changed, 4 insertions(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/net-misc/yt-dlp/yt-dlp-2021.10.22-r1.ebuild b/net-misc/yt-dlp/yt-dlp-2021.10.22-r2.ebuild |
19 |
similarity index 90% |
20 |
rename from net-misc/yt-dlp/yt-dlp-2021.10.22-r1.ebuild |
21 |
rename to net-misc/yt-dlp/yt-dlp-2021.10.22-r2.ebuild |
22 |
index ccda512819f..c9b4d7614b7 100644 |
23 |
--- a/net-misc/yt-dlp/yt-dlp-2021.10.22-r1.ebuild |
24 |
+++ b/net-misc/yt-dlp/yt-dlp-2021.10.22-r2.ebuild |
25 |
@@ -42,5 +42,8 @@ python_install_all() { |
26 |
|
27 |
rm -r "${ED}"/usr/share/doc/yt_dlp || die |
28 |
|
29 |
- dosym yt-dlp /usr/bin/youtube-dl # compatibility symlink |
30 |
+ newbin - youtube-dl <<-EOF |
31 |
+ #!/usr/bin/env sh |
32 |
+ exec yt-dlp --compat-options youtube-dl "\${@}" |
33 |
+ EOF |
34 |
} |