commit:     964d233a12d97d0ea591e3c8c583c6a6b8129405
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 10 04:23:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Aug 10 04:26:14 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=964d233a

net-p2p/qbittorrent: build GUI component too for webui multibuild

This allows the webui settings to show up in the GUI.

Bug: https://bugs.gentoo.org/839531
Closes: https://bugs.gentoo.org/864731
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../{qbittorrent-9999.ebuild => qbittorrent-4.4.3.1-r1.ebuild}        | 4 +++-
 net-p2p/qbittorrent/qbittorrent-9999.ebuild                           | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild
similarity index 95%
copy from net-p2p/qbittorrent/qbittorrent-9999.ebuild
copy to net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild
index e66a7bbca615..09d844dc745b 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-4.4.3.1-r1.ebuild
@@ -78,7 +78,9 @@ src_configure() {
 
                if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then
                        mycmakeargs+=(
-                               -DGUI=OFF
+                               # Need to specify GUI here to allow webui 
settings
+                               # to appear in the GUI. bug #864731.
+                               -DGUI=$(usex gui)
                                -DWEBUI=ON
                        )
                else

diff --git a/net-p2p/qbittorrent/qbittorrent-9999.ebuild 
b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
index e66a7bbca615..2fb87e1afc1c 100644
--- a/net-p2p/qbittorrent/qbittorrent-9999.ebuild
+++ b/net-p2p/qbittorrent/qbittorrent-9999.ebuild
@@ -78,7 +78,7 @@ src_configure() {
 
                if [[ ${MULTIBUILD_VARIANT} == webui ]] ; then
                        mycmakeargs+=(
-                               -DGUI=OFF
+                               -DGUI=$(usex gui)
                                -DWEBUI=ON
                        )
                else

Reply via email to