summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2007-11-18 21:56:26 +0000
committerAlexis Ballier <aballier@gentoo.org>2007-11-18 21:56:26 +0000
commitc020784ba7d430b2d5618f309227a98f11cd6658 (patch)
tree2030cd190b3931d7585c5e5b4536b30fa26bdc89 /media-sound
parentRemove old and add quote (diff)
downloadgentoo-2-c020784ba7d430b2d5618f309227a98f11cd6658.tar.gz
gentoo-2-c020784ba7d430b2d5618f309227a98f11cd6658.tar.bz2
gentoo-2-c020784ba7d430b2d5618f309227a98f11cd6658.zip
add a check for flac cxx use flag, FLAC++ is needed here
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/kwave/ChangeLog5
-rw-r--r--media-sound/kwave/kwave-0.7.9.ebuild8
2 files changed, 11 insertions, 2 deletions
diff --git a/media-sound/kwave/ChangeLog b/media-sound/kwave/ChangeLog
index 8537a594bd0b..6623d061f93d 100644
--- a/media-sound/kwave/ChangeLog
+++ b/media-sound/kwave/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-sound/kwave
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/ChangeLog,v 1.2 2007/07/21 20:11:55 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/ChangeLog,v 1.3 2007/11/18 21:56:26 aballier Exp $
+
+ 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> kwave-0.7.9.ebuild:
+ add a check for flac cxx use flag, FLAC++ is needed here
21 Jul 2007; Wulf C. Krueger <philantrop@gentoo.org>
+files/kwave-0.7.9-debian-431199.diff,
diff --git a/media-sound/kwave/kwave-0.7.9.ebuild b/media-sound/kwave/kwave-0.7.9.ebuild
index 31e5f59d5bf9..62437ffdeebf 100644
--- a/media-sound/kwave/kwave-0.7.9.ebuild
+++ b/media-sound/kwave/kwave-0.7.9.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/kwave/kwave-0.7.9.ebuild,v 1.3 2007/07/21 20:11:55 philantrop Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/kwave/kwave-0.7.9.ebuild,v 1.4 2007/11/18 21:56:26 aballier Exp $
inherit kde flag-o-matic
@@ -36,6 +36,12 @@ pkg_setup() {
eerror "KWave needs aRts, please rebuild kdelibs with arts use flag enabled."
die
fi
+
+ if ! built_with_use --missing true media-libs/flac cxx; then
+ eerror "To build ${PN} 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() {