commit: d06fc1ecd3f5e418c9e80967da58e8471ef279fa Author: Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru> AuthorDate: Fri Apr 11 21:30:02 2025 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Fri May 9 20:20:17 2025 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d06fc1ec
mpv-plugin/SimpleHistory: new package Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> 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 <AT> gmail.com> mpv-plugin/SimpleHistory/Manifest | 1 + .../SimpleHistory/SimpleHistory-2023.09.25.ebuild | 44 ++++++++++++++++++++++ mpv-plugin/SimpleHistory/metadata.xml | 8 ++++ 3 files changed, 53 insertions(+) diff --git a/mpv-plugin/SimpleHistory/Manifest b/mpv-plugin/SimpleHistory/Manifest new file mode 100644 index 000000000..80b7199fd --- /dev/null +++ b/mpv-plugin/SimpleHistory/Manifest @@ -0,0 +1 @@ +DIST SimpleHistory-2023.09.25.tar.gz 5627075 BLAKE2B 6aa694b1ab815be886ba049b7f54a3b9c5f22ddea8adcd0f8ce9ba5465de9b3ec858b492eb85638854cbbaaba951cb5479b1124da55670fb68b3ecca14993848 SHA512 c99b5c3ee948b878fcb6fbed944e533b5789296dab98fc5f486a9bbbb212b0b02176258de548fb02ebd3bf2edf1b8b04138ed336ddb3c5c86cf7558c6d1ae606 diff --git a/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild b/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild new file mode 100644 index 000000000..86187d752 --- /dev/null +++ b/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild @@ -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" +} diff --git a/mpv-plugin/SimpleHistory/metadata.xml b/mpv-plugin/SimpleHistory/metadata.xml new file mode 100644 index 000000000..62319d8fc --- /dev/null +++ b/mpv-plugin/SimpleHistory/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="github">Eisa01/mpv-scripts</remote-id> + </upstream> +</pkgmetadata>
