Skip to content

Commit

Permalink
mpv-plugin/SimpleUndo: new package
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Zdanevich <[email protected]>
  • Loading branch information
vitaly-zdanevich committed Jun 29, 2024
1 parent 8a42573 commit ae7b6ed
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
1 change: 1 addition & 0 deletions mpv-plugin/SimpleUndo/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST SimpleUndo-2023.09.25.tar.gz 5627075 BLAKE2B 6aa694b1ab815be886ba049b7f54a3b9c5f22ddea8adcd0f8ce9ba5465de9b3ec858b492eb85638854cbbaaba951cb5479b1124da55670fb68b3ecca14993848 SHA512 c99b5c3ee948b878fcb6fbed944e533b5789296dab98fc5f486a9bbbb212b0b02176258de548fb02ebd3bf2edf1b8b04138ed336ddb3c5c86cf7558c6d1ae606
31 changes: 31 additions & 0 deletions mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild
Original file line number Diff line number Diff line change
@@ -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)"
}
11 changes: 11 additions & 0 deletions mpv-plugin/SimpleUndo/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>

0 comments on commit ae7b6ed

Please sign in to comment.