From: Andreas Sturmlechner Date: Thu, 22 Mar 2018 18:00:46 +0000 (+0100) Subject: media-sound/tomahawk: Compat. with liblastfm-1.1.0_pre20150206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=347fa987bb937bde8c00701b769f51ba9b39b70e;p=gentoo.git media-sound/tomahawk: Compat. with liblastfm-1.1.0_pre20150206 Package-Manager: Portage-2.3.24, Repoman-2.3.6 --- 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=(