/[gentoo-x86]/media-sound/tomahawk/tomahawk-9999.ebuild
Gentoo

Contents of /media-sound/tomahawk/tomahawk-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.34 - (show annotations) (download)
Fri Jun 19 12:27:23 2015 UTC (2 months, 1 week ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.33: +3 -2 lines
Update qt5 use flag dependencies.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0xF3CFD2BD)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/tomahawk-9999.ebuild,v 1.33 2015/05/30 21:07:18 johu Exp $
4
5 EAPI=5
6
7 KDE_REQUIRED="optional"
8 inherit kde4-base ${GIT_ECLASS}
9
10 if [[ ${PV} != *9999* ]]; then
11 SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
12 KEYWORDS="~amd64 ~x86"
13 else
14 GIT_ECLASS="git-r3"
15 EGIT_REPO_URI="git://github.com/tomahawk-player/${PN}.git"
16 KEYWORDS=""
17 fi
18
19 DESCRIPTION="Multi-source social music player"
20 HOMEPAGE="http://tomahawk-player.org/"
21
22 LICENSE="GPL-3 BSD"
23 SLOT="0"
24 IUSE="debug +hatchet kde qt5 telepathy xmpp"
25
26 REQUIRED_USE="telepathy? ( kde )"
27
28 DEPEND="
29 dev-cpp/lucene++
30 dev-cpp/sparsehash
31 dev-libs/boost:=
32 >=media-libs/taglib-1.8.0
33 >=net-libs/gnutls-3.2
34 x11-libs/libX11
35 hatchet? ( dev-cpp/websocketpp )
36 xmpp? ( net-libs/jreen )
37 !qt5? (
38 app-crypt/qca:2[qt4]
39 >=dev-libs/libattica-0.4.0
40 dev-libs/qjson
41 dev-libs/qtkeychain[qt4]
42 dev-libs/quazip[qt4]
43 dev-qt/designer:4
44 dev-qt/qtcore:4
45 dev-qt/qtdbus:4
46 dev-qt/qtgui:4
47 dev-qt/qtsql:4[sqlite]
48 dev-qt/qtsvg:4
49 dev-qt/qtwebkit:4
50 media-libs/phonon[qt4]
51 >=media-libs/libechonest-2.3.0:=[qt4]
52 media-libs/liblastfm[qt4]
53 telepathy? ( net-libs/telepathy-qt[qt4] )
54 )
55 qt5? (
56 app-crypt/qca:2[qt5]
57 dev-libs/qtkeychain[qt5]
58 dev-libs/quazip[qt5]
59 dev-qt/designer:5
60 dev-qt/qtcore:5
61 dev-qt/qtsvg:5
62 dev-qt/qtwebkit:5
63 dev-qt/qtwidgets:5
64 kde-frameworks/attica:5
65 media-libs/phonon[qt5]
66 >=media-libs/libechonest-2.3.0:=[qt5]
67 media-libs/liblastfm[qt5]
68 telepathy? ( net-libs/telepathy-qt[qt5] )
69 )
70 "
71 RDEPEND="${DEPEND}
72 app-crypt/qca:2[openssl]
73 "
74
75 DOCS=( AUTHORS ChangeLog README.md )
76
77 src_configure() {
78 local mycmakeargs=(
79 -DWITH_CRASHREPORTER=OFF
80 $(cmake-utils_use_build hatchet)
81 $(cmake-utils_use_with xmpp Jreen)
82 $(cmake-utils_use_with kde KDE4)
83 $(cmake-utils_use_build !qt5 WITH_QT4)
84 $(cmake-utils_use_with telepathy TelepathyQt)
85 )
86
87 if [[ ${PV} != *9999* ]]; then
88 mycmakeargs+=( -DBUILD_RELEASE=ON )
89 fi
90
91 cmake-utils_src_configure
92 }
93
94 src_compile() {
95 cmake-utils_src_compile
96 }
97
98 src_install() {
99 cmake-utils_src_install
100 }

  ViewVC Help
Powered by ViewVC 1.1.20