commit: bd130288d4e018999159ab5bc01e94661093e3b6
Author: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue May 3 12:05:10 2022 +0000
Commit: Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
CommitDate: Tue May 3 12:14:09 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bd130288
mpv-plugin/autosubsync-mpv: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>
mpv-plugin/autosubsync-mpv/Manifest | 1 +
.../autosubsync-mpv-20220402.ebuild | 32 ++++++++++++++++++++++
mpv-plugin/autosubsync-mpv/metadata.xml | 8 ++++++
3 files changed, 41 insertions(+)
diff --git a/mpv-plugin/autosubsync-mpv/Manifest
b/mpv-plugin/autosubsync-mpv/Manifest
new file mode 100644
index 000000000..ce241e8f5
--- /dev/null
+++ b/mpv-plugin/autosubsync-mpv/Manifest
@@ -0,0 +1 @@
+DIST autosubsync-mpv-20220402.tar.gz 9480 BLAKE2B
91cdbde4cef7fd3899d5e2bec649489ed9edb30f544ca333a679cca9ca7b472f5eb7075667f136f364eb4dfcd75430408da8f38d5c639bbf860e21e2db2a8f1c
SHA512
f56404fe9fcdf5f77b1a4d5829741fe5737c16e88e4a07e8bea845b1f2b982345446140c3e9663ff41b0b13b953cdddb39c5bcb4203e020f7c53d9d855dc138b
diff --git a/mpv-plugin/autosubsync-mpv/autosubsync-mpv-20220402.ebuild
b/mpv-plugin/autosubsync-mpv/autosubsync-mpv-20220402.ebuild
new file mode 100644
index 000000000..cbbfccd38
--- /dev/null
+++ b/mpv-plugin/autosubsync-mpv/autosubsync-mpv-20220402.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2022 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
+
+COMMIT="989e73fd25800d4722b9bb1105aac65f55fec035"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="Automatic subtitle synchronization script for mpv media player"
+HOMEPAGE="https://github.com/joaquintorres/autosubsync-mpv/"
+
+SRC_URI="https://github.com/joaquintorres/${PN}/archive/${COMMIT}.tar.gz ->
${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-video/ffsubsync
+" # alass is supported but not in the gentoo tree
+
+S="${WORKDIR}/${MY_P}"
+
+MPV_PLUGIN_FILES=(
+ autosubsync.lua
+ main.lua
+ menu.lua
+ subtitle.lua
+)
diff --git a/mpv-plugin/autosubsync-mpv/metadata.xml
b/mpv-plugin/autosubsync-mpv/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/autosubsync-mpv/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 type="person">
+ <email>[email protected]</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+</pkgmetadata>