/[gentoo-x86]/media-libs/liblastfm/liblastfm-1.0.1.ebuild
Gentoo

Contents of /media-libs/liblastfm/liblastfm-1.0.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sat Jun 23 13:03:59 2012 UTC (5 years, 6 months ago) by johu
Branch: MAIN
Version bump, remove old.

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: $
4
5 EAPI=4
6
7 QT_MINIMAL="4.8.0"
8 inherit cmake-utils
9
10 DESCRIPTION="Collection of libraries to integrate Last.fm services"
11 HOMEPAGE="http://github.com/eartle/liblastfm"
12 SRC_URI="http://cdn.last.fm/client/${P}.tar.gz"
13
14 LICENSE="GPL-3"
15 KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
16 SLOT="0"
17 IUSE="fingerprint test"
18
19 COMMON_DEPEND="
20 >=x11-libs/qt-core-${QT_MINIMAL}:4
21 >=x11-libs/qt-dbus-${QT_MINIMAL}:4
22 fingerprint? (
23 media-libs/libsamplerate
24 sci-libs/fftw:3.0
25 >=x11-libs/qt-sql-${QT_MINIMAL}:4
26 )
27 "
28 DEPEND="${COMMON_DEPEND}
29 test? ( >=x11-libs/qt-test-${QT_MINIMAL}:4 )
30 "
31 RDEPEND="${COMMON_DEPEND}
32 !<media-libs/lastfmlib-0.4.0
33 "
34
35 # 1 of 2 is failing, last checked 2012-06-22 / version 1.0.1
36 RESTRICT="test"
37
38 src_configure() {
39 # demos not working
40 local mycmakeargs=(
41 -DBUILD_DEMOS=OFF
42 $(cmake-utils_use_build fingerprint)
43 $(cmake-utils_use_build test TESTS)
44 )
45
46 cmake-utils_src_configure
47 }

  ViewVC Help
Powered by ViewVC 1.1.20