summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 20:17:35 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 20:17:35 +0000
commit5ca9cf7962b66f63362f3a354f3a07c267a91f67 (patch)
tree0174a50dd2798bccbc88bbc4e20a7b4a607013ad /media-sound/hydrogen
parentremove old (diff)
downloadgentoo-2-5ca9cf7962b66f63362f3a354f3a07c267a91f67.tar.gz
gentoo-2-5ca9cf7962b66f63362f3a354f3a07c267a91f67.tar.bz2
gentoo-2-5ca9cf7962b66f63362f3a354f3a07c267a91f67.zip
add a check for flac cxx use flag, FLAC++ is needed here
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound/hydrogen')
-rw-r--r--media-sound/hydrogen/ChangeLog6
-rw-r--r--media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild7
2 files changed, 11 insertions, 2 deletions
diff --git a/media-sound/hydrogen/ChangeLog b/media-sound/hydrogen/ChangeLog
index d212fc990db2..b291a6b2d8b3 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.58 2007/11/18 20:04:51 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/ChangeLog,v 1.59 2007/11/18 20:17:35 aballier Exp $
+
+ 18 Nov 2007; Alexis Ballier <aballier@gentoo.org>
+ hydrogen-0.9.3-r2.ebuild:
+ add a check for flac cxx use flag, FLAC++ is needed here
18 Nov 2007; Alexis Ballier <aballier@gentoo.org>
-files/hydrogen-0.9.0-asneeded.patch, -hydrogen-0.9.0.ebuild,
diff --git a/media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild b/media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild
index a90507aac2c2..da617cc9c17c 100644
--- a/media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild
+++ b/media-sound/hydrogen/hydrogen-0.9.3-r2.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-r2.ebuild,v 1.7 2007/11/01 18:33:46 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild,v 1.8 2007/11/18 20:17:35 aballier Exp $
inherit eutils kde-functions autotools multilib
@@ -34,6 +34,11 @@ pkg_setup() {
eerror "need to have built media-libs/alsa-lib with midi USE flag."
die "Missing midi USE flag on media-libs/alsa-lib"
fi
+ if use flac && ! built_with_use --missing true media-libs/flac cxx; then
+ eerror "To build ${PN} with flac support you need the C++ bindings for flac."
+ eerror "Please enable the cxx USE flag for media-libs/flac"
+ die "Missing FLAC C++ bindings."
+ fi
}
src_unpack() {