Gentoo Archives: gentoo-commits

From: "Johannes Huber (johu)" <johu@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/tomahawk: tomahawk-0.4.1.ebuild ChangeLog tomahawk-0.3.3.ebuild
Date: Fri, 06 Apr 2012 22:32:23
Message-Id: 20120406223213.CDEFC2004B@flycatcher.gentoo.org
1 johu 12/04/06 22:32:13
2
3 Modified: ChangeLog
4 Added: tomahawk-0.4.1.ebuild
5 Removed: tomahawk-0.3.3.ebuild
6 Log:
7 Version bump, remove old.
8
9 (Portage version: 2.2.0_alpha99/cvs/Linux i686)
10
11 Revision Changes Path
12 1.10 media-sound/tomahawk/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tomahawk/ChangeLog?rev=1.10&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tomahawk/ChangeLog?rev=1.10&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tomahawk/ChangeLog?r1=1.9&r2=1.10
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/media-sound/tomahawk/ChangeLog,v
21 retrieving revision 1.9
22 retrieving revision 1.10
23 diff -u -r1.9 -r1.10
24 --- ChangeLog 6 Apr 2012 08:44:31 -0000 1.9
25 +++ ChangeLog 6 Apr 2012 22:32:13 -0000 1.10
26 @@ -1,6 +1,12 @@
27 # ChangeLog for media-sound/tomahawk
28 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/ChangeLog,v 1.9 2012/04/06 08:44:31 scarabeus Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/ChangeLog,v 1.10 2012/04/06 22:32:13 johu Exp $
31 +
32 +*tomahawk-0.4.1 (06 Apr 2012)
33 +
34 + 06 Apr 2012; Johannes Huber <johu@g.o> +tomahawk-0.4.1.ebuild,
35 + -tomahawk-0.3.3.ebuild:
36 + Version bump, remove old.
37
38 06 Apr 2012; Tomáš Chvátal <scarabeus@g.o> tomahawk-9999.ebuild:
39 Fix mycmakeargs to be local.
40
41
42
43 1.1 media-sound/tomahawk/tomahawk-0.4.1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tomahawk/tomahawk-0.4.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-sound/tomahawk/tomahawk-0.4.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: tomahawk-0.4.1.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/tomahawk/tomahawk-0.4.1.ebuild,v 1.1 2012/04/06 22:32:13 johu Exp $
53
54 EAPI=4
55
56 QT_MINIMAL="4.7.0"
57
58 if [[ ${PV} != *9999* ]]; then
59 SRC_URI="http://download.tomahawk-player.org/${P}.tar.bz2"
60 KEYWORDS="~amd64 ~x86"
61 else
62 GIT_ECLASS="git-2"
63 EGIT_REPO_URI="git://github.com/tomahawk-player/tomahawk.git"
64 KEYWORDS=""
65 fi
66
67 inherit cmake-utils qt4-r2 ${GIT_ECLASS}
68
69 DESCRIPTION="Qt playdar social music player"
70 HOMEPAGE="http://tomahawk-player.org/"
71
72 LICENSE="GPL-3 BSD"
73 SLOT="0"
74 IUSE="debug fftw jabber libsamplerate +resolver twitter"
75
76 DEPEND="
77 app-crypt/qca
78 >=dev-cpp/clucene-2.3.3.4
79 >=dev-libs/boost-1.41
80 >=dev-libs/qjson-0.7.1
81 >=media-libs/libechonest-1.1.10
82 >=media-libs/phonon-4.5.0
83 media-libs/taglib
84 >=x11-libs/qt-core-${QT_MINIMAL}:4
85 >=x11-libs/qt-gui-${QT_MINIMAL}:4
86 >=x11-libs/qt-sql-${QT_MINIMAL}:4[sqlite]
87 >=x11-libs/qt-webkit-${QT_MINIMAL}:4
88 >=x11-libs/qt-xmlpatterns-${QT_MINIMAL}:4
89 fftw? ( sci-libs/fftw:3.0 )
90 jabber? ( net-libs/jreen )
91 libsamplerate? ( media-libs/libsamplerate )
92 resolver? (
93 dev-libs/libattica
94 >=dev-libs/quazip-0.4.3
95 )
96 twitter? ( net-libs/qtweetlib )
97 "
98 RDEPEND="${DEPEND}
99 app-crypt/qca-ossl
100 "
101
102 PATCHES=(
103 "${FILESDIR}/${PN}-0.3.2-remove-quazip.patch"
104 )
105
106 src_configure() {
107 local mycmakeargs=(
108 $(cmake-utils_use_with jabber Jreen)
109 $(cmake-utils_use_with resolver LibAttica)
110 $(cmake-utils_use_with resolver QuaZip)
111 $(cmake-utils_use_with twitter QTweetLib)
112 -DINTERNAL_JREEN=OFF
113 )
114
115 if [[ ${PV} != *9999* ]]; then
116 mycmakeargs+=( -DBUILD_RELEASE=ON )
117 fi
118
119 cmake-utils_src_configure
120 }
121
122 src_compile() {
123 cmake-utils_src_compile
124 }
125
126 src_install() {
127 cmake-utils_src_install
128 }
129
130 pkg_postinst() {
131 if ! use resolver; then
132 echo
133 elog "Information on how to get more resolvers for ${PN}"
134 elog "is available at ${HOMEPAGE}resolvers"
135 echo
136 fi
137 }