| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/media-libs/gavl/gavl-1.2.0.ebuild,v 1.5 2011/12/26 14:32:28 maekke Exp $
|
| 4 |
|
| 5 |
EAPI=4
|
| 6 |
inherit autotools-utils
|
| 7 |
|
| 8 |
DESCRIPTION="library for handling uncompressed audio and video data"
|
| 9 |
HOMEPAGE="http://gmerlin.sourceforge.net"
|
| 10 |
SRC_URI="mirror://sourceforge/gmerlin/${P}.tar.gz"
|
| 11 |
|
| 12 |
LICENSE="GPL-3"
|
| 13 |
SLOT="0"
|
| 14 |
KEYWORDS="amd64 hppa ppc ~ppc64 x86"
|
| 15 |
IUSE="doc"
|
| 16 |
|
| 17 |
RDEPEND=""
|
| 18 |
DEPEND="doc? ( app-doc/doxygen )"
|
| 19 |
|
| 20 |
DOCS=( AUTHORS README TODO )
|
| 21 |
|
| 22 |
src_prepare() {
|
| 23 |
sed -i \
|
| 24 |
-e 's:-mfpmath=387::g' \
|
| 25 |
-e 's:-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math::g' \
|
| 26 |
-e '/LDFLAGS=/d' \
|
| 27 |
configure.ac || die
|
| 28 |
|
| 29 |
AT_M4DIR="m4" eautoreconf
|
| 30 |
}
|
| 31 |
|
| 32 |
src_configure() {
|
| 33 |
# --disable-libpng because it's only used for tests
|
| 34 |
local myeconfargs=(
|
| 35 |
--docdir=/usr/share/doc/${PF}/html
|
| 36 |
--disable-libpng
|
| 37 |
$(use_with doc doxygen)
|
| 38 |
--without-cpuflags
|
| 39 |
)
|
| 40 |
|
| 41 |
autotools-utils_src_configure
|
| 42 |
}
|