|
|
# Distributed under the terms of the GNU General Public License v2 | # 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-r2.ebuild,v 1.5 2006/10/19 17:18:48 flameeyes Exp $ | # $Header: /var/cvsroot/gentoo-x86/media-sound/vorbis-tools/vorbis-tools-1.1.1-r2.ebuild,v 1.5 2006/10/19 17:18:48 flameeyes Exp $ |
| |
IUSE="nls flac speex" |
|
|
|
inherit eutils toolchain-funcs flag-o-matic | inherit eutils toolchain-funcs flag-o-matic |
| |
DESCRIPTION="tools for using the Ogg Vorbis sound file format" | DESCRIPTION="tools for using the Ogg Vorbis sound file format" |
|
|
LICENSE="GPL-2" | LICENSE="GPL-2" |
SLOT="0" | SLOT="0" |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" | KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
|
IUSE="nls flac speex" |
| |
RDEPEND=">=media-libs/libvorbis-1.1.0 | RDEPEND=">=media-libs/libvorbis-1.1.0 |
>=media-libs/libao-0.8.2 | >=media-libs/libao-0.8.2 |
|
|
| |
src_compile() { | src_compile() { |
use hppa && [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0 | use hppa && [ "`gcc-fullversion`" == "3.3.2" ] && replace-flags -march=2.0 -march=1.0 |
local myconf |
|
| |
# --with-flac is not supported. See bug #49763 | # --with-flac is not supported. See bug #49763 |
use flac || myconf="${myconf} --without-flac" |
|
# --with-speex is not supported. See bug #97316 | # --with-speex is not supported. See bug #97316 |
use speex || myconf="${myconf} --without-speex" |
# build and install vcut by default. See bug #143487 |
use nls || myconf="${myconf} --disable-nls" |
econf \ |
|
--without-flac \ |
|
--without-speex \ |
|
--enable-vcut \ |
|
$(use_enable nls nls) \ |
|
${myconf} || die "econf failed" |
| |
econf ${myconf} || die |
emake || die "emake failed" |
emake || die |
|
} | } |
| |
src_install() { | src_install() { |