From 8a667ad6f566b9bec1e7201f7f837115c180c2f1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Fri, 7 Feb 2020 17:50:25 +0100 Subject: [PATCH] media-sound/cadence: Switch to PYTHON_MULTI_USEDEP API MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- .../{cadence-0.9.0-r3.ebuild => cadence-0.9.0-r4.ebuild} | 8 +++++--- media-sound/cadence/cadence-9999.ebuild | 8 +++++--- 2 files changed, 10 insertions(+), 6 deletions(-) rename media-sound/cadence/{cadence-0.9.0-r3.ebuild => cadence-0.9.0-r4.ebuild} (91%) diff --git a/media-sound/cadence/cadence-0.9.0-r3.ebuild b/media-sound/cadence/cadence-0.9.0-r4.ebuild similarity index 91% rename from media-sound/cadence/cadence-0.9.0-r3.ebuild rename to media-sound/cadence/cadence-0.9.0-r4.ebuild index 6eb22cdfc3f6..08953c0b0c7f 100644 --- a/media-sound/cadence/cadence-0.9.0-r3.ebuild +++ b/media-sound/cadence/cadence-0.9.0-r4.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,8 +20,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet CDEPEND=" ${PYTHON_DEPS} - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_MULTI_USEDEP}] + ') media-sound/jack2[dbus] media-sound/jack_capture a2jmidid? ( media-sound/a2jmidid[dbus] ) diff --git a/media-sound/cadence/cadence-9999.ebuild b/media-sound/cadence/cadence-9999.ebuild index 2350c0a718dc..1059f334e102 100644 --- a/media-sound/cadence/cadence-9999.ebuild +++ b/media-sound/cadence/cadence-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2019 Gentoo Authors +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -20,8 +20,10 @@ REQUIRED_USE="${PYTHON_REQUIRED_USE}" # for jack project rendering also needs media-sound/jack_capture which is not in the tree yet CDEPEND=" ${PYTHON_DEPS} - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/PyQt5[dbus,gui,opengl?,svg,widgets,${PYTHON_MULTI_USEDEP}] + ') media-sound/jack2[dbus] media-sound/jack_capture a2jmidid? ( media-sound/a2jmidid[dbus] ) -- 2.26.2