diff options
Diffstat (limited to 'mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild')
-rw-r--r-- | mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild index ba02bf7f6..33adfb1da 100644 --- a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild +++ b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -MPV_REQ_USE="cplugins,libmpv" +MPV_REQ_USE="cplugins(+),libmpv" inherit mpv-plugin toolchain-funcs DESCRIPTION="MPRIS plugin for mpv" @@ -19,20 +19,18 @@ fi LICENSE="MIT" IUSE="test" +RESTRICT="!test? ( test )" -RDEPEND=" - dev-libs/glib:2 -" +RDEPEND="dev-libs/glib:2" DEPEND="${RDEPEND}" -BDEPEND="virtual/pkgconfig +BDEPEND=" + virtual/pkgconfig test? ( app-misc/jq - app-shells/bash app-text/jo media-sound/playerctl net-misc/socat sys-apps/dbus - virtual/awk x11-apps/xauth x11-misc/xvfb-run x11-themes/sound-theme-freedesktop @@ -41,8 +39,6 @@ BDEPEND="virtual/pkgconfig MPV_PLUGIN_FILES=( mpris.so ) -RESTRICT="!test? ( test )" - src_compile() { tc-export CC emake PKG_CONFIG="$(tc-getPKG_CONFIG)" |