From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61EF11382C5 for ; Sat, 27 Mar 2021 14:35:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B862CE07FA; Sat, 27 Mar 2021 14:35:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9924EE07FA for ; Sat, 27 Mar 2021 14:35:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id ABE3D335C8C for ; Sat, 27 Mar 2021 14:35:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 075BB592 for ; Sat, 27 Mar 2021 14:35:25 +0000 (UTC) From: "Mikle Kolyada" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mikle Kolyada" Message-ID: <1616855721.4bfb3c2fa12bc6f26cf20d6c22bc9a9fbac75caf.zlogene@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/mpv/mpv-0.33.0-r100.ebuild media-video/mpv/mpv-9999.ebuild X-VCS-Directories: media-video/mpv/ X-VCS-Committer: zlogene X-VCS-Committer-Name: Mikle Kolyada X-VCS-Revision: 4bfb3c2fa12bc6f26cf20d6c22bc9a9fbac75caf X-VCS-Branch: master Date: Sat, 27 Mar 2021 14:35:25 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 6635859c-4aa0-495e-8ad2-2e239cda7492 X-Archives-Hash: 3a8561506de46309b31e05157f1dc672 commit: 4bfb3c2fa12bc6f26cf20d6c22bc9a9fbac75caf Author: Mikle Kolyada gentoo org> AuthorDate: Sat Mar 27 14:35:01 2021 +0000 Commit: Mikle Kolyada gentoo org> CommitDate: Sat Mar 27 14:35:21 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4bfb3c2f media-video/mpv: use optfeature fpr youtube-dl Closes: https://bugs.gentoo.org/767463 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Mikle Kolyada gentoo.org> media-video/mpv/mpv-0.33.0-r100.ebuild | 4 ++-- media-video/mpv/mpv-9999.ebuild | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/media-video/mpv/mpv-0.33.0-r100.ebuild b/media-video/mpv/mpv-0.33.0-r100.ebuild index edb74a93b70..c749f487bd6 100644 --- a/media-video/mpv/mpv-0.33.0-r100.ebuild +++ b/media-video/mpv/mpv-0.33.0-r100.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)' WAF_PV=2.0.9 -inherit bash-completion-r1 flag-o-matic lua-single pax-utils python-r1 toolchain-funcs waf-utils xdg-utils +inherit bash-completion-r1 flag-o-matic lua-single optfeature pax-utils python-r1 toolchain-funcs waf-utils xdg-utils DESCRIPTION="Media player based on MPlayer and mplayer2" HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv" @@ -336,7 +336,7 @@ pkg_postinst() { elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE flag." fi - elog "If you want URL support, please install net-misc/youtube-dl." + optfeature "URL support" net-misc/youtube-dl xdg_icon_cache_update xdg_desktop_database_update diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index edb74a93b70..c749f487bd6 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -9,7 +9,7 @@ PYTHON_REQ_USE='threads(+)' WAF_PV=2.0.9 -inherit bash-completion-r1 flag-o-matic lua-single pax-utils python-r1 toolchain-funcs waf-utils xdg-utils +inherit bash-completion-r1 flag-o-matic lua-single optfeature pax-utils python-r1 toolchain-funcs waf-utils xdg-utils DESCRIPTION="Media player based on MPlayer and mplayer2" HOMEPAGE="https://mpv.io/ https://github.com/mpv-player/mpv" @@ -336,7 +336,7 @@ pkg_postinst() { elog "X11 or Mac OS Aqua. Consider enabling the 'opengl' USE flag." fi - elog "If you want URL support, please install net-misc/youtube-dl." + optfeature "URL support" net-misc/youtube-dl xdg_icon_cache_update xdg_desktop_database_update