mpv-plugin/thumbfast - 9999 (robertgzr)

Search

Package Information

Description:
High-performance on-the-fly thumbnailer
Homepage:
https://github.com/po5/thumbfast

Ebuild Details

Version EAPI Keywords Slot
9999 8 ~amd64
View Raw Ebuild
# Copyright 2022-2024 Robert Günzler
# Distributed under the terms of the GNU General Public License v2

EAPI=8

USE_MPV="rdepend"
MPV_REQ_USE="lua"
inherit mpv-plugin

DESCRIPTION="High-performance on-the-fly thumbnailer"
HOMEPAGE="https://github.com/po5/thumbfast"

if [[ $PV = *9999* ]]; then
	inherit git-r3
	EGIT_REPO_URI="https://github.com/po5/thumbfast"
else
	SRC_URI="https://github.com/po5/thumbfast/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
fi


LICENSE="GPL-3"
KEYWORDS="~amd64"

src_prepare() {
	default

	mkdir -p ${PN}/script-opts
	mv ./${PN}.conf ./${PN}/script-opts/
	mv ./${PN}.lua ./${PN}/main.lua
}

MPV_PLUGIN_FILES=( ${PN} )