guru/mpv-plugin/autoload/autoload-0.35.1.ebuild
Nicola Smaniotto 0d154d51a4
mpv-plugin/autoload: add 0.35.1
Signed-off-by: Nicola Smaniotto <smaniotto.nicola@gmail.com>
2023-02-27 16:13:32 +01:00

26 lines
667 B
Bash

# 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 MIT"
KEYWORDS="~amd64"
# lock mpv version
RDEPEND="~media-video/mpv-${PV}"
S="${WORKDIR}/mpv-${PV}/TOOLS/lua"
MPV_PLUGIN_FILES=( ${PN}.lua )