diff options
author | Markus Meier <maekke@gentoo.org> | 2008-06-28 06:17:50 +0000 |
---|---|---|
committer | Markus Meier <maekke@gentoo.org> | 2008-06-28 06:17:50 +0000 |
commit | d101561fc9612043bfa6cf19c06dfb700aced10d (patch) | |
tree | c0434a22b5910395fc536fcbf617157fe2e53b61 /media-gfx/aqsis | |
parent | Initial commit. (diff) | |
download | gentoo-2-d101561fc9612043bfa6cf19c06dfb700aced10d.tar.gz gentoo-2-d101561fc9612043bfa6cf19c06dfb700aced10d.tar.bz2 gentoo-2-d101561fc9612043bfa6cf19c06dfb700aced10d.zip |
version bump, bug #229387
(Portage version: 2.2_rc1/cvs/Linux 2.6.26-rc7 i686)
Diffstat (limited to 'media-gfx/aqsis')
-rw-r--r-- | media-gfx/aqsis/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/aqsis/aqsis-1.3.0_p20080627.ebuild | 82 |
2 files changed, 89 insertions, 1 deletions
diff --git a/media-gfx/aqsis/ChangeLog b/media-gfx/aqsis/ChangeLog index 84dd2f7e1688..bc40ee77823f 100644 --- a/media-gfx/aqsis/ChangeLog +++ b/media-gfx/aqsis/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/aqsis # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/aqsis/ChangeLog,v 1.11 2008/04/14 19:55:44 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/aqsis/ChangeLog,v 1.12 2008/06/28 06:17:50 maekke Exp $ + +*aqsis-1.3.0_p20080627 (28 Jun 2008) + + 28 Jun 2008; Markus Meier <maekke@gentoo.org> + +aqsis-1.3.0_p20080627.ebuild: + version bump, bug #229387 *aqsis-1.2.0-r1 (14 Apr 2008) diff --git a/media-gfx/aqsis/aqsis-1.3.0_p20080627.ebuild b/media-gfx/aqsis/aqsis-1.3.0_p20080627.ebuild new file mode 100644 index 000000000000..114d151e707d --- /dev/null +++ b/media-gfx/aqsis/aqsis-1.3.0_p20080627.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/aqsis/aqsis-1.3.0_p20080627.ebuild,v 1.1 2008/06/28 06:17:50 maekke Exp $ + +EAPI="1" + +inherit versionator multilib eutils + +DESCRIPTION="Open source RenderMan-compliant 3D rendering solution" +HOMEPAGE="http://www.aqsis.org" +_PV=($(get_version_components ${PV})) +DATE="${_PV[3]/p/}" +DATE="${DATE:0:4}-${DATE:4:2}-${DATE:6:2}" +MY_P="${PN}-$(get_version_component_range 1-3)-${DATE}" +SRC_URI="http://download.aqsis.org/builds/testing/source/tar/${MY_P}.tar.gz" + +S="${WORKDIR}/${PN}-$(get_version_component_range 1-3)" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="+fltk openexr" + +RDEPEND=" + >=media-libs/tiff-3.7.1 + >=sys-libs/zlib-1.1.4 + fltk? ( >=x11-libs/fltk-1.1.0 ) + openexr? ( media-libs/openexr )" + +DEPEND=" + ${RDEPEND} + dev-libs/libxslt + >=dev-libs/boost-1.34.0 + >=sys-devel/flex-2.5.4 + >=sys-devel/bison-1.35 + >=dev-util/cmake-2.4" + +src_compile() { + if use fltk ; then + # hack to get fltk library/include paths + # (upstream doesn't autodetect the gentoo install path for fltk) + fltk_version="$(get_version_component_range 1-2 \ + $(best_version x11-libs/fltk | sed -e 's/^x11-libs\/fltk//'))" + fltk_flags=" + -DAQSIS_USE_FLTK:BOOL=ON + -DAQSIS_FLTK_INCLUDE_DIR:PATH=/usr/include/fltk-${fltk_version} + -DAQSIS_FLTK_LIBRARIES_DIR:PATH=/usr/$(get_libdir)/fltk-${fltk_version}" + else + fltk_flags="-DAQSIS_USE_FLTK:BOOL=OFF" + fi + + if use openexr ; then + exr_flags="-DAQSIS_USE_OPENEXR:BOOL=ON" + else + exr_flags="-DAQSIS_USE_OPENEXR:BOOL=OFF" + fi + + # The aqsis build system prevents in-source builds, so we make a seperate + # directory inside ${S} to perform the build. + mkdir _build + cd _build + + cmake -DAQSIS_BOOST_LIB_SUFFIX:STRING=-mt \ + ${fltk_flags} \ + ${exr_flags} \ + -DAQSIS_USE_RPATH:BOOL=OFF \ + -DLIBDIR:STRING=$(get_libdir) \ + -DSYSCONFDIR:STRING=/etc \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + "${S}" + + emake || die "Compilation failed" +} + +src_install() { + cd _build + emake install DESTDIR="${D}" + cd .. + dodoc AUTHORS INSTALL README ReleaseNotes + # TODO: Make sure examples are installed. +} + |