diff options
author | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 22:13:36 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2007-11-18 22:13:36 +0000 |
commit | e839204d9a8e2cc8c51f9744f5ce280b204918cf (patch) | |
tree | 38de94d430b93e611852942fe89abc9a83d371d1 /media-sound/qmbtagger | |
parent | add a check for flac cxx use flag, FLAC++ is needed here (diff) | |
download | gentoo-2-e839204d9a8e2cc8c51f9744f5ce280b204918cf.tar.gz gentoo-2-e839204d9a8e2cc8c51f9744f5ce280b204918cf.tar.bz2 gentoo-2-e839204d9a8e2cc8c51f9744f5ce280b204918cf.zip |
add a check for flac cxx use flag, FLAC++ is needed here
(Portage version: 2.1.3.19)
Diffstat (limited to 'media-sound/qmbtagger')
-rw-r--r-- | media-sound/qmbtagger/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/qmbtagger/qmbtagger-0.07.ebuild | 12 |
2 files changed, 15 insertions, 4 deletions
diff --git a/media-sound/qmbtagger/ChangeLog b/media-sound/qmbtagger/ChangeLog index ec572b5456c8..e1c950c41dc4 100644 --- a/media-sound/qmbtagger/ChangeLog +++ b/media-sound/qmbtagger/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for media-sound/qmbtagger -# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/ChangeLog,v 1.18 2006/12/10 15:58:24 aballier Exp $ +# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/ChangeLog,v 1.19 2007/11/18 22:13:36 aballier Exp $ + + 18 Nov 2007; Alexis Ballier <aballier@gentoo.org> qmbtagger-0.07.ebuild: + add a check for flac cxx use flag, FLAC++ is needed here 10 Dec 2006; Alexis Ballier <aballier@gentoo.org> +files/qmbtagger-0.07+flac-1.1.3.patch, qmbtagger-0.07.ebuild: diff --git a/media-sound/qmbtagger/qmbtagger-0.07.ebuild b/media-sound/qmbtagger/qmbtagger-0.07.ebuild index ada22bff3513..05825128748b 100644 --- a/media-sound/qmbtagger/qmbtagger-0.07.ebuild +++ b/media-sound/qmbtagger/qmbtagger-0.07.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/qmbtagger/qmbtagger-0.07.ebuild,v 1.11 2006/12/10 15:58:24 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/qmbtagger/qmbtagger-0.07.ebuild,v 1.12 2007/11/18 22:13:36 aballier Exp $ inherit eutils kde-functions @@ -25,6 +25,14 @@ DEPEND="${RDEPEND} =sys-devel/automake-1.9* >=sys-devel/autoconf-2.50" +pkg_setup() { + 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() { unpack ${A} cd "${S}" |