/[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.25 - (show annotations) (download)
Wed May 7 17:36:48 2014 UTC (2 months ago) by johu
Branch: MAIN
CVS Tags: HEAD
Changes since 1.24: +3 -2 lines
Disable crash reporter requested by upstream developer Uwe L. Korn <uwelk@xhochy.com>.

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

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.24 2014/04/06 17:38:44 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="Qt playdar 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 DEPEND="
29 app-crypt/qca:2
30 >=dev-cpp/clucene-2.3.3.4
31 >=dev-libs/boost-1.41
32 dev-libs/qjson
33 dev-libs/quazip
34 dev-libs/qtkeychain
35 >=media-libs/libechonest-2.2.0:=
36 >=media-libs/liblastfm-1.0.1
37 >=media-libs/phonon-4.5.0
38 >=media-libs/taglib-1.6.0
39 x11-libs/libX11
40 jabber? ( >=net-libs/jreen-1.1.1 )
41 !qt5? (
42 >=dev-libs/libattica-0.4.0
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 )
51 qt5? (
52 >=dev-libs/libattica-0.4.0[qt5]
53 dev-qt/designer:5
54 dev-qt/qtcore:5
55 dev-qt/qtsvg:5
56 dev-qt/qtwebkit:5
57 dev-qt/qtwidgets:5
58 )
59 telepathy? ( net-libs/telepathy-qt )
60 "
61 RDEPEND="${DEPEND}
62 app-crypt/qca-ossl
63 "
64
65 DOCS=( AUTHORS ChangeLog README.md )
66
67 src_configure() {
68 local mycmakeargs=(
69 -DWITH_CRASHREPORTER=OFF
70 $(cmake-utils_use_with jabber Jreen)
71 $(cmake-utils_use_with kde KDE4)
72 $(cmake-utils_use_build !qt5 WITH_QT4)
73 $(cmake-utils_use_with telepathy TelepathyQt)
74 )
75
76 if [[ ${PV} != *9999* ]]; then
77 mycmakeargs+=( -DBUILD_RELEASE=ON )
78 fi
79
80 cmake-utils_src_configure
81 }
82
83 src_compile() {
84 cmake-utils_src_compile
85 }
86
87 src_install() {
88 cmake-utils_src_install
89 }

  ViewVC Help
Powered by ViewVC 1.1.20