Gentoo Archives: gentoo-commits

From: Johannes Huber <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/tomahawk/
Date: Sat, 29 Oct 2016 10:47:03
Message-Id: 1477738012.08cb681f8c0844f7fc7fffdac14a5345302da0ea.johu@gentoo
1 commit: 08cb681f8c0844f7fc7fffdac14a5345302da0ea
2 Author: Johannes Huber <johu <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 29 10:44:31 2016 +0000
4 Commit: Johannes Huber <johu <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 29 10:46:52 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08cb681f
7
8 media-sound/tomahawk: Version bump 0.9.0 pre snapshot
9
10 Last release is ancient, segfaults with Qt5 (bug #591344) and fails to build
11 with latest quazip (bug #598262).
12
13 Gentoo-bug: 591344
14 Gentoo-bug: 598262
15
16 Package-Manager: portage-2.3.2
17
18 media-sound/tomahawk/Manifest | 1 +
19 .../tomahawk/tomahawk-0.9.0_pre20161029.ebuild | 81 ++++++++++++++++++++++
20 2 files changed, 82 insertions(+)
21
22 diff --git a/media-sound/tomahawk/Manifest b/media-sound/tomahawk/Manifest
23 index 3187743..e64b76d 100644
24 --- a/media-sound/tomahawk/Manifest
25 +++ b/media-sound/tomahawk/Manifest
26 @@ -1 +1,2 @@
27 DIST tomahawk-0.8.4.tar.bz2 8611412 SHA256 0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449 SHA512 5b312f593eac39d06de05e24d4ce429122d0777a9d52d6db8c65309ac283d7ae560c2fc189b186f0f8b1a7bbe1135ed0d59e1d850de6a93655e53efe4f5317c7 WHIRLPOOL 3577f47f13b191f0bea42d7c30c00ad8e6346afc7527eb5f5ecb81185183a8e99dcc0559414afbba485db5d80d2e5f9830fe341d4563d3d7427a98f54382e013
28 +DIST tomahawk-0.9.0_pre20161029.tar.xz 7945264 SHA256 de4005fd68dfb11380419829e009f19b901c4b14ccec6dd63400b21612886271 SHA512 fcfe810f167de936ed5457b3f30d7e17ef5708389800c6be85a1f867fc75a6973fcc04181719910c127dcc226619bd7ea31e0273b981f84c8122a2e1709fbcf9 WHIRLPOOL b914df1f2a26cc18af021ef6fce5511b2a103d7243340bcaec3d0c98fa90fc2fcda32cabc8022c2106d9bd9dffa777765e17433dc268f2c317537716c31928f6
29
30 diff --git a/media-sound/tomahawk/tomahawk-0.9.0_pre20161029.ebuild b/media-sound/tomahawk/tomahawk-0.9.0_pre20161029.ebuild
31 new file mode 100644
32 index 00000000..43d4b28
33 --- /dev/null
34 +++ b/media-sound/tomahawk/tomahawk-0.9.0_pre20161029.ebuild
35 @@ -0,0 +1,81 @@
36 +# Copyright 1999-2016 Gentoo Foundation
37 +# Distributed under the terms of the GNU General Public License v2
38 +# $Id$
39 +
40 +EAPI=6
41 +
42 +inherit kde5
43 +
44 +if [[ ${KDE_BUILD_TYPE} != live ]]; then
45 + # SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
46 + SRC_URI="http://dev.gentoo.org/~johu/distfiles/${P}.tar.xz"
47 + KEYWORDS="~amd64 ~x86"
48 +else
49 + EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
50 +fi
51 +
52 +DESCRIPTION="Multi-source social music player"
53 +HOMEPAGE="http://tomahawk-player.org/"
54 +
55 +LICENSE="GPL-3 BSD"
56 +SLOT="0"
57 +IUSE="+hatchet telepathy xmpp"
58 +
59 +CDEPEND="
60 + $(add_frameworks_dep attica)
61 + $(add_qt_dep designer)
62 + $(add_qt_dep qtdbus)
63 + $(add_qt_dep qtgui)
64 + $(add_qt_dep qtnetwork)
65 + $(add_qt_dep qtsql)
66 + $(add_qt_dep qtsvg)
67 + $(add_qt_dep qtwebkit)
68 + $(add_qt_dep qtwidgets)
69 + $(add_qt_dep qtx11extras)
70 + $(add_qt_dep qtxml)
71 + app-crypt/qca:2[qt5]
72 + dev-cpp/lucene++
73 + dev-cpp/sparsehash
74 + dev-libs/boost:=
75 + dev-libs/qtkeychain:=[qt5]
76 + >=dev-libs/quazip-0.7.2[qt5]
77 + >=media-libs/libechonest-2.3.1:=[qt5]
78 + media-libs/liblastfm[qt5]
79 + >=media-libs/taglib-1.8.0
80 + media-video/vlc:=[flac,dvbpsi,ffmpeg,mp3]
81 + >=net-libs/gnutls-3.2:=
82 + x11-libs/libX11
83 + hatchet? ( dev-cpp/websocketpp )
84 + telepathy? ( net-libs/telepathy-qt[qt5] )
85 + xmpp? ( net-libs/jreen[qt5] )
86 +"
87 +DEPEND="${CDEPEND}
88 + $(add_qt_dep linguist-tools)
89 + $(add_qt_dep qtconcurrent)
90 +"
91 +RDEPEND="${CDEPEND}
92 + app-crypt/qca:2[ssl]
93 +"
94 +
95 +DOCS=( AUTHORS ChangeLog README.md )
96 +
97 +PATCHES=( "${FILESDIR}/${PN}-liblastfm-cmake.patch" )
98 +
99 +src_configure() {
100 + local mycmakeargs=(
101 + -DWITH_CRASHREPORTER=OFF
102 + -DBUILD_TESTS=OFF
103 + -DBUILD_TOOLS=OFF
104 + -DBUILD_WITH_QT4=OFF
105 + -DWITH_KDE4=OFF
106 + -DBUILD_HATCHET=$(usex hatchet)
107 + -DWITH_TelepathyQt=$(usex telepathy)
108 + -DWITH_Jreen=$(usex xmpp)
109 + )
110 +
111 + if [[ ${KDE_BUILD_TYPE} != live ]]; then
112 + mycmakeargs+=( -DBUILD_RELEASE=ON )
113 + fi
114 +
115 + kde5_src_configure
116 +}