summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 18:50:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2021-04-24 18:52:00 +0200
commitad1de6c8cc71d1f2e28be9b744453fb91f14fa7d (patch)
tree578adf9507b3b6154b8ce9c500f269f646da04fb
parentkde-apps/palapeli: Drop bogus dep (diff)
downloadgentoo-ad1de6c8cc71d1f2e28be9b744453fb91f14fa7d.tar.gz
gentoo-ad1de6c8cc71d1f2e28be9b744453fb91f14fa7d.tar.bz2
gentoo-ad1de6c8cc71d1f2e28be9b744453fb91f14fa7d.zip
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@lermytte.be> Closes: https://bugs.gentoo.org/785418 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-apps/juk/files/juk-21.04.0-missing-link.patch29
-rw-r--r--kde-apps/juk/juk-21.04.0.ebuild8
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 000000000000..cb59f81e83e4
--- /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 <asturm@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 <asturm@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 e3b9167438eb..ade918bc4e55 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