aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:05:10 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:09 +0200
commitbd130288d4e018999159ab5bc01e94661093e3b6 (patch)
treee3e8b89ae9f5fc9291e950c8ae7eeb6634aa47fc
parentmpv-plugin/autoload: initial import (diff)
downloadguru-bd130288.tar.gz
guru-bd130288.tar.bz2
guru-bd130288.zip
mpv-plugin/autosubsync-mpv: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
-rw-r--r--mpv-plugin/autosubsync-mpv/Manifest1
-rw-r--r--mpv-plugin/autosubsync-mpv/autosubsync-mpv-20220402.ebuild32
-rw-r--r--mpv-plugin/autosubsync-mpv/metadata.xml8
3 files changed, 41 insertions, 0 deletions
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>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+</pkgmetadata>