blob: ca6ae3fbed799b039578918c80e83a3ba47ec09e (
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
43
44
45
46
47
48
49
50
51
52
53
54
55
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils
DESCRIPTION="Film-Quality Vector Animation (core engine)"
HOMEPAGE="http://www.synfig.org/"
SRC_URI="mirror://sourceforge/synfig/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="imagemagick ffmpeg dv openexr truetype jpeg tiff fontconfig"
DEPEND="
dev-libs/libsigc++:2
>=dev-cpp/libxmlpp-2.6.1
media-libs/libpng
>=dev-cpp/ETL-0.04.13
ffmpeg? ( virtual/ffmpeg )
openexr? ( media-libs/openexr )
truetype? ( media-libs/freetype )
fontconfig? ( media-libs/fontconfig )
jpeg? ( virtual/jpeg )
tiff? ( media-libs/tiff )"
RDEPEND="${DEPEND}
dv? ( media-libs/libdv )
imagemagick? ( media-gfx/imagemagick )"
src_prepare() {
epatch \
"${FILESDIR}"/${P}-gcc46.patch \
"${FILESDIR}"/${P}-png.patch
}
src_configure() {
econf \
$(use_with ffmpeg) \
$(use_with fontconfig) \
$(use_with imagemagick) \
$(use_with dv libdv) \
$(use_with openexr ) \
$(use_with truetype freetype) \
$(use_with jpeg)
}
src_install() {
default
dodoc doc/*.txt
insinto /usr/share/${PN}/examples
doins examples/*.sifz
}
|