/[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.27 - (show annotations) (download)
Tue Jul 22 18:37:57 2014 UTC (3 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.26: +16 -8 lines
Update dependencies, bug #517616.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)

1 # Copyright 1999-2014 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.26 2014/07/19 11:40:34 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 jabber kde qt5 telepathy"
25
26 REQUIRED_USE="telepathy? ( kde )"
27
28 # TODO
29 # qt5 use flag needs a lot of work:
30 # - deps with missing qt4/qt5 use flags
31 # - does not build with in-tree only deps
32 DEPEND="
33 app-crypt/qca:2
34 >=dev-cpp/clucene-2.3.3.4
35 dev-cpp/sparsehash
36 >=dev-libs/boost-1.41
37 dev-libs/quazip
38 >=media-libs/libechonest-2.2.0:=
39 media-libs/liblastfm
40 >=media-libs/taglib-1.8.0
41 >=net-libs/gnutls-3.2
42 x11-libs/libX11
43 jabber? ( net-libs/jreen )
44 !qt5? (
45 >=dev-libs/libattica-0.4.0
46 dev-libs/qjson
47 dev-libs/qtkeychain[qt4]
48 dev-qt/designer:4
49 dev-qt/qtcore:4
50 dev-qt/qtdbus:4
51 dev-qt/qtgui:4
52 dev-qt/qtsql:4[sqlite]
53 dev-qt/qtsvg:4
54 dev-qt/qtwebkit:4
55 media-libs/phonon[qt4]
56 )
57 qt5? (
58 dev-libs/qtkeychain[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 )
67 telepathy? ( net-libs/telepathy-qt )
68 "
69 RDEPEND="${DEPEND}
70 app-crypt/qca-ossl
71 "
72
73 DOCS=( AUTHORS ChangeLog README.md )
74
75 src_configure() {
76 local mycmakeargs=(
77 -DWITH_CRASHREPORTER=OFF
78 $(cmake-utils_use_with jabber Jreen)
79 $(cmake-utils_use_with kde KDE4)
80 $(cmake-utils_use_build !qt5 WITH_QT4)
81 $(cmake-utils_use_with telepathy TelepathyQt)
82 )
83
84 if [[ ${PV} != *9999* ]]; then
85 mycmakeargs+=( -DBUILD_RELEASE=ON )
86 fi
87
88 cmake-utils_src_configure
89 }
90
91 src_compile() {
92 cmake-utils_src_compile
93 }
94
95 src_install() {
96 cmake-utils_src_install
97 }

  ViewVC Help
Powered by ViewVC 1.1.20