mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 20:13:01 -04:00
mpv-plugin/SimpleHistory: new package
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> Part-of: https://github.com/gentoo/guru/pull/314 Closes: https://github.com/gentoo/guru/pull/314 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
committed by
David Roman
parent
8e5152d813
commit
d06fc1ecd3
44
mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild
Normal file
44
mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild
Normal file
@@ -0,0 +1,44 @@
|
||||
# Copyright 2025 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
|
||||
|
||||
DESCRIPTION="Continue watching last played, manage and play from history"
|
||||
HOMEPAGE="https://github.com/Eisa01/mpv-scripts#simpleundo"
|
||||
|
||||
V_Y=${PV%%.*}
|
||||
V_M=${PV#*.}
|
||||
V_M=${V_M%%.*}
|
||||
V_D=${PV##*.}
|
||||
|
||||
MY_PV="${V_D}-${V_M}-${V_Y}"
|
||||
SRC_URI="https://github.com/Eisa01/mpv-scripts/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/mpv-scripts-${MY_PV}"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
MPV_PLUGIN_FILES=(
|
||||
SimpleHistory.lua
|
||||
)
|
||||
|
||||
DOCS=(
|
||||
script-opts/SimpleHistory.conf
|
||||
README.md
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
mv scripts/SimpleHistory.lua . || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
mpv-plugin_pkg_postinst
|
||||
einfo "h to see the history, ctrl-r to resume previously closed"
|
||||
einfo "Documentation https://github.com/Eisa01/mpv-scripts#simplehistory"
|
||||
}
|
||||
Reference in New Issue
Block a user