commit:     ae7b6edb9641e2f150ddab58dd592f7ec1a156b4
Author:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
AuthorDate: Sat Jun 29 02:11:41 2024 +0000
Commit:     Vitaly Zdanevich <zdanevich.vitaly <AT> ya <DOT> ru>
CommitDate: Sat Jun 29 02:11:41 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ae7b6edb

mpv-plugin/SimpleUndo: new package

Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly <AT> ya.ru>

 mpv-plugin/SimpleUndo/Manifest                     |  1 +
 mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild | 31 ++++++++++++++++++++++
 mpv-plugin/SimpleUndo/metadata.xml                 | 11 ++++++++
 3 files changed, 43 insertions(+)

diff --git a/mpv-plugin/SimpleUndo/Manifest b/mpv-plugin/SimpleUndo/Manifest
new file mode 100644
index 000000000..b3059aca9
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/Manifest
@@ -0,0 +1 @@
+DIST SimpleUndo-2023.09.25.tar.gz 5627075 BLAKE2B 
6aa694b1ab815be886ba049b7f54a3b9c5f22ddea8adcd0f8ce9ba5465de9b3ec858b492eb85638854cbbaaba951cb5479b1124da55670fb68b3ecca14993848
 SHA512 
c99b5c3ee948b878fcb6fbed944e533b5789296dab98fc5f486a9bbbb212b0b02176258de548fb02ebd3bf2edf1b8b04138ed336ddb3c5c86cf7558c6d1ae606

diff --git a/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild 
b/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild
new file mode 100644
index 000000000..d2637d987
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild
@@ -0,0 +1,31 @@
+# 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
+
+DESCRIPTION="Ctrl-Z return to the previous seekbar position, Ctrl-Z again redo"
+HOMEPAGE="https://github.com/Eisa01/mpv-scripts#simpleundo";
+SRC_URI="https://github.com/Eisa01/mpv-scripts/archive/refs/tags/25-09-2023.tar.gz
 -> ${P}.tar.gz"
+S="${WORKDIR}/mpv-scripts-25-09-2023"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=(
+       SimpleUndo.lua
+)
+
+src_prepare() {
+       mv scripts/SimpleUndo.lua .
+
+       default
+}
+
+pkg_postinst() {
+       mpv-plugin_pkg_postinst
+       einfo "Ctrl-Z to jump back (undo) and forth (redo)"
+}

diff --git a/mpv-plugin/SimpleUndo/metadata.xml 
b/mpv-plugin/SimpleUndo/metadata.xml
new file mode 100644
index 000000000..0d5075f65
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/metadata.xml
@@ -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" proxied="yes">
+               <email>[email protected]</email>
+               <name>Vitaly Zdanevich</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">Eisa01/mpv-scripts</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to