aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:11:26 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:10 +0200
commit1c96d7cec4ddafb8e3fff66d075d78e668895f4f (patch)
tree17769b1848a600020b9c88ace73e2bd0a8156a8d /mpv-plugin
parentmpv-plugin/mpv-plugin-xrandr: initial import (diff)
downloadguru-1c96d7cec4ddafb8e3fff66d075d78e668895f4f.tar.gz
guru-1c96d7cec4ddafb8e3fff66d075d78e668895f4f.tar.bz2
guru-1c96d7cec4ddafb8e3fff66d075d78e668895f4f.zip
mpv-plugin/mpv_thumbnail_script: move from media-video/mpv_thumbnail_script
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
Diffstat (limited to 'mpv-plugin')
-rw-r--r--mpv-plugin/mpv_thumbnail_script/Manifest1
-rw-r--r--mpv-plugin/mpv_thumbnail_script/metadata.xml8
-rw-r--r--mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.8.ebuild30
3 files changed, 39 insertions, 0 deletions
diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
new file mode 100644
index 000000000..4570f96b5
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -0,0 +1 @@
+DIST mpv_thumbnail_script-0.4.8.tar.gz 2583047 BLAKE2B dabcc477b49ceac3b15ffcde0c6ff072797a42109a2a8a0b4bcb2a029964fe8b3095f45691b6a03924ad960c1643354f09bc370caa63aa64a3bfa2aadc94a326 SHA512 b28b8dc2b268725d15aa1f0ca2a8dd512d6eb5f9a520786a0d59beae79a1608b6e7a783c92cb75950f36c85893834acf85c75f457995248116c54fc1832792bd
diff --git a/mpv-plugin/mpv_thumbnail_script/metadata.xml b/mpv-plugin/mpv_thumbnail_script/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/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_thumbnail_script/mpv_thumbnail_script-0.4.8.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.8.ebuild
new file mode 100644
index 000000000..21d82b623
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.8.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{8..10} )
+inherit mpv-plugin python-any-r1
+
+DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"
+HOMEPAGE="https://github.com/marzzzello/mpv_thumbnail_script"
+
+SRC_URI="https://github.com/marzzzello/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+ ${PN}_client_osc.lua
+ ${PN}_server.lua
+)
+
+src_compile() {
+ ${EPYTHON} concat_files.py -r "cat_osc.json" || die
+ ${EPYTHON} concat_files.py -r "cat_server.json" || die
+}