diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-03 14:54:21 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2007-02-03 14:54:21 +0000 |
commit | 64955338c609bb79063f4cd66433bd11e883a557 (patch) | |
tree | 36f4ad778ff6ccb25b6fc0e5c939628b0d171b12 /kde-base/kdemultimedia-arts | |
parent | amd64 stable, bug 163951 (diff) | |
download | gentoo-2-64955338c609bb79063f4cd66433bd11e883a557.tar.gz gentoo-2-64955338c609bb79063f4cd66433bd11e883a557.tar.bz2 gentoo-2-64955338c609bb79063f4cd66433bd11e883a557.zip |
Add an alsa useflag to enable/disable alsa support (on FreeBSD you want it always disabled), and if the use is enable also check if alsa-lib was built with midi support, as this package requires the sequencer API present.
(Portage version: 2.1.2-r5)
Diffstat (limited to 'kde-base/kdemultimedia-arts')
-rw-r--r-- | kde-base/kdemultimedia-arts/ChangeLog | 8 | ||||
-rw-r--r-- | kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild | 21 |
2 files changed, 26 insertions, 3 deletions
diff --git a/kde-base/kdemultimedia-arts/ChangeLog b/kde-base/kdemultimedia-arts/ChangeLog index d9a0feb3c582..dda4e0b731d3 100644 --- a/kde-base/kdemultimedia-arts/ChangeLog +++ b/kde-base/kdemultimedia-arts/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for kde-base/kdemultimedia-arts # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/ChangeLog,v 1.56 2007/01/16 20:12:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/ChangeLog,v 1.57 2007/02/03 14:54:21 flameeyes Exp $ + + 03 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> + kdemultimedia-arts-3.5.6.ebuild: + Add an alsa useflag to enable/disable alsa support (on FreeBSD you want it + always disabled), and if the use is enable also check if alsa-lib was built + with midi support, as this package requires the sequencer API present. *kdemultimedia-arts-3.5.6 (16 Jan 2007) diff --git a/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild b/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild index 0a477aa3a088..38d2c7c4821b 100644 --- a/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild +++ b/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 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.6.ebuild,v 1.1 2007/01/16 20:12:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-base/kdemultimedia-arts/kdemultimedia-arts-3.5.6.ebuild,v 1.2 2007/02/03 14:54:21 flameeyes Exp $ ARTS_REQUIRED="yes" KMNAME=kdemultimedia @@ -11,7 +11,24 @@ inherit kde-meta eutils DESCRIPTION="aRts pipeline builder and other tools" KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" -IUSE="" +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() { + 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 +} |