commit:     347fa987bb937bde8c00701b769f51ba9b39b70e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Mar 22 18:00:46 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Mar 22 18:02:24 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=347fa987

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 11fbc52732b..15c73708429 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=(

Reply via email to