| 1 |
# Copyright 1999-2013 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.6 2012/06/14 14:11:05 xmw 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 |
virtual/pkgconfig"
|
| 20 |
# pkg-config is only here to satisfy autotools-utils.eclass wrt #432796
|
| 21 |
|
| 22 |
DOCS=( AUTHORS README TODO )
|
| 23 |
|
| 24 |
src_prepare() {
|
| 25 |
sed -i \
|
| 26 |
-e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \
|
| 27 |
-e 's:-mfpmath=387::g' \
|
| 28 |
-e 's:-O3 -funroll-all-loops -fomit-frame-pointer -ffast-math::g' \
|
| 29 |
-e '/LDFLAGS=/d' \
|
| 30 |
configure.ac || die
|
| 31 |
|
| 32 |
AT_M4DIR="m4" eautoreconf
|
| 33 |
}
|
| 34 |
|
| 35 |
src_configure() {
|
| 36 |
# --disable-libpng because it's only used for tests
|
| 37 |
local myeconfargs=(
|
| 38 |
--docdir=/usr/share/doc/${PF}/html
|
| 39 |
--disable-libpng
|
| 40 |
$(use_with doc doxygen)
|
| 41 |
--without-cpuflags
|
| 42 |
)
|
| 43 |
|
| 44 |
autotools-utils_src_configure
|
| 45 |
}
|