From 347fa987bb937bde8c00701b769f51ba9b39b70e Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Thu, 22 Mar 2018 19:00:46 +0100 Subject: [PATCH] media-sound/tomahawk: Compat. with liblastfm-1.1.0_pre20150206 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild b/media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild index 11fbc52732b3..15c73708429e 100644 --- a/media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild +++ b/media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -50,9 +50,11 @@ RDEPEND="${CDEPEND} app-crypt/qca:2[ssl] " -DOCS=( AUTHORS ChangeLog README.md ) - -PATCHES=( "${FILESDIR}/${PN}-liblastfm-cmake.patch" ) +src_prepare() { + kde5_src_prepare + has_version "media-libs/liblastfm[qt5]" && + eapply "${FILESDIR}/${PN}-liblastfm-cmake.patch" +} src_configure() { local mycmakeargs=( -- 2.26.2