media-sound/tomahawk: Compat. with liblastfm-1.1.0_pre20150206
authorAndreas Sturmlechner <asturm@gentoo.org>
Thu, 22 Mar 2018 18:00:46 +0000 (19:00 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Thu, 22 Mar 2018 18:02:24 +0000 (19:02 +0100)
Package-Manager: Portage-2.3.24, Repoman-2.3.6

media-sound/tomahawk/tomahawk-0.9.0_pre20170808.ebuild

index 11fbc52732b384ea1eb6536d573ad4b9f855833c..15c73708429e378c15627c9a5061f50295f707d6 100644 (file)
@@ -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=(