blob: 1745fe977266c618d6ca552e360e2a60a09cb14a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-libs/ffmpegsource/ffmpegsource-2.16.2.1_pre587.ebuild,v 1.3 2011/12/17 14:32:55 aballier Exp $
EAPI=4
inherit autotools
DESCRIPTION="An FFmpeg based source library for easy frame accurate access"
HOMEPAGE="https://code.google.com/p/ffmpegsource/"
SRC_URI="http://rion-overlay.googlecode.com/files/${P}.tar.xz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="postproc static-libs"
RDEPEND="
sys-libs/zlib
|| ( >=media-video/ffmpeg-0.9 >=media-video/libav-0.8_pre20111116 )
"
DEPEND="${RDEPEND}
dev-util/pkgconfig
"
src_prepare() {
eautoreconf
}
src_configure() {
econf \
--docdir="${EPREFIX}/usr/share/doc/${PF}/html" \
$(use_enable postproc) \
$(use_enable static-libs static) \
--enable-shared
}
src_install() {
default
use static-libs || find "${D}" -name '*.la' -delete
}
|