blob: e67065c5c1400b17230bfe082abb44c2f2558b23 (
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
|
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=4
inherit eutils git-2
DESCRIPTION="OpenImageIO is a library for reading and writing images, and a \
bunch of related classes, utilities, and applications."
HOMEPAGE="https://sites.google.com/site/openimageio/"
EGIT_REPO_URI="git://github.com/OpenImageIO/oiio.git"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="+viewer"
DEPEND="dev-libs/boost
media-libs/ilmbase
virtual/jpeg
media-libs/libpng
media-libs/openexr
media-libs/tiff
sys-libs/zlib
viewer? ( media-libs/glew
x11-libs/qt-opengl
)"
RDEPEND="${DEPEND}"
src_compile() {
if use viewer; then
emake || die
else
emake USE_OPENGL=0 || die
fi
}
src_install() {
dobin dist/linux64/bin/*
dodoc dist/linux64/doc/*
insinto /usr/include/
doins -r dist/linux64/include/*
dolib dist/linux64/lib/*
}
|