aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:05:36 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:09 +0200
commite7c42e6fac12eb81f5ce2c6d0a2ea3bcb351d157 (patch)
tree48b2c4ec53c3a03c1fc0fdf86d96ed99dea6ed42 /mpv-plugin
parentmpv-plugin/kde-night-color: initial import (diff)
downloadguru-e7c42e6fac12eb81f5ce2c6d0a2ea3bcb351d157.tar.gz
guru-e7c42e6fac12eb81f5ce2c6d0a2ea3bcb351d157.tar.bz2
guru-e7c42e6fac12eb81f5ce2c6d0a2ea3bcb351d157.zip
mpv-plugin/mpv-autosub: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
Diffstat (limited to 'mpv-plugin')
-rw-r--r--mpv-plugin/mpv-autosub/Manifest1
-rw-r--r--mpv-plugin/mpv-autosub/metadata.xml8
-rw-r--r--mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild27
3 files changed, 36 insertions, 0 deletions
diff --git a/mpv-plugin/mpv-autosub/Manifest b/mpv-plugin/mpv-autosub/Manifest
new file mode 100644
index 000000000..b846c710c
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/Manifest
@@ -0,0 +1 @@
+DIST mpv-autosub-20210629.tar.gz 5080 BLAKE2B cfedb100e9d95626b85b6e60579512121130ef0443e5d00bef86418779a37dfaac2c964083e4395017e46ca2199b8b769e794ed96f30342be9c7c4b04a122b18 SHA512 ae3da7ed624a40acef543aaa38b2220e71db1608eac965f38aeec17d552e86dda6f7b13b8018b0383ecced0acc26f3cea44efa4e750728310b9f27638f2d7045
diff --git a/mpv-plugin/mpv-autosub/metadata.xml b/mpv-plugin/mpv-autosub/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/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>
diff --git a/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild b/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild
new file mode 100644
index 000000000..b8a8fecc3
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild
@@ -0,0 +1,27 @@
+# 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="35115355bd339681f97d067538356c29e5b14afa"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="Fully automatic subtitle downloading for the MPV media player"
+HOMEPAGE="https://github.com/davidde/mpv-autosub"
+
+SRC_URI="https://github.com/davidde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-video/subliminal
+"
+
+S="${WORKDIR}/${MY_P}"
+
+MPV_PLUGIN_FILES=( autosub.lua )