diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-02-22 18:47:37 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-02-22 18:47:37 +0000 |
commit | ca58249a1a147ce4d5f312eba2fce2d734585a82 (patch) | |
tree | dd83d1da9471d6c94928134b8b18b4f9e88b0e22 /media-libs | |
parent | Marking sysvinit-2.88-r3 ppc for bug 404179 (diff) | |
download | gentoo-2-ca58249a1a147ce4d5f312eba2fce2d734585a82.tar.gz gentoo-2-ca58249a1a147ce4d5f312eba2fce2d734585a82.tar.bz2 gentoo-2-ca58249a1a147ce4d5f312eba2fce2d734585a82.zip |
Version bump.
(Portage version: 2.2.0_alpha88/cvs/Linux x86_64)
Diffstat (limited to 'media-libs')
-rw-r--r-- | media-libs/openimageio/ChangeLog | 10 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-0.10.5.ebuild | 67 |
2 files changed, 75 insertions, 2 deletions
diff --git a/media-libs/openimageio/ChangeLog b/media-libs/openimageio/ChangeLog index 2559d6a77261..8ef28e9c32dc 100644 --- a/media-libs/openimageio/ChangeLog +++ b/media-libs/openimageio/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-libs/openimageio -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/ChangeLog,v 1.1 2011/10/15 22:18:46 ssuominen Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/ChangeLog,v 1.2 2012/02/22 18:47:37 ssuominen Exp $ + +*openimageio-0.10.5 (22 Feb 2012) + + 22 Feb 2012; Samuli Suominen <ssuominen@gentoo.org> + +openimageio-0.10.5.ebuild: + Version bump. *openimageio-0.10.2 (15 Oct 2011) diff --git a/media-libs/openimageio/openimageio-0.10.5.ebuild b/media-libs/openimageio/openimageio-0.10.5.ebuild new file mode 100644 index 000000000000..4550bd615a98 --- /dev/null +++ b/media-libs/openimageio/openimageio-0.10.5.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/openimageio-0.10.5.ebuild,v 1.1 2012/02/22 18:47:37 ssuominen Exp $ + +EAPI=4 + +PYTHON_DEPEND="2:2.7" + +inherit cmake-utils eutils python + +DESCRIPTION="A library for reading and writing images" +HOMEPAGE="http://sites.google.com/site/openimageio/ http://github.com/OpenImageIO" +SRC_URI="http://github.com/OpenImageIO/oiio/tarball/Release-${PV} -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="dev-libs/boost + media-libs/glew + media-libs/ilmbase + media-libs/jasper + media-libs/libpng + media-libs/openexr + media-libs/tiff + sci-libs/hdf5 + sys-libs/zlib + virtual/glu + virtual/jpeg + virtual/opengl + x11-libs/qt-core:4 + x11-libs/qt-gui:4 + x11-libs/qt-opengl:4" +DEPEND="${RDEPEND}" + +S=${WORKDIR}/${P}/src + +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + +src_unpack() { + unpack ${A} + mv OpenImageIO-* "${WORKDIR}"/${P} +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-0.10.2-libpng15.patch \ + "${FILESDIR}"/${PN}-0.10.2-multilib.patch + + sed -i \ + -e '/^add_subdirectory (doc)/d' \ + -e "/PYLIBDIR/s:\${CMAKE_INSTALL_PREFIX}/python:$(python_get_sitedir):" \ + CMakeLists.txt || die +} + +src_install() { + cmake-utils_src_install + + dodoc ../{CHANGES,CREDITS,README} doc/CLA-{CORPORATE,INDIVIDUAL} + + insinto /usr/share/doc/${PF}/pdf + doins doc/openimageio.pdf +} |