mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 05:23:01 -04:00
media-plugins/mpv_sponsorblock_minimal: New Package
Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
This commit is contained in:
8
media-plugins/mpv_sponsorblock_minimal/metadata.xml
Normal file
8
media-plugins/mpv_sponsorblock_minimal/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>contact@hacktivis.me</email>
|
||||
<name>Haelwenn (lanodan) Monnier</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
||||
@@ -0,0 +1,30 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# No lua5.2+ in mpv
|
||||
LUA_COMPAT=( lua5-1 luajit )
|
||||
|
||||
inherit lua-single
|
||||
|
||||
DESCRIPTION="Simple mpv script to skip sponsored segments of YouTube videos"
|
||||
HOMEPAGE="https://codeberg.org/jouni/mpv_sponsorblock_minimal"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
|
||||
REQUIRED_USE="${LUA_REQUIRED_USE}"
|
||||
DEPEND="${LUA_DEPS}"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
$(lua_gen_cond_dep '
|
||||
media-video/mpv[${LUA_USEDEP}]
|
||||
')
|
||||
net-misc/curl
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/share/mpv/lua/sponsorblock-minimal.lua"
|
||||
doins sponsorblock_minimal.lua
|
||||
}
|
||||
Reference in New Issue
Block a user