source: media-libs/liblastfm/liblastfm-1.0.5.ebuild @ 614fd62

Revision 614fd62, 1.2 KB checked in by Mario Fetka <mario.fetka@…>, 7 years ago (diff)

redigest and add

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