aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:04:58 +0200
committerNicola Smaniotto <smaniotto.nicola@gmail.com>2022-05-03 14:14:09 +0200
commitb28384f839ffacb568cb4a6804395d97a52b41dc (patch)
tree91bbf69302975db10d523fd2152d2b48d74a32b5
parentprofiles: add mpv-plugin category (diff)
downloadguru-b28384f8.tar.gz
guru-b28384f8.tar.bz2
guru-b28384f8.zip
mpv-plugin/autoload: initial import
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
-rw-r--r--mpv-plugin/autoload/Manifest1
-rw-r--r--mpv-plugin/autoload/autoload-0.33.1.ebuild25
-rw-r--r--mpv-plugin/autoload/metadata.xml8
3 files changed, 34 insertions, 0 deletions
diff --git a/mpv-plugin/autoload/Manifest b/mpv-plugin/autoload/Manifest
new file mode 100644
index 000000000..ec4b015b3
--- /dev/null
+++ b/mpv-plugin/autoload/Manifest
@@ -0,0 +1 @@
+DIST mpv-0.33.1.tar.gz 3259882 BLAKE2B 97ab101c2013ffb219d36a788020fb9fc4382d09971ac0beee42701a54667a6c766521be7b052193de4505b2117c2d47b3682ebafab46632fc40b637e0d19c04 SHA512 99d6c40d18c5cf83814b44ec6d8eade229800c5b51a734c9bbe831c3aeb95f8931124c94f6ae2360ffff62053c163bc3c55b254df021e005b350ebc3df7e952b
diff --git a/mpv-plugin/autoload/autoload-0.33.1.ebuild b/mpv-plugin/autoload/autoload-0.33.1.ebuild
new file mode 100644
index 000000000..f82929a01
--- /dev/null
+++ b/mpv-plugin/autoload/autoload-0.33.1.ebuild
@@ -0,0 +1,25 @@
+# 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
+
+DESCRIPTION="Loads playlist entries before and after the the currently played file"
+HOMEPAGE="https://github.com/mpv-player/mpv/tree/master/TOOLS/lua"
+
+# use the already available mpv tarball
+SRC_URI="https://github.com/mpv-player/mpv/archive/v${PV}.tar.gz -> mpv-${PV}.tar.gz"
+
+# since this comes from mpv, use its licenses
+LICENSE="LGPL-2.1+ GPL-2+ BSD ISC"
+KEYWORDS="~amd64"
+
+# lock mpv version
+RDEPEND="~media-video/mpv-${PV}"
+
+S="${WORKDIR}/mpv-${PV}/TOOLS/lua"
+
+MPV_PLUGIN_FILES=( ${PN}.lua )
diff --git a/mpv-plugin/autoload/metadata.xml b/mpv-plugin/autoload/metadata.xml
new file mode 100644
index 000000000..be3f1030e
--- /dev/null
+++ b/mpv-plugin/autoload/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>