summaryrefslogtreecommitdiff
blob: 45341b1850ccb9678b72cb84f710daff4e03b0a7 (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
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

KDE_BLOCK_SLOT4="false"
inherit kde5

DESCRIPTION="Library for playing & ripping CDs"
LICENSE="GPL-2+ LGPL-2+"
KEYWORDS="amd64 ~arm x86"
IUSE="alsa"

RDEPEND="
	$(add_frameworks_dep kcoreaddons)
	$(add_frameworks_dep ki18n)
	$(add_frameworks_dep solid)
	$(add_qt_dep qtdbus)
	media-libs/phonon[qt5]
	alsa? ( media-libs/alsa-lib )
"
DEPEND="${RDEPEND}
	$(add_frameworks_dep kdelibs4support)
"

PATCHES=( "${FILESDIR}/${P}-no-alsa.patch" )

src_configure() {
	local mycmakeargs=(
		$(cmake-utils_use_find_package alsa Alsa)
	)
	kde5_src_configure
}