| 1 |
# Copyright 1999-2012 Gentoo Foundation |
| 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
# $Header: /var/cvsroot/gentoo-x86/kde-base/kmix/kmix-4.9.0.ebuild,v 1.2 2012/08/12 14:50:46 johu Exp $ |
| 4 |
|
| 5 |
EAPI=4 |
| 6 |
|
| 7 |
KDE_HANDBOOK="optional" |
| 8 |
KDE_SCM="git" |
| 9 |
inherit kde4-base |
| 10 |
|
| 11 |
DESCRIPTION="KDE mixer gui" |
| 12 |
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" |
| 13 |
IUSE="alsa debug canberra pulseaudio" |
| 14 |
|
| 15 |
DEPEND=" |
| 16 |
alsa? ( >=media-libs/alsa-lib-1.0.14a ) |
| 17 |
canberra? ( media-libs/libcanberra ) |
| 18 |
pulseaudio? ( >=media-sound/pulseaudio-0.9.12 ) |
| 19 |
" |
| 20 |
RDEPEND="${DEPEND}" |
| 21 |
|
| 22 |
src_configure() { |
| 23 |
mycmakeargs=( |
| 24 |
$(cmake-utils_use_with alsa) |
| 25 |
$(cmake-utils_use_with canberra) |
| 26 |
$(cmake-utils_use_with pulseaudio PulseAudio) |
| 27 |
) |
| 28 |
|
| 29 |
kde4-base_src_configure |
| 30 |
} |