mpv-plugin/thumbfast: new package

Signed-off-by: NRK <nrk@disroot.org>
This commit is contained in:
NRK
2024-02-17 01:38:04 +00:00
parent 0a9e9dc344
commit a7429a6129
3 changed files with 47 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST thumbfast-2023.12.08.tar.gz 16515 BLAKE2B 94a8d75315b77b3290fb6e90a44d6ff7970e663ecbdadf29acff6c1282e6834afb1dd079967dadee26c81cc6ae181df9ff0e815c662e11a70fe29a1f6b11cdc7 SHA512 af69b8bd90d6acbd8aeeb7821998684239047efb2f1147149d1cfc824e763e459dc88364d5903f0228e2f3e1b372ced0df6c8b6c07bfd12b05937f2a889a851e

View File

@@ -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>nrk@disroot.org</email>
<name>NRK</name>
</maintainer>
<upstream>
<remote-id type="github">po5/thumbfast</remote-id>
</upstream>
</pkgmetadata>

View File

@@ -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
}