diff options
author | Eli Schwartz <eschwartz93@gmail.com> | 2024-01-21 02:06:47 -0500 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-22 05:54:49 +0000 |
commit | 3398ad32af36f5da298a8dfabe5fd3f180ba3e8e (patch) | |
tree | 0d7dec5079e25024133837d98886e5d8f9d3fe0d /net-p2p/qbittorrent | |
parent | net-p2p/qbittorrent: drop acct-* dependencies to USE=webui (diff) | |
download | gentoo-3398ad32af36f5da298a8dfabe5fd3f180ba3e8e.tar.gz gentoo-3398ad32af36f5da298a8dfabe5fd3f180ba3e8e.tar.bz2 gentoo-3398ad32af36f5da298a8dfabe5fd3f180ba3e8e.zip |
net-p2p/qbittorrent: add back required USE
In commit 6b33e72d8933aca72a03b23870178adc55ec3998, the statement
"enabling the dbus USE flag requires enabling the gui USE flag" was
dropped from the REQUIRED_USE variable, with the following reasoning:
> DBus support is only enabled when GUI is enabled.
This is semantically problematic because it means that portage *thinks*
USE="dbus -gui" produces a different binary than USE="-dbus -gui" even
though they are in reality the same.
On the flip side: unbinding these means that people who set USE="-gui"
will get a constraint violation until they also set -dbus, since it is
by default enabled. But "gui" is also default-enabled, so it just means
that users disabling one have to disable both at the same time.
Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-p2p/qbittorrent')
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild | 4 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild | 4 | ||||
-rw-r--r-- | net-p2p/qbittorrent/qbittorrent-9999.ebuild | 4 |
3 files changed, 9 insertions, 3 deletions
diff --git a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild b/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild index fb5b46da02b2..38a602fd3418 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-4.5.5-r2.ebuild @@ -21,7 +21,9 @@ LICENSE="GPL-2" SLOT="0" IUSE="+dbus +gui qt6 test webui systemd" RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( gui webui )" +REQUIRED_USE="|| ( gui webui ) + dbus? ( gui ) +" RDEPEND=" >=dev-libs/openssl-1.1.1:= diff --git a/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild b/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild index 60d5656adf61..aea6929464d7 100644 --- a/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-4.6.2-r1.ebuild @@ -21,7 +21,9 @@ LICENSE="GPL-2" SLOT="0" IUSE="+dbus +gui qt6 systemd test webui" RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( gui webui )" +REQUIRED_USE="|| ( gui webui ) + dbus? ( gui ) +" RDEPEND=" >=dev-libs/openssl-1.1.1:= diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild b/net-p2p/qbittorrent/qbittorrent-9999.ebuild index 7c839c086c0b..c49dc5560c20 100644 --- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild +++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild @@ -21,7 +21,9 @@ LICENSE="GPL-2" SLOT="0" IUSE="+dbus +gui qt6 test webui systemd" RESTRICT="!test? ( test )" -REQUIRED_USE="|| ( gui webui )" +REQUIRED_USE="|| ( gui webui ) + dbus? ( gui ) +" RDEPEND=" >=dev-libs/openssl-1.1.1:= |