summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-07-22 22:16:59 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-07-22 22:16:59 +0000
commitc6ab0a264f7f7fc95587b8b5f2fc171b49a67336 (patch)
treee1ab34f4927b304277d2b5a7a2dd27f8f4471b5f /media-libs/libvorbis
parentStable on amd64 (bug #278677) (diff)
downloadgentoo-2-c6ab0a264f7f7fc95587b8b5f2fc171b49a67336.tar.gz
gentoo-2-c6ab0a264f7f7fc95587b8b5f2fc171b49a67336.tar.bz2
gentoo-2-c6ab0a264f7f7fc95587b8b5f2fc171b49a67336.zip
Compile test/ only if "make check" is called. Compile examples/ only if --enable-examples is passed wrt #226285.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/libvorbis')
-rw-r--r--media-libs/libvorbis/libvorbis-1.2.3.ebuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/media-libs/libvorbis/libvorbis-1.2.3.ebuild b/media-libs/libvorbis/libvorbis-1.2.3.ebuild
index a1d500223cd6..96ae8fad3801 100644
--- a/media-libs/libvorbis/libvorbis-1.2.3.ebuild
+++ b/media-libs/libvorbis/libvorbis-1.2.3.ebuild
@@ -1,22 +1,19 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.2.3.ebuild,v 1.1 2009/07/10 15:41:17 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libvorbis/libvorbis-1.2.3.ebuild,v 1.2 2009/07/22 22:16:59 ssuominen Exp $
EAPI=2
+MY_P=${P/_}
inherit autotools flag-o-matic eutils toolchain-funcs
-MY_P=${P/_/}
DESCRIPTION="The Ogg Vorbis sound file format library with aoTuV patch"
HOMEPAGE="http://xiph.org/vorbis"
SRC_URI="http://downloads.xiph.org/releases/vorbis/${P}.tar.gz"
-# aotuv? ( mirror://gentoo/${PN}-1.2.1_rc1-aotuv_beta5.7.patch.bz2
-# http://dev.gentoo.org/~ssuominen/${PN}-1.2.1_rc1-aotuv_beta5.7.patch.bz2 )"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="doc"
-# +aotuv: seems it is merged
RDEPEND="media-libs/libogg"
DEPEND="${RDEPEND}
@@ -25,7 +22,7 @@ DEPEND="${RDEPEND}
S=${WORKDIR}/${MY_P}
src_prepare() {
- #use aotuv && epatch "${WORKDIR}"/${PN}-1.2.1_rc1-aotuv_beta5.7.patch
+ epatch "${FILESDIR}"/${P}-optional_examples_and_tests.patch
sed -e 's:-O20::g' -e 's:-mfused-madd::g' -e 's:-mcpu=750::g' \
-i configure.ac || die "sed failed"
@@ -39,7 +36,6 @@ src_install() {
rm -rf "${D}"/usr/share/doc/${PN}*
dodoc AUTHORS CHANGES README todo.txt
- #use aotuv && dodoc aoTuV_README-1st.txt aoTuV_technical.txt
if use doc; then
docinto txt