diff options
Diffstat (limited to 'media-gfx/aqsis/aqsis-1.8.2.ebuild')
-rw-r--r-- | media-gfx/aqsis/aqsis-1.8.2.ebuild | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/media-gfx/aqsis/aqsis-1.8.2.ebuild b/media-gfx/aqsis/aqsis-1.8.2.ebuild new file mode 100644 index 000000000000..02ae317704e9 --- /dev/null +++ b/media-gfx/aqsis/aqsis-1.8.2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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" +) + +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 +} |