commit:     ad1de6c8cc71d1f2e28be9b744453fb91f14fa7d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 24 16:50:19 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sat Apr 24 16:52:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad1de6c8

kde-apps/juk: Fix upstream linking and add missing DEPEND

See also: https://invent.kde.org/multimedia/juk/-/merge_requests/24

Reported-by: Christophe Lermytte <gentoo <AT> lermytte.be>
Closes: https://bugs.gentoo.org/785418
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-apps/juk/files/juk-21.04.0-missing-link.patch | 29 +++++++++++++++++++++++
 kde-apps/juk/juk-21.04.0.ebuild                   |  8 +++++--
 2 files changed, 35 insertions(+), 2 deletions(-)

diff --git a/kde-apps/juk/files/juk-21.04.0-missing-link.patch 
b/kde-apps/juk/files/juk-21.04.0-missing-link.patch
new file mode 100644
index 00000000000..cb59f81e83e
--- /dev/null
+++ b/kde-apps/juk/files/juk-21.04.0-missing-link.patch
@@ -0,0 +1,29 @@
+From c36b4aba0946b932f9da335e77295af2e31dff6d Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <ast...@gentoo.org>
+Date: Sat, 24 Apr 2021 18:44:04 +0200
+Subject: [PATCH] Add missing Qt5Concurrent to target_link_libraries
+
+This was working as long as it was implicitly provided by KIO.
+
+See also: https://invent.kde.org/frameworks/kio/-/merge_requests/426
+
+Signed-off-by: Andreas Sturmlechner <ast...@gentoo.org>
+---
+ CMakeLists.txt | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index e30cfad6..f3413e6a 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -162,6 +162,7 @@ if(NOT MSVC AND NOT ( WIN32 AND "${CMAKE_CXX_COMPILER_ID}" 
STREQUAL "Intel" ) )
+ endif()
+ 
+ target_link_libraries(juk ${LIBMATH}
++    Qt5::Concurrent
+     Qt5::Gui
+     Qt5::Svg
+     Qt5::Widgets
+-- 
+2.31.1
+

diff --git a/kde-apps/juk/juk-21.04.0.ebuild b/kde-apps/juk/juk-21.04.0.ebuild
index e3b9167438e..ade918bc4e5 100644
--- a/kde-apps/juk/juk-21.04.0.ebuild
+++ b/kde-apps/juk/juk-21.04.0.ebuild
@@ -17,7 +17,7 @@ SLOT="5"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
 IUSE=""
 
-DEPEND="
+RDEPEND="
        >=dev-qt/qtdbus-${QTMIN}:5
        >=dev-qt/qtgui-${QTMIN}:5
        >=dev-qt/qtnetwork-${QTMIN}:5
@@ -43,4 +43,8 @@ DEPEND="
        >=media-libs/phonon-4.11.0
        >=media-libs/taglib-1.6
 "
-RDEPEND="${DEPEND}"
+DEPEND="${RDEPEND}
+       >=dev-qt/qtconcurrent-${QTMIN}:5
+"
+
+PATCHES=( "${FILESDIR}/${P}-missing-link.patch" ) # bug 785418

Reply via email to