commit: 080769c6231a37073f346d65a076fda672679593 Author: NRK <nrk <AT> disroot <DOT> org> AuthorDate: Fri Mar 7 13:03:00 2025 +0000 Commit: Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org> CommitDate: Fri Mar 7 13:06:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=080769c6
mpv-plugin/mdmenu: add 20250307 Signed-off-by: NRK <nrk <AT> disroot.org> mpv-plugin/mdmenu/Manifest | 1 + mpv-plugin/mdmenu/mdmenu-20250307.ebuild | 39 ++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/mpv-plugin/mdmenu/Manifest b/mpv-plugin/mdmenu/Manifest index 7370c507a..652aa6714 100644 --- a/mpv-plugin/mdmenu/Manifest +++ b/mpv-plugin/mdmenu/Manifest @@ -1 +1,2 @@ DIST mdmenu-20240215.tar.gz 21585 BLAKE2B 1b67b59a74a494d1c8e43533dd95a72008c59191a9d41a9f7b9cbd4da6db8b5e457be0ed6bcc4d9c82769f302ef2bf65065909ffba6905c6d6ae5b6ec6347c7e SHA512 2c37d64136f1c5c19537ab675215616fe24708d3f988ae0c539add3f0d94f73f76b1ec7b0c7cb8f258ddc45c4bb15967500cc72eee42247a9c1d6f6ce4fd1779 +DIST mdmenu-20250307.tar.gz 22701 BLAKE2B cb776ef5daa414631c4e7a11ccb76fd6e231f2d7d8fe895d78290e1ec22e49f17ca5e634a223dec52d743d15605432a1125824ff1842eb7d99dfb6983768dcd8 SHA512 2fe536b81d2a33ecfc3226ed5cc01b32852e401332e2a03c11e31d492d05c243fc0ceec2322ead81be1a9132650711c851a630c1e763a1e63e754e170386199a diff --git a/mpv-plugin/mdmenu/mdmenu-20250307.ebuild b/mpv-plugin/mdmenu/mdmenu-20250307.ebuild new file mode 100644 index 000000000..c793f4326 --- /dev/null +++ b/mpv-plugin/mdmenu/mdmenu-20250307.ebuild @@ -0,0 +1,39 @@ +# Copyright 2024-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit mpv-plugin + +DESCRIPTION="dmenu based selection menu for chapters, tracks, playlist etc" +HOMEPAGE="https://codeberg.org/NRK/mpv-toolbox" + +SRC_URI="https://codeberg.org/NRK/mpv-toolbox/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/mpv-toolbox/${PN}" + +LICENSE="GPL-3+" +KEYWORDS="~amd64" +IUSE="custom-cmd" + +RDEPEND=" + >=media-video/mpv-0.36.0[lua] + !custom-cmd? ( x11-misc/dmenu ) +" + +MPV_PLUGIN_FILES=( mdmenu.lua ) +DOCS=( mdmenu.conf README.md ) + +pkg_postinst() { + mpv-plugin_pkg_postinst + + einfo "mdmenu does not set any keybindings by default." + einfo "Customize ~~/input.conf according to the documentation " + einfo "in order to set custom bindings." + + if use custom-cmd ; then + ewarn "mdmenu has been installed without dmenu." + ewarn "You will need to set \`cmd\` in ~~/script-opts/mdmenu.conf " + ewarn "to a dmenu-compatible application for mdmenu to work." + ewarn "Please refer to the documentation for more info." + fi +}
