commit: 64f4317ac128806740896e504c82ce041c1d6a5b Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Fri Nov 11 14:10:26 2022 +0000 Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> CommitDate: Fri Nov 11 14:10:26 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=64f4317a
mpv-plugin/mpv-mpris: fix MPV_REQ_USE Closes: https://bugs.gentoo.org/880335 Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in> mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.ebuild | 2 +- mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild | 7 +++---- mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild | 14 +++++--------- 3 files changed, 9 insertions(+), 14 deletions(-) diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.ebuild index ba02bf7f6..aeb13cc3d 100644 --- a/mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.ebuild +++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.8.1.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" diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild index ba02bf7f6..a9bcf1de1 100644 --- a/mpv-plugin/mpv-mpris/mpv-mpris-0.9.ebuild +++ b/mpv-plugin/mpv-mpris/mpv-mpris-0.9.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" @@ -24,15 +24,14 @@ 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 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)"