From 5ca9cf7962b66f63362f3a354f3a07c267a91f67 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Sun, 18 Nov 2007 20:17:35 +0000 Subject: add a check for flac cxx use flag, FLAC++ is needed here (Portage version: 2.1.3.19) --- media-sound/hydrogen/ChangeLog | 6 +++++- media-sound/hydrogen/hydrogen-0.9.3-r2.ebuild | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) (limited to 'media-sound/hydrogen') 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 + hydrogen-0.9.3-r2.ebuild: + add a check for flac cxx use flag, FLAC++ is needed here 18 Nov 2007; Alexis Ballier -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() { -- cgit v1.2.3-65-gdbad