public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mdmenu/
@ 2024-06-08 20:06 Julien Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-06-08 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     5502e2bc76be53ccfe214cf7b67310f67246a8cc
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jun  8 18:00:52 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun  8 18:01:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5502e2bc

mpv-plugin/mdmenu: tidy up

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

 mpv-plugin/mdmenu/mdmenu-20240215.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/mpv-plugin/mdmenu/mdmenu-20240215.ebuild b/mpv-plugin/mdmenu/mdmenu-20240215.ebuild
index bed09fd27..2808df872 100644
--- a/mpv-plugin/mdmenu/mdmenu-20240215.ebuild
+++ b/mpv-plugin/mdmenu/mdmenu-20240215.ebuild
@@ -25,10 +25,15 @@ 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 a launcher."
-		ewarn "You will need to configure \`cmd\` in script-opt "
-		ewarn "to a dmenu-compatible app for mdmenu to work."
-		ewarn "Please refer to the documents for more info."
+		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
 }


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mdmenu/
@ 2024-06-08 20:06 Julien Roy
  0 siblings, 0 replies; 2+ messages in thread
From: Julien Roy @ 2024-06-08 20:06 UTC (permalink / raw
  To: gentoo-commits

commit:     f218d2f5d88535bf8032ce89a33977843028ac38
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Jun  8 17:44:30 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Sat Jun  8 17:47:25 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f218d2f5

mpv-plugin/mdmenu: new package

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

 mpv-plugin/mdmenu/Manifest               |  1 +
 mpv-plugin/mdmenu/mdmenu-20240215.ebuild | 34 ++++++++++++++++++++++++++++++++
 mpv-plugin/mdmenu/metadata.xml           | 18 +++++++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/mpv-plugin/mdmenu/Manifest b/mpv-plugin/mdmenu/Manifest
new file mode 100644
index 000000000..7370c507a
--- /dev/null
+++ b/mpv-plugin/mdmenu/Manifest
@@ -0,0 +1 @@
+DIST mdmenu-20240215.tar.gz 21585 BLAKE2B 1b67b59a74a494d1c8e43533dd95a72008c59191a9d41a9f7b9cbd4da6db8b5e457be0ed6bcc4d9c82769f302ef2bf65065909ffba6905c6d6ae5b6ec6347c7e SHA512 2c37d64136f1c5c19537ab675215616fe24708d3f988ae0c539add3f0d94f73f76b1ec7b0c7cb8f258ddc45c4bb15967500cc72eee42247a9c1d6f6ce4fd1779

diff --git a/mpv-plugin/mdmenu/mdmenu-20240215.ebuild b/mpv-plugin/mdmenu/mdmenu-20240215.ebuild
new file mode 100644
index 000000000..bed09fd27
--- /dev/null
+++ b/mpv-plugin/mdmenu/mdmenu-20240215.ebuild
@@ -0,0 +1,34 @@
+# Copyright 2024 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
+	if use custom-cmd ; then
+		ewarn "mdmenu has been installed without a launcher."
+		ewarn "You will need to configure \`cmd\` in script-opt "
+		ewarn "to a dmenu-compatible app for mdmenu to work."
+		ewarn "Please refer to the documents for more info."
+	fi
+}

diff --git a/mpv-plugin/mdmenu/metadata.xml b/mpv-plugin/mdmenu/metadata.xml
new file mode 100644
index 000000000..1ed7a22b2
--- /dev/null
+++ b/mpv-plugin/mdmenu/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>nrk@disroot.org</email>
+		<name>NRK</name>
+	</maintainer>
+	<use>
+		<flag name="custom-cmd">
+			Do not install dmenu as a dependency.
+			This requires you to configure a custom dmenu-compatible
+			command in the configuration.
+		</flag>
+	</use>
+	<upstream>
+		<remote-id type="codeberg">NRK/mpv-toolbox</remote-id>
+	</upstream>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-06-08 20:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-08 20:06 [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mdmenu/ Julien Roy
  -- strict thread matches above, loose matches on Subject: below --
2024-06-08 20:06 Julien Roy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox