blob: 11fbc52732b384ea1eb6536d573ad4b9f855833c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
COMMIT=00f602e10203b76fc28b4615868c567e6bd4ced4
inherit kde5 vcs-snapshot
DESCRIPTION="Multi-source social music player"
HOMEPAGE="https://www.tomahawk-player.org/"
SRC_URI="https://github.com/${PN}-player/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3 BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+hatchet telepathy xmpp"
CDEPEND="
$(add_frameworks_dep attica)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtnetwork)
$(add_qt_dep qtsql)
$(add_qt_dep qtsvg)
$(add_qt_dep qtwebkit)
$(add_qt_dep qtwidgets)
$(add_qt_dep qtx11extras)
$(add_qt_dep qtxml)
app-crypt/qca:2[qt5(+)]
dev-cpp/lucene++
dev-cpp/sparsehash
dev-libs/boost:=
dev-libs/qtkeychain:=[qt5(+)]
>=dev-libs/quazip-0.7.2[qt5(+)]
>=media-libs/liblastfm-1.0.9-r1[qt5(+)]
>=media-libs/taglib-1.8.0
media-video/vlc:=[flac,dvbpsi,ffmpeg,mp3]
>=net-libs/gnutls-3.2:=
x11-libs/libX11
hatchet? ( dev-cpp/websocketpp )
telepathy? ( >=net-libs/telepathy-qt-0.9.7-r1[qt5(+)] )
xmpp? ( >=net-libs/jreen-1.3.0[qt5(+)] )
"
DEPEND="${CDEPEND}
$(add_qt_dep designer)
$(add_qt_dep linguist-tools)
$(add_qt_dep qtconcurrent)
"
RDEPEND="${CDEPEND}
app-crypt/qca:2[ssl]
"
DOCS=( AUTHORS ChangeLog README.md )
PATCHES=( "${FILESDIR}/${PN}-liblastfm-cmake.patch" )
src_configure() {
local mycmakeargs=(
-DWITH_CRASHREPORTER=OFF
-DBUILD_TESTS=OFF
-DBUILD_TOOLS=OFF
-DBUILD_WITH_QT4=OFF
-DWITH_KDE4=OFF
-DBUILD_HATCHET=$(usex hatchet)
-DWITH_TelepathyQt=$(usex telepathy)
-DWITH_Jreen=$(usex xmpp)
)
if [[ ${KDE_BUILD_TYPE} != live ]]; then
mycmakeargs+=( -DBUILD_RELEASE=ON )
fi
kde5_src_configure
}
|