Skip to content

Commit

Permalink
mpv-plugin/open-in-mpv-bin: new package, add 2.3.0
Browse files Browse the repository at this point in the history
Signed-off-by: Vitaly Zdanevich <[email protected]>
  • Loading branch information
vitaly-zdanevich committed Oct 25, 2024
1 parent 016fbdc commit 13afbc9
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
1 change: 1 addition & 0 deletions mpv-plugin/open-in-mpv-bin/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST open-in-mpv-bin-2.3.0.tar 3053568 BLAKE2B 8889085049832d280198c9483bcb6cbe4b9112a8d8f1c4dac915fd6ce93fbfe0fe3706eeed2f67fdbf74ef36c18925abfe5325e4f5c2c6e7d1faba3fc95d1319 SHA512 70103400054cdd90e571bac179344b64702b020f20495d52a6d1b7a20d4711efc8e5dab0d64790f6807daef564dbbe8271619c5545932b37be943d44b908f18a
11 changes: 11 additions & 0 deletions mpv-plugin/open-in-mpv-bin/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>[email protected]</email>
<name>Vitaly Zdanevich</name>
</maintainer>
<upstream>
<remote-id type="github">Baldomo/open-in-mpv</remote-id>
</upstream>
</pkgmetadata>
33 changes: 33 additions & 0 deletions mpv-plugin/open-in-mpv-bin/open-in-mpv-bin-2.3.0.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit desktop xdg-utils

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}/linux.tar -> ${P}.tar"
S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
media-video/mpv
"

QA_PREBUILT='usr/bin/open-in-mpv'

src_install() {
domenu open-in-mpv.desktop
dobin open-in-mpv
}

pkg_postinst() {
xdg_desktop_database_update
}

pkg_postrm() {
xdg_desktop_database_update
}

0 comments on commit 13afbc9

Please sign in to comment.