commit:     0a9e9dc3446ae212e7711d0131da0a86c1743133
Author:     NRK <nrk <AT> disroot <DOT> org>
AuthorDate: Sat Feb 17 01:19:15 2024 +0000
Commit:     Nickolas Raymond Kaczynski <nrk <AT> disroot <DOT> org>
CommitDate: Sat Feb 17 02:02:31 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a9e9dc3

mpv-plugin/mfpbar: new package

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

 mpv-plugin/mfpbar/Manifest               |  1 +
 mpv-plugin/mfpbar/metadata.xml           | 11 +++++++++++
 mpv-plugin/mfpbar/mfpbar-20240215.ebuild | 33 ++++++++++++++++++++++++++++++++
 3 files changed, 45 insertions(+)

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

diff --git a/mpv-plugin/mfpbar/metadata.xml b/mpv-plugin/mfpbar/metadata.xml
new file mode 100644
index 0000000000..5d95ab1e33
--- /dev/null
+++ b/mpv-plugin/mfpbar/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>NRK</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="codeberg">NRK/mpv-toolbox</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/mpv-plugin/mfpbar/mfpbar-20240215.ebuild 
b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
new file mode 100644
index 0000000000..1d56ee1a82
--- /dev/null
+++ b/mpv-plugin/mfpbar/mfpbar-20240215.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mpv-plugin
+
+RDEPEND=">=media-video/mpv-0.33.0[lua]"
+
+DESCRIPTION="A minimalistic progressbar and osc replacement"
+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"
+
+MPV_PLUGIN_FILES=( mfpbar.lua )
+
+src_install() {
+       mpv-plugin_src_install
+       dodoc mfpbar.conf
+       dodoc 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
+}

Reply via email to