commit:     b1ad3296f03fb552fac2897ca142f8af52032326
Author:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
AuthorDate: Sat Jul 20 08:02:12 2024 +0000
Commit:     Takuya Wakazono <pastalian46 <AT> gmail <DOT> com>
CommitDate: Sat Jul 20 08:10:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b1ad3296

net-misc/megasync: fix runtime dependency

dev-qt/qtquickcontrols{,2} is required as a runtime dependency. If this
is not present in an environment that has not done initial setup,
megasync will crash. This does not occur in environment that have
already done initial setup.

Closes: https://bugs.gentoo.org/936323
Signed-off-by: Takuya Wakazono <pastalian46 <AT> gmail.com>

 .../{megasync-5.3.0.0.ebuild => megasync-5.3.0.0-r1.ebuild}         | 6 +++++-
 net-misc/megasync/megasync-9999.ebuild                              | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/net-misc/megasync/megasync-5.3.0.0.ebuild 
b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
similarity index 97%
rename from net-misc/megasync/megasync-5.3.0.0.ebuild
rename to net-misc/megasync/megasync-5.3.0.0-r1.ebuild
index c93022217..8b25de399 100644
--- a/net-misc/megasync/megasync-5.3.0.0.ebuild
+++ b/net-misc/megasync/megasync-5.3.0.0-r1.ebuild
@@ -76,7 +76,11 @@ DEPEND="
        )
        thunar? ( xfce-base/thunar:= )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       dev-qt/qtquickcontrols:5
+       dev-qt/qtquickcontrols2:5
+"
 BDEPEND="
        dev-qt/linguist-tools:5
        dolphin? ( kde-frameworks/extra-cmake-modules )

diff --git a/net-misc/megasync/megasync-9999.ebuild 
b/net-misc/megasync/megasync-9999.ebuild
index c93022217..8b25de399 100644
--- a/net-misc/megasync/megasync-9999.ebuild
+++ b/net-misc/megasync/megasync-9999.ebuild
@@ -76,7 +76,11 @@ DEPEND="
        )
        thunar? ( xfce-base/thunar:= )
 "
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       dev-qt/qtquickcontrols:5
+       dev-qt/qtquickcontrols2:5
+"
 BDEPEND="
        dev-qt/linguist-tools:5
        dolphin? ( kde-frameworks/extra-cmake-modules )

Reply via email to