mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-10 20:18:41 -04:00
mpv-plugin/open-in-mpv-bin: new package, add 2.4.1, 2.4.3
Signed-off-by: Vitaly Zdanevich <zdanevich.vitaly@ya.ru> Closes: https://github.com/gentoo/guru/pull/252 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
parent
f104e3d021
commit
f8c0e6241b
2
mpv-plugin/open-in-mpv/Manifest
Normal file
2
mpv-plugin/open-in-mpv/Manifest
Normal file
@ -0,0 +1,2 @@
|
||||
DIST open-in-mpv_2.4.1.tar.gz 129260 BLAKE2B 729c01d949be57a1ab4ad09dc0e69e609970ebe20112e3c3b060dc1b4a7e4786dfdc2844ae33d222ff11f42dff419da9a6d3feb333b7c9de400d3bac16df7901 SHA512 70228d3e9d89d16ddde3334b86a1fd5a13e09eb342666ede1e816e80aee2a615c6269141375694667597b25e57315de02618cd1573c5f1a24615436e493778df
|
||||
DIST open-in-mpv_2.4.3.tar.gz 129274 BLAKE2B 5e44b35f0ff525bd67f827da096884a95d8bf6cc5bb460f4050f9279a9a4579e087a5694d26f56e4ca46988b673f8b1740b11b1787d7a4d403b23b160f19ef15 SHA512 945ed388d0b7e6b426d90a162d034ca54f8562b81c7ccf176ef84980b4cd806c4eb5f58708546c732089f9c9351ddd8b730e6d40061ab5a848436b19a9404b58
|
11
mpv-plugin/open-in-mpv/metadata.xml
Normal file
11
mpv-plugin/open-in-mpv/metadata.xml
Normal file
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person" proxied="yes">
|
||||
<email>zdanevich.vitaly@ya.ru</email>
|
||||
<name>Vitaly Zdanevich</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">Baldomo/open-in-mpv</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
32
mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild
Normal file
32
mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module desktop xdg
|
||||
|
||||
DESCRIPTION="Simple host script (in Go) for simple web extension to open videos in mpv"
|
||||
HOMEPAGE="https://github.com/Baldomo/open-in-mpv https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv"
|
||||
SRC_URI="https://github.com/Baldomo/open-in-mpv/releases/download/v${PV}/open-in-mpv_${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}_${PV}"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
media-video/mpv
|
||||
net-misc/yt-dlp
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
CGO_ENABLED=0 ego build -ldflags="-s -w -X main.Version=${PV}" -o ${PN} ./cmd/open-in-mpv/
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
domenu scripts/open-in-mpv.desktop
|
||||
dobin ${PN}
|
||||
}
|
32
mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild
Normal file
32
mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild
Normal file
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module desktop xdg
|
||||
|
||||
DESCRIPTION="Simple host script (in Go) for simple web extension to open videos in mpv"
|
||||
HOMEPAGE="https://github.com/Baldomo/open-in-mpv https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv"
|
||||
SRC_URI="https://github.com/Baldomo/open-in-mpv/releases/download/v${PV}/open-in-mpv_${PV}.tar.gz"
|
||||
S="${WORKDIR}/${PN}_${PV}"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
media-video/mpv
|
||||
net-misc/yt-dlp
|
||||
"
|
||||
|
||||
src_compile() {
|
||||
CGO_ENABLED=0 ego build -ldflags="-s -w -X main.Version=${PV}" -o ${PN} ./cmd/open-in-mpv/
|
||||
}
|
||||
|
||||
src_test() {
|
||||
ego test ./...
|
||||
}
|
||||
|
||||
src_install() {
|
||||
domenu scripts/open-in-mpv.desktop
|
||||
dobin ${PN}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user