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

mpv-plugin/thumbfast: new package

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

 mpv-plugin/thumbfast/Manifest                    |  1 +
 mpv-plugin/thumbfast/metadata.xml                | 11 ++++++++
 mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild | 35 ++++++++++++++++++++++++
 3 files changed, 47 insertions(+)

diff --git a/mpv-plugin/thumbfast/Manifest b/mpv-plugin/thumbfast/Manifest
new file mode 100644
index 0000000000..ec5520fdb8
--- /dev/null
+++ b/mpv-plugin/thumbfast/Manifest
@@ -0,0 +1 @@
+DIST thumbfast-2023.12.08.tar.gz 16515 BLAKE2B 
94a8d75315b77b3290fb6e90a44d6ff7970e663ecbdadf29acff6c1282e6834afb1dd079967dadee26c81cc6ae181df9ff0e815c662e11a70fe29a1f6b11cdc7
 SHA512 
af69b8bd90d6acbd8aeeb7821998684239047efb2f1147149d1cfc824e763e459dc88364d5903f0228e2f3e1b372ced0df6c8b6c07bfd12b05937f2a889a851e

diff --git a/mpv-plugin/thumbfast/metadata.xml 
b/mpv-plugin/thumbfast/metadata.xml
new file mode 100644
index 0000000000..4458f732dc
--- /dev/null
+++ b/mpv-plugin/thumbfast/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>n...@disroot.org</email>
+               <name>NRK</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">po5/thumbfast</remote-id>
+       </upstream>
+</pkgmetadata>

diff --git a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild 
b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
new file mode 100644
index 0000000000..0868818c77
--- /dev/null
+++ b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="03e93feee5a85bf7c65db953ada41b4826e9f905"
+DESCRIPTION="High-performance on-the-fly thumbnailer script for mpv."
+HOMEPAGE="https://github.com/po5/thumbfast";
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MPL-2"
+KEYWORDS="~amd64"
+
+RDEPEND="app-shells/bash"
+
+MPV_PLUGIN_FILES=(
+       thumbfast.lua
+)
+
+DOCS=(
+       thumbfast.conf
+       README.md
+)
+
+pkg_postinst() {
+       mpv-plugin_pkg_postinst
+       einfo "thumbfast requires using a supported ui (such as 
mpv-plugin/mfpbar)."
+       # TODO(NRK): add a useflag for the vanilla-osc fork??
+       # https://github.com/po5/thumbfast/blob/vanilla-osc/player/lua/osc.lua
+}

Reply via email to