Im setup: multimedia/mpv with YTDL option, and youtube-dl + rtmp installed, but pkg autoremove remove youtube-dl and rtmp.
See pkg-autoremove(8) man page. You can deinstall multimedia/mpv running the following command: # cd /usr/ports/multimedia/mpv && make deinstall clean
Created attachment 159935 [details] Patch Remove www/youtube_dl from mpv config options to avoid pkg-autoremove(8) deinstall it unnecessarily.
Created attachment 159943 [details] Patch
A commit references this bug: Author: pi Date: Mon Aug 17 20:44:12 UTC 2015 New revision: 394532 URL: https://svnweb.freebsd.org/changeset/ports/394532 Log: multimedia/mpv: remove www/youtube_dl build dependency PR: 202337 Submitted by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer) Changes: head/multimedia/mpv/Makefile
Committed, thanks. Build-tested on current.
Why not use RUN_DEPENDS instead? run-deps are properly registered during install thus won't be affected by pkg-autoremove. $ pkg info -xr youtube youtube_dl-2015.06.04.1: mpv-0.9.2_3,1
Hmm, ports r386202 changed BUILD_DEPENDS -> RUN_DEPENDS without explaining why and which led to this bug.
Err, typo: RUN_DEPENDS -> BUILD_DEPENDS.
(In reply to Carlos J Puga Medina from comment #1) I dont want to remove mpv! Some times i run: pkg autoremove and it breaks mpv+youtube-dl because youtube-dl removed as "unneeded".
(In reply to Jan Beich from comment #8) mpv does not depend from youtube-dl? (to build and run) Ok, i will install youtube-dl by hands.
(In reply to rozhuk.im from comment #10) Yes, it was removed. I prefer that www/youtube_dl be installed separately.
Ok. Thanks!
Reopen as ports r400828 reverted ports r394532 without fixing comment 0 which is a regression since ports r386202.
Created attachment 162808 [details] partially backout r386202 Patch per comment 6-8. Re-using existing maintainer-feedback? flag for approval.
A commit references this bug: Author: jbeich Date: Sat Nov 21 02:27:02 UTC 2015 New revision: 402130 URL: https://svnweb.freebsd.org/changeset/ports/402130 Log: multimedia/mpv: partially backout r386202 youtube-dl is only used during runtime, so register dependency properly. As the port doesn't enforce *where* to find the script rely on PATH. PR: 202337 Approved by: Carlos J Puga Medina <cpm@fbsd.es> (maintainer) Changes: head/multimedia/mpv/Makefile
A commit references this bug: Author: junovitch Date: Mon Nov 23 02:21:09 UTC 2015 New revision: 402254 URL: https://svnweb.freebsd.org/changeset/ports/402254 Log: multimedia/mpv: address regressions from r402235 and r402236 - Remove INSTALLS_ICONS (see r395763 commit message) - Set YTDL option as RUN_DEPENDS (see r402130 commit message) PR: 202806 PR: 202337 PR: 204599 Reported by: jbeich Approved by: cpm (implicit from bug 202337 and 202806 approvals) Changes: head/multimedia/mpv/Makefile