summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-06 17:45:50 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-06 17:45:50 +0000
commit3d5ea718281c6d04d499a1edbfcb44b6f8877622 (patch)
treee0794df1e77ae9be53dd3f838cb85e2ef1152d92 /media-sound
parentebuild cleanups (diff)
downloadhistorical-3d5ea718281c6d04d499a1edbfcb44b6f8877622.tar.gz
historical-3d5ea718281c6d04d499a1edbfcb44b6f8877622.tar.bz2
historical-3d5ea718281c6d04d499a1edbfcb44b6f8877622.zip
Add a pkg_setup check for midi USE flag in alsa-lib.
Package-Manager: portage-2.1.3_rc6
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/ecasound/ChangeLog5
-rw-r--r--media-sound/ecasound/ecasound-2.4.5.ebuild11
-rw-r--r--media-sound/gmorgan/ChangeLog5
-rw-r--r--media-sound/gmorgan/gmorgan-0.25.ebuild13
-rw-r--r--media-sound/hydrogen/ChangeLog6
-rw-r--r--media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild11
6 files changed, 44 insertions, 7 deletions
diff --git a/media-sound/ecasound/ChangeLog b/media-sound/ecasound/ChangeLog
index ff9fe2e4f943..43e275b2c2d8 100644
--- a/media-sound/ecasound/ChangeLog
+++ b/media-sound/ecasound/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/ecasound
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.40 2007/07/02 15:10:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ChangeLog,v 1.41 2007/07/06 17:44:11 flameeyes Exp $
+
+ 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> ecasound-2.4.5.ebuild:
+ Add a pkg_setup check for midi USE flag in alsa-lib.
02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Hand to newly-born proaudio herd.
diff --git a/media-sound/ecasound/ecasound-2.4.5.ebuild b/media-sound/ecasound/ecasound-2.4.5.ebuild
index 731355b693aa..28849735602d 100644
--- a/media-sound/ecasound/ecasound-2.4.5.ebuild
+++ b/media-sound/ecasound/ecasound-2.4.5.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/media-sound/ecasound/ecasound-2.4.5.ebuild,v 1.1 2007/06/15 12:22:23 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/ecasound/ecasound-2.4.5.ebuild,v 1.2 2007/07/06 17:44:11 flameeyes Exp $
inherit multilib
@@ -31,6 +31,15 @@ DEPEND="${RDEPEND}"
# We don't make RDEPEND for vorbis-tools, mpg123/mpg321, timidity++ or lame -- no
# use flags for them.
+pkg_setup() {
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror ""
+ eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
+ eerror "need to have built media-libs/alsa-lib with midi USE flag."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
src_compile () {
local myconf
diff --git a/media-sound/gmorgan/ChangeLog b/media-sound/gmorgan/ChangeLog
index ef323ae184d0..82348c361315 100644
--- a/media-sound/gmorgan/ChangeLog
+++ b/media-sound/gmorgan/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/gmorgan
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/ChangeLog,v 1.18 2007/07/02 15:11:01 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/ChangeLog,v 1.19 2007/07/06 17:45:05 flameeyes Exp $
+
+ 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> gmorgan-0.25.ebuild:
+ Add a pkg_setup check for midi USE flag in alsa-lib.
02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Hand to newly-born proaudio herd.
diff --git a/media-sound/gmorgan/gmorgan-0.25.ebuild b/media-sound/gmorgan/gmorgan-0.25.ebuild
index 812b9d568aac..825af8963874 100644
--- a/media-sound/gmorgan/gmorgan-0.25.ebuild
+++ b/media-sound/gmorgan/gmorgan-0.25.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2006 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/gmorgan-0.25.ebuild,v 1.1 2006/11/07 17:41:02 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/gmorgan/gmorgan-0.25.ebuild,v 1.2 2007/07/06 17:45:05 flameeyes Exp $
inherit eutils
@@ -20,6 +20,15 @@ RDEPEND=">=x11-libs/fltk-1.1.2
DEPEND="${RDEPEND}
nls? ( >=sys-devel/gettext-0.11.5-r1 )"
+pkg_setup() {
+ if ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror ""
+ eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
+ eerror "need to have built media-libs/alsa-lib with midi USE flag."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
src_unpack() {
unpack ${A}
cd "${S}/po"
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index ad356ea02d41..ff60e9583e22 100644
--- a/media-sound/hydrogen/ChangeLog
+++ b/media-sound/hydrogen/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-sound/hydrogen
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.49 2007/07/02 15:11:47 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.50 2007/07/06 17:45:50 flameeyes Exp $
+
+ 06 Jul 2007; Diego Pettenò <flameeyes@gentoo.org>
+ hydrogen-0.9.3-r1.ebuild:
+ Add a pkg_setup check for midi USE flag in alsa-lib.
02 Jul 2007; Diego Pettenò <flameeyes@gentoo.org> metadata.xml:
Hand to newly-born proaudio herd.
diff --git a/media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild b/media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild
index 59d8f09484bf..79d5f7ebb942 100644
--- a/media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild
+++ b/media-sound/hydrogen/hydrogen-0.9.3-r1.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/media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild,v 1.2 2007/02/17 00:52:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.3-r1.ebuild,v 1.3 2007/07/06 17:45:50 flameeyes Exp $
inherit eutils kde-functions autotools multilib
@@ -24,6 +24,15 @@ RDEPEND="dev-libs/libxml2
need-qt 3
+pkg_setup() {
+ if use alsa && ! built_with_use --missing true media-libs/alsa-lib midi; then
+ eerror ""
+ eerror "To be able to build ${CATEGORY}/${PN} with ALSA support you"
+ eerror "need to have built media-libs/alsa-lib with midi USE flag."
+ die "Missing midi USE flag on media-libs/alsa-lib"
+ fi
+}
+
src_unpack() {
unpack ${A}
if use ppc; then