Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/kde:master commit in: media-sound/amarok/files/, media-sound/amarok/
Date: Thu, 22 Mar 2018 18:45:42
Message-Id: 1521740282.4b0a8075fd9834060a509b1671ace4c7c486572d.asturm@gentoo
1 commit: 4b0a8075fd9834060a509b1671ace4c7c486572d
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Thu Mar 22 17:38:02 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Thu Mar 22 17:38:02 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=4b0a8075
7
8 media-sound/amarok: Depend on correct liblastfm version
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-sound/amarok/amarok-9999.ebuild | 7 ++----
13 .../amarok/files/amarok-liblastfm-headers.patch | 25 ----------------------
14 2 files changed, 2 insertions(+), 30 deletions(-)
15
16 diff --git a/media-sound/amarok/amarok-9999.ebuild b/media-sound/amarok/amarok-9999.ebuild
17 index d573a1e07e..c7e76ed391 100644
18 --- a/media-sound/amarok/amarok-9999.ebuild
19 +++ b/media-sound/amarok/amarok-9999.ebuild
20 @@ -73,7 +73,7 @@ COMMONDEPEND="
21 dev-libs/glib:2
22 >=media-libs/libgpod-0.7.0[gtk]
23 )
24 - lastfm? ( media-libs/liblastfm[qt5(+)] )
25 + lastfm? ( >=media-libs/liblastfm-1.1.0_pre20150206 )
26 mtp? ( >=media-libs/libmtp-1.0.0 )
27 podcast? ( >=media-libs/libmygpo-qt-1.0.9[qt5(+)] )
28 wikipedia? ( $(add_qt_dep qtwebengine) )
29 @@ -87,10 +87,7 @@ RDEPEND="${COMMONDEPEND}
30 $(add_qt_dep qtquickcontrols2)
31 "
32
33 -PATCHES=(
34 - "${FILESDIR}"/${PN}-2.8.90-mysqld-rpath.patch
35 - "${FILESDIR}"/${PN}-liblastfm-headers.patch
36 -)
37 +PATCHES=( "${FILESDIR}"/${PN}-2.8.90-mysqld-rpath.patch )
38
39 src_configure() {
40 local mycmakeargs=(
41
42 diff --git a/media-sound/amarok/files/amarok-liblastfm-headers.patch b/media-sound/amarok/files/amarok-liblastfm-headers.patch
43 deleted file mode 100644
44 index 7120db0412..0000000000
45 --- a/media-sound/amarok/files/amarok-liblastfm-headers.patch
46 +++ /dev/null
47 @@ -1,25 +0,0 @@
48 -From b331e6e7c0e34dd896e21b9d1569214a0ec0fddb Mon Sep 17 00:00:00 2001
49 -From: Andreas Sturmlechner <andreas.sturmlechner@×××××.com>
50 -Date: Mon, 19 Mar 2018 22:26:54 +0100
51 -Subject: [PATCH] Search for liblastfm header path without suffix
52 -
53 ----
54 - cmake/modules/FindLibLastFm.cmake | 2 +-
55 - 1 file changed, 1 insertion(+), 1 deletion(-)
56 -
57 -diff --git a/cmake/modules/FindLibLastFm.cmake b/cmake/modules/FindLibLastFm.cmake
58 -index a3a065f181..ef89423c90 100644
59 ---- a/cmake/modules/FindLibLastFm.cmake
60 -+++ b/cmake/modules/FindLibLastFm.cmake
61 -@@ -13,7 +13,7 @@ find_path(LIBLASTFM_INCLUDE_DIR NAMES global.h
62 - /opt/local/include
63 - /usr/include
64 - /usr/local/include
65 -- PATH_SUFFIXES lastfm5
66 -+ PATH_SUFFIXES lastfm5 lastfm
67 - )
68 -
69 - find_library( LIBLASTFM_LIBRARY NAMES lastfm5
70 ---
71 -2.16.2
72 -