commit:     92aa07107c7347355186db7424d5a2b2a0506f1b
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Feb 17 01:44:02 2024 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> com>
CommitDate: Sat Feb 17 02:02:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=92aa0710

mpv-plugin/mfpbar: tidy up

Signed-off-by: NRK <nrk <AT> disroot.org>

 mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 12 +++---------
 1 file changed, 3 insertions(+), 9 deletions(-)

diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild 
b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
index 1d56ee1a82..7b8264d207 100644
--- a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
+++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit mpv-plugin
+inherit mpv-plugin optfeature
 
 RDEPEND=">=media-video/mpv-0.33.0[lua]"
 
@@ -17,17 +17,11 @@ LICENSE="GPL-3+"
 KEYWORDS="~amd64"
 
 MPV_PLUGIN_FILES=( mfpbar.lua )
-
-src_install() {
-       mpv-plugin_src_install
-       dodoc mfpbar.conf
-       dodoc README.md
-}
+DOCS=( mfpbar.conf README.md )
 
 pkg_postinst() {
        mpv-plugin_pkg_postinst
        einfo "mfpbar requires disabling the default osc."
        einfo "put 'osc=no' in your 'mpv.conf' in order to do so."
-       einfo ""
-       einfo "for thumbnail support install: https://github.com/po5/thumbfast"; 
 # TODO(NRK): package thumbfast
+       optfeature "thumbnail support" mpv-plugin/thumbfast
 }

Reply via email to