blob: 262e6bcc3e80397d91092549958c5849304e6ddb (
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
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.10.ebuild,v 1.1 2008/09/13 23:58:07 carlo Exp $
KMNAME=kdemultimedia
KMMODULE=arts
EAPI="1"
inherit kde-meta eutils
DESCRIPTION="aRts pipeline builder and other tools"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
IUSE="alsa"
KMEXTRACTONLY="mpeglib_artsplug/configure.in.in" # needed because the artsc-config call is here
KMEXTRA="doc/artsbuilder"
RDEPEND="alsa? ( media-libs/alsa-lib )"
pkg_setup() {
kde_pkg_setup
if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
eerror "The alsa USE flag in this package enables ALSA support"
eerror "for libkmid, KDE midi library."
eerror "For this reason, you have to merge media-libs/alsa-lib"
eerror "with the midi USE flag enabled, or disable alsa USE flag"
eerror "for this package."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
}
src_compile() {
local myconf="$(use_with alsa)"
kde-meta_src_compile
}
|