Install this version:
emerge -a =media-plugins/mpv-mpris-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =media-plugins/mpv-mpris-9999
Or alternatively:
emerge --autounmask-write -a =media-plugins/mpv-mpris-9999
| Version | EAPI | Keywords | Slot |
|---|---|---|---|
| 9999 | 9 | 0 |
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=9
inherit git-r3 toolchain-funcs
DESCRIPTION="MPRIS plugin for mpv"
HOMEPAGE="https://github.com/hoyon/mpv-mpris"
EGIT_REPO_URI="https://github.com/hoyon/${PN}.git"
LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="dev-libs/glib:2
media-video/ffmpeg:=
media-video/mpv[libmpv]"
DEPEND="${RDEPEND}"
BDEPEND="virtual/pkgconfig
test? ( app-misc/jq
media-sound/playerctl
net-misc/socat
sys-apps/dbus
x11-apps/xauth
x11-misc/xvfb-run
x11-themes/sound-theme-freedesktop )"
src_compile() {
tc-export CC
emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
}
src_install() {
einstalldocs
emake DESTDIR="${D}" PREFIX=/usr PLUGINDIR="/usr/$(get_libdir)/mpv" \
install-system
}
Manage flags for this package:
euse -i <flag> -p media-plugins/mpv-mpris |
euse -E <flag> -p media-plugins/mpv-mpris |
euse -D <flag> -p media-plugins/mpv-mpris
dev-libs/glib:2 media-video/ffmpeg:= media-video/mpv[libmpv]
dev-libs/glib:2 media-video/ffmpeg:= media-video/mpv[libmpv]
virtual/pkgconfig test? ( app-misc/jq media-sound/playerctl net-misc/socat sys-apps/dbus x11-apps/xauth x11-misc/xvfb-run x11-themes/sound-theme-freedesktop )