Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mpv-plugin/open-in-mpv-bin: new package, add 2.3.0 #252

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
Loading