summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-02 12:38:11 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2005-12-02 12:38:11 +0000
commit1bdba9b09fa48045db2c88a7e259c221cd7165e6 (patch)
tree5ffb5f697357154b49187a7b07266d5c84c4b0da /media-sound
parentstable for x86 (diff)
downloadgentoo-2-1bdba9b09fa48045db2c88a7e259c221cd7165e6.tar.gz
gentoo-2-1bdba9b09fa48045db2c88a7e259c221cd7165e6.tar.bz2
gentoo-2-1bdba9b09fa48045db2c88a7e259c221cd7165e6.zip
Added check for ogg flag on media-libs/flac, to be more informative (see bug #113763).
(Portage version: 2.0.53)
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/vorbis-tools/ChangeLog7
-rw-r--r--media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild10
2 files changed, 15 insertions, 2 deletions
diff --git a/media-sound/vorbis-tools/ChangeLog b/media-sound/vorbis-tools/ChangeLog
index 16335b61c97f..752de8fab44f 100644
--- a/media-sound/vorbis-tools/ChangeLog
+++ b/media-sound/vorbis-tools/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/vorbis-tools
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.34 2005/10/07 22:47:16 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/ChangeLog,v 1.35 2005/12/02 12:38:11 flameeyes Exp $
+
+ 02 Dec 2005; Diego Pettenò <flameeyes@gentoo.org>
+ vorbis-tools-1.1.1-r1.ebuild:
+ Added check for ogg flag on media-libs/flac, to be more informative (see bug
+ #113763).
*vorbis-tools-1.1.1-r1 (07 Oct 2005)
diff --git a/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild
index ca96ee5a54ba..e5a6aad41a9e 100644
--- a/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild
+++ b/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild,v 1.1 2005/10/07 22:47:16 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/vorbis-tools-1.1.1-r1.ebuild,v 1.2 2005/12/02 12:38:11 flameeyes Exp $
IUSE="nls flac speex"
@@ -23,6 +23,14 @@ RDEPEND=">=media-libs/libvorbis-1.0.1
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )"
+pkg_setup() {
+ if use flac && ! built_with_use media-libs/flac ogg; then
+ eerror "To be able to play OggFlac files you need to build"
+ eerror "media-libs/flac with +ogg, to build libOggFLAC."
+ die "Missing libOggFLAC library."
+ fi
+}
+
src_compile() {
use hppa && [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0
local myconf