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 @@ + + + + + nrk@disroot.org + NRK + + + po5/thumbfast + + 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 +}