the following patch adds youtube-dl to mpv's RUN_DEPENDS. $ mpv --no-video https://www.youtube.com/watch?v=... [ytdl_hook] [ytdl_hook] youtube-dl failed: not found or not enough permissions Failed to recognize file format.
OK? Thanks, gsoares
Index: Makefile =================================================================== RCS file: /cvs/ports/multimedia/mpv/Makefile,v retrieving revision 1.79 diff -u -p -u -p -r1.79 Makefile --- Makefile 29 Jan 2022 12:30:14 -0000 1.79 +++ Makefile 27 Feb 2022 13:06:35 -0000 @@ -6,6 +6,8 @@ GH_ACCOUNT = mpv-player GH_PROJECT = mpv GH_TAGNAME = v0.34.1 +REVISION = 0 + SHARED_LIBS += mpv 0.2 # 1.109 CATEGORIES = multimedia x11 @@ -54,6 +56,7 @@ LIB_DEPENDS = archivers/libarchive \ MODPY_RUNDEP = No RUN_DEPENDS = devel/desktop-file-utils \ + www/youtube-dl \ x11/gtk+3,-guic SEPARATE_BUILD = Yes