|
@ -12,12 +12,13 @@ |
|
|
# dependency for pipe-viewer (and might be useful as a dep for other |
|
|
# dependency for pipe-viewer (and might be useful as a dep for other |
|
|
# things), it has to exist on SBo. |
|
|
# things), it has to exist on SBo. |
|
|
|
|
|
|
|
|
|
|
|
# 20230222 bkw: updated for v2023.02.17 |
|
|
# 20230104 bkw: updated for v2023.01.02 |
|
|
# 20230104 bkw: updated for v2023.01.02 |
|
|
|
|
|
|
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
cd $(dirname $0) ; CWD=$(pwd) |
|
|
|
|
|
|
|
|
PRGNAM=yt-dlp |
|
|
PRGNAM=yt-dlp |
|
|
VERSION=${VERSION:-2023.01.02} |
|
|
|
|
|
|
|
|
VERSION=${VERSION:-2023.02.17} |
|
|
BUILD=${BUILD:-1} |
|
|
BUILD=${BUILD:-1} |
|
|
TAG=${TAG:-_SBo} |
|
|
TAG=${TAG:-_SBo} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
|
PKGTYPE=${PKGTYPE:-tgz} |
|
@ -54,6 +55,11 @@ chown -R root:root . |
|
|
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ |
|
|
find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ |
|
|
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ |
|
|
\! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ |
|
|
|
|
|
|
|
|
|
|
|
# https://github.com/yt-dlp/yt-dlp/issues/6306, reported by KG Hammarlund. |
|
|
|
|
|
# Not sure what triggers the issue (I don't have it on my system), but |
|
|
|
|
|
# this will be in the next release anyway I think. |
|
|
|
|
|
patch -p1 < $CWD/plugin_loading.diff |
|
|
|
|
|
|
|
|
# hardcoded paths. |
|
|
# hardcoded paths. |
|
|
sed -i -e "s,share/doc/yt_dlp,doc/$PRGNAM-$VERSION," \ |
|
|
sed -i -e "s,share/doc/yt_dlp,doc/$PRGNAM-$VERSION," \ |
|
|
-e "s,share/man,man," \ |
|
|
-e "s,share/man,man," \ |
|
|