blob: 84692501ffeb9ce104dc688037a789e02ae8c4e3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils
DESCRIPTION="A library for communicating with The Echo Nest"
HOMEPAGE="https://projects.kde.org/projects/playground/libs/libechonest"
SRC_URI="http://files.lfranchi.com/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0/2.2"
KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="test" # Networking required
RDEPEND=">=dev-libs/qjson-0.5
dev-qt/qtcore:4"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( AUTHORS README TODO )
PATCHES=( "${FILESDIR}"/${P}-always_use_QJSON_LIBRARIES.patch )
src_prepare() {
cmake-utils_src_prepare
sed -i -e '/find_package/s/QtTest//' CMakeLists.txt || die #507086
}
src_configure() {
local mycmakeargs=(
-DECHONEST_BUILD_TESTS=OFF
)
cmake-utils_src_configure
}
|