-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mpv-plugin/open-in-mpv-bin: new package, add 2.3.0
Signed-off-by: Vitaly Zdanevich <[email protected]>
- Loading branch information
1 parent
016fbdc
commit 13afbc9
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} |