blob: 6f5d01049afa6c54e324e611a0ef7811cb8be0e7 (
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
56
57
58
59
|
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit cmake-utils multilib
DESCRIPTION="Open source RenderMan-compliant 3D rendering solution"
HOMEPAGE="http://www.aqsis.org"
SRC_URI="mirror://sourceforge/aqsis/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="png qt4"
# OpenEXR currently can not be optional dependency, despite build system options
RDEPEND="
dev-libs/boost:=
dev-libs/tinyxml
media-libs/tiff:0
sys-libs/zlib
media-libs/openexr:=
png? ( media-libs/libpng:0= )
qt4? ( dev-qt/qtgui:4 )
"
DEPEND="${RDEPEND}
dev-libs/libxslt
sys-devel/bison
sys-devel/flex
"
DOCS=( AUTHORS INSTALL README )
PATCHES=(
"${FILESDIR}/${P}-openexr-compat.patch"
"${FILESDIR}/${P}-unbundle-tinyxml.patch"
"${FILESDIR}/${P}-pfto-boost-1.59.patch"
"${FILESDIR}/${P}-boost-join-moc.patch"
)
src_configure() {
local mycmakeargs=(
$(cmake-utils_use png AQSIS_USE_PNG)
$(cmake-utils_use qt4 AQSIS_USE_QT)
-DAQSIS_ENABLE_DOCS=OFF
-DAQSIS_USE_EXTERNAL_TINYXML=ON
-DAQSIS_USE_OPENEXR=ON
-DAQSIS_USE_RPATH=OFF
-DLIBDIR="$(get_libdir)"
-DSYSCONFDIR="/etc"
)
cmake-utils_src_configure
}
src_install() {
newdoc "release-notes/1.8/summary-1.8.0.txt" ReleaseNotes
cmake-utils_src_install
}
|