diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-02 17:58:56 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-08-02 17:58:56 +0000 |
commit | bf55fc0c3aca6c9dd90da9c0768fb734423c500d (patch) | |
tree | 2c33d82a49603f2d2e32b9b6237a415341716162 /media-libs/openimageio | |
parent | Version bump. Remove no-op USE="opencv" and add missing media-libs/libwebp de... (diff) | |
download | historical-bf55fc0c3aca6c9dd90da9c0768fb734423c500d.tar.gz historical-bf55fc0c3aca6c9dd90da9c0768fb734423c500d.tar.bz2 historical-bf55fc0c3aca6c9dd90da9c0768fb734423c500d.zip |
old
Package-Manager: portage-2.2.0_alpha116/cvs/Linux x86_64
Diffstat (limited to 'media-libs/openimageio')
-rw-r--r-- | media-libs/openimageio/ChangeLog | 9 | ||||
-rw-r--r-- | media-libs/openimageio/Manifest | 27 | ||||
-rw-r--r-- | media-libs/openimageio/files/openimageio-0.10.2-libpng15.patch | 11 | ||||
-rw-r--r-- | media-libs/openimageio/files/openimageio-0.10.2-multilib.patch | 16 | ||||
-rw-r--r-- | media-libs/openimageio/files/openimageio-0.10.5+boost-1.50.patch | 13 | ||||
-rw-r--r-- | media-libs/openimageio/metadata.xml | 14 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-0.10.2.ebuild | 67 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-0.10.5.ebuild | 67 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-1.0.7-r1.ebuild | 97 |
9 files changed, 21 insertions, 300 deletions
diff --git a/media-libs/openimageio/ChangeLog b/media-libs/openimageio/ChangeLog index 3202c16ee3fc..342d45783fc5 100644 --- a/media-libs/openimageio/ChangeLog +++ b/media-libs/openimageio/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-libs/openimageio # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/ChangeLog,v 1.5 2012/08/02 17:55:58 ssuominen Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/ChangeLog,v 1.6 2012/08/02 17:58:56 ssuominen Exp $ + + 02 Aug 2012; Samuli Suominen <ssuominen@gentoo.org> + -openimageio-0.10.2.ebuild, -files/openimageio-0.10.2-libpng15.patch, + -files/openimageio-0.10.2-multilib.patch, -openimageio-0.10.5.ebuild, + -files/openimageio-0.10.5+boost-1.50.patch, -openimageio-1.0.7-r1.ebuild, + metadata.xml: + old *openimageio-1.0.8 (02 Aug 2012) diff --git a/media-libs/openimageio/Manifest b/media-libs/openimageio/Manifest index 4593fc15ff54..f0436ff6daf3 100644 --- a/media-libs/openimageio/Manifest +++ b/media-libs/openimageio/Manifest @@ -1,27 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -AUX openimageio-0.10.2-libpng15.patch 221 SHA256 b0ee405f8ec5e1654b3c7441f0e4e3555491d23fb139769a30ed555a84be9b1b SHA512 5ba312708c351e2f033f27ffc1616905653f4a74f433d595d15b72fb2c22dde588fbbdcc75fb4b9303603eb5f9e116c47d0f7bf2958dcafa06364a98d24df2db WHIRLPOOL f1de29a398087ff0ffd07ae8e7bc5a42a5f0ba111a7f38e20313f7df20692849550fb184638dea8f8ade4aee4f29b73f7c900f3c12041bf18f2247274d482821 -AUX openimageio-0.10.2-multilib.patch 536 SHA256 eb0318a5eb7c8dade6f5982b60de09a1153d52cc8bb28415d8d6dd0973fb6a0e SHA512 f5afb63160763ebb716d3c35fdc4053d3b12de33e6efaf8f549617953c63ca37f104b5bc5945cd25f5c1c80d78e1c24323012160e9197797ffc1a25b9851c37c WHIRLPOOL 7e3a6d721ff248e05989aaf40f488a9e6e4fa8d61a9a0c9406bb44cbaff72451d2b98e2a951126dad84a91cf94adc6d1158a0b085c3752ec23f964eb74acfbe3 -AUX openimageio-0.10.5+boost-1.50.patch 741 SHA256 1b9c64450f2e950da71a6d55d7d597f97d756e7fe196764b49f95a84d7776048 SHA512 eb28b8a18e4ae75a971e4afff66913c25282664440b060789a3b082807c5be1998f30ea886297654feafa44ca3da93647bff34e9159eed7ddc490c7a18c87eb4 WHIRLPOOL 78619f9d5de55de1b19b2d1b06e4e4e0648eeea140001fa2014e40e3a94498de37cbbe006ad8a8334359a37e0d43a9faf31c61dfed7de14e640721e63402c8d4 -DIST openimageio-0.10.2.tar.gz 3534111 SHA256 ce2ab5de557dc4bb3f1991a3bf39791d985468db561d600bd26db5b6d3711517 SHA512 e3e55cd800fe55a047bb3ca71d56e0c18a3dfa40f974ef09d7bb9e27ad25cc6f72dc5cad80747983c2dd76265ccc35dfaa6824cca0e0ac0b600a9d9790f025f6 WHIRLPOOL fde36be37ade935d4c1e7159cf40764243a3806f68c4778c7ec9608e3cbc3b116c15ee6c6a3f37ecf892e29c2b1b9003e87b23ac2f2d47336c6db48e882b9569 -DIST openimageio-0.10.5.tar.gz 3537727 SHA256 1bae0ce0c41c6b262787ca9ef9c5a76dc2b929abe39172ed53851dc05a284e67 SHA512 dbd73e0aa53e80d81ff90d8cd447723bb38b96c6c3f3a29d356b82c51f81fc62607269567066d2f55893f5aeeeb00da60ac19440630c792a2676d40d606487b1 WHIRLPOOL f5e7153fcbc722d911c992a9959345fd1c6e957a44901cec61f0d7db3d00ab54479b8a6ae3cc6f6c2beb9c5d86bfdf7496525c26926b5315facd56d5ab3ce742 -DIST openimageio-1.0.7.tar.gz 4197210 SHA256 14d3ffa175ff584c22cbf0ded70630587b884aa6ad2d02c06885d2fbf1e6915f SHA512 21dbe411ea0c0e45845fbfd3a1ca4915f95b875a1710cc8fde9c4f1c9b96a7d83431b5dfbbfa320e5c92ddc516657cd62281903365880f3417a7b27c123cbf48 WHIRLPOOL f6e4bd0cc7f322a0adee0c50debf5616f14d2ee6229597c83bc244635ebace0821e89b93ed0edfc5fb4b4d7f5164eeba279f57e68b6bdce6417ee9e2af92aaa2 DIST openimageio-1.0.8.tar.gz 4207636 SHA256 09caaf2c75787eb405809103b0d8806eef0bb1a593d7f7d47d0afe186cf7bc5a SHA512 1f39d10595036ff5edc0ad1ef81eb8f03df0f2010b3d25e71488fa71f85bd2cefc521055dff3a738c19a3ace5edefa2012b64ec0293943ee89132a4f5e5d5def WHIRLPOOL 7495776e6b6edf7b0f46255c74d1930db70ff088e5b0802b02071dcb14b319ff07daf20a99867d8aa8f49f6f72a3f7f14c18fed204c7f682de57962a90b72322 -EBUILD openimageio-0.10.2.ebuild 1444 SHA256 524bfdf2622e9182bae52aded4e0249de18d1db31a11918d710a4461797d81db SHA512 d31e0b280b79754b8b1f2d937d79052a1b2092a83bcbbbf04e6cff22468a21b048add34425b449720f3592e9ba790da56554d016f4c66c906cb1ea0c68d3afbd WHIRLPOOL 358349daf1b4f590c344346b780fc8140ab516f9988cac737c7fe4edd3759a871f2bffd1d1e4bec90a1fce64fd472c23b7acdb087891540db9471168a0b42244 -EBUILD openimageio-0.10.5.ebuild 1460 SHA256 3c30870b7eb15249ddf229f7dda966136d028a505a98c7574fcadd3efae3ebf2 SHA512 56157c6137437b61ff87b2ff12c017699623c45cfbb29cc7e0375cb71ce502d549c18ec95130b9ba495f9925360ce0a5512a9f6738e115773e0b7726f96c8d0a WHIRLPOOL 48503b1da9d3ee4a582999eb85ce02d72ff92aa0dbc2a543ccc710a8ff9929d690fc359bf46fae07cbd22baeed4e8ab8dcfb2313faa72164ad8eb6dde1dee6ce -EBUILD openimageio-1.0.7-r1.ebuild 2245 SHA256 7558412b1106dbf837e3594e9aa913a44a3024d60e6d2bbdfda17604f3287ab5 SHA512 ca241b72246615004bed5f64459b9b01ca51758739bff32c0b31da78e98b7d69c9f2effd204334cdd582ada5ad05c83375e56de5e099183adf3022346e5cb332 WHIRLPOOL 07f8a5cddd8a0bc65cd54899b51a93e710fa83fe7080da8279417b39f0524a44653af8e5bd0ccf75137096781f5b8332d771090d1c081963c0fcc2148b43466a EBUILD openimageio-1.0.8.ebuild 2116 SHA256 b5aa08a71812787fd1a7c36fa2b11ec034fe863ae0fa441597e575e1bfa5cbd1 SHA512 d31795ab1d135bb61ba2040a5bc7e653695bf7df9cdb5c935ec27bd69176ec2f13c7cc30bfcab77a8205287fdc3a61720ec4169908f4aaabaaa2dde7ebce39e1 WHIRLPOOL 98590b2ac527d9cf12c2e9bdbb7b6e377f2cfb60b28d0cbea6e8428d477804bc773b169f28099f6538105e20a42ea82168ff9dc651884145541051417b4d7410 -MISC ChangeLog 1364 SHA256 505521c08dced805066836e154dff76210e3d8a7429a2b855b471ae3120da4dc SHA512 a6b35dcafc6658bc8daeb74d4c2226849ebd8d43ac1f22d0ebb3c37c590c4fe0647d13664c59bc4d4b59fca779bd340d26ce075cccb1031bc2aec429f5bdce2f WHIRLPOOL afed9cabd21a2ea8114871b00f8700db38c3eeb3bedbd2b307c3e000be32f4c2de594f31c2944a77cb7a56669fa372775f24c0e08bb5982d880fbf50515c3a28 -MISC metadata.xml 369 SHA256 112b0372f79487bde234c1c7765d6fbf0dec923fd639dabd79e3973d42348756 SHA512 4db0edf64aaef2da8392ab4baa91cd3add3e9249b4fb849b64d82e19649054691d8703b2d30099812341e4d848104d2f27f3edb557fe23de3fce51b4999e26dc WHIRLPOOL d981bb7d154c783fcae04bb64149f32edb11503f5e764b2c3713738850830fddbceb1fa023a38f6e8676efda1405f4cea2aa1eb1d461087cbcd18c4946025218 +MISC ChangeLog 1661 SHA256 8358dd575dfdc9c58344f429c2fccf2fa49a161ac1255f97b902ec175826c3db SHA512 a834ce0b98c39d08049d3bb1f17798e61e1d5cc8876693cc707e33a97115e67413b222637ce7e9b9362868f0509dc9af6242c1236d18b1b1afc33db553b3f819 WHIRLPOOL 3cc713f81c606285080055a131acf5d7b2d7e326c469571e520c25699a0a3c04aa6dde4d0ed635441fc49607560c6a6b3fa9594f93f5f25aa05a6cc6ac3ed39e +MISC metadata.xml 245 SHA256 a21a2e5530e3543c033e1ed43c7dadb400ada83401bb76a26f4a91722a38f23a SHA512 f804b5d223bde7ae123fe80feb02644aa432809784b3dd3a76c92fb85b169fb4152623e2e7b7c3dcca3e4116a2d7cea8fcdcdfcf4664fdd401e8dc37666d211b WHIRLPOOL 601cc0d6b571469ef105ca88c018b90d84475c9e9aa6181e8368163730dc43d77c2c55fbdf726a844ddda414375ff4ade22cc8eec75d208df46f670793c73bd4 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (GNU/Linux) -iQEcBAEBAgAGBQJQGr77AAoJEEdUh39IaPFNFR4H/Rn+0A8Y6WcakbdGuyuwG2KB -/eREaYP4DXGimuymhMeMBPGYS+IC24dQ/P/ZgVPPbELXEh1MWGpNghcyblenP4cc -x8t/7Qy2XTV76PQ1g+ngKtnX5PVOp/k0GQfZ4Bwh8Af7EJH0GBZCw7cpIfv3mNo6 -Ch5ZuP21oi+evzo6q6ULAgSrOCRCgsXLtK9T+UEwA2v325tE4UtgQsZWmDNxURLI -Fo+ICaBo5/LihZakslTkDvRBe9NTaKRgZEyyoCzc15yzVJmwYS/ooW+MvgV02JGD -HUPMwnI7YvBaHVqC5AbaJx2NhZTDMHYY1b9lv+i/1uTMLPWIP5LjniMjqvqJABw= -=MxxG +iQEcBAEBAgAGBQJQGr+sAAoJEEdUh39IaPFNf7gH/25kmVct7c6xP1zIeK9rny8K +2h17KCVnGVIo7DrkvQkMOKMV8oR4We5R058l1+nfQvJxnhzd0pbsETFftVtqsECl +VDQ/7EnAMCXPz8LgixcLXIAWfCZzQ1WNq2OhtBuqjCDlWyrMdjIfkpvRmP1Kmi0L +QJ0zYls6WJP/8AZqzed6GQ/aa89Qmfex5R87uwBe0UtDFkA2c+faeVMIG1mk2OfO +16+EZ+zD+WIkvRumfCixjWjFzCHovvlV+kcD2ZtPFLsqW11r/6fPXoyv0PslL6ic +/IHuXcSnjYTyS17reH1lCrwc02QUodB2qhTQduQKDVI7zfu0HmzVs/BL7Wxd1NY= +=tDoK -----END PGP SIGNATURE----- diff --git a/media-libs/openimageio/files/openimageio-0.10.2-libpng15.patch b/media-libs/openimageio/files/openimageio-0.10.2-libpng15.patch deleted file mode 100644 index 97375d5fbb7b..000000000000 --- a/media-libs/openimageio/files/openimageio-0.10.2-libpng15.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- ico.imageio/icooutput.cpp -+++ ico.imageio/icooutput.cpp -@@ -32,6 +32,8 @@ - #include <cstdlib> - #include <cmath> - -+#include <zlib.h> /* Z_BEST_COMPRESSION */ -+ - #include "ico.h" - #include "../png.imageio/png_pvt.h" - diff --git a/media-libs/openimageio/files/openimageio-0.10.2-multilib.patch b/media-libs/openimageio/files/openimageio-0.10.2-multilib.patch deleted file mode 100644 index 3ca4faa6829e..000000000000 --- a/media-libs/openimageio/files/openimageio-0.10.2-multilib.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- CMakeLists.txt -+++ CMakeLists.txt -@@ -91,11 +91,11 @@ - - # Exec Install Locations - set (BINDIR "${CMAKE_INSTALL_PREFIX}/bin") --set (LIBDIR "${CMAKE_INSTALL_PREFIX}/lib") -+set (LIBDIR "${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}") - set (PYLIBDIR "${CMAKE_INSTALL_PREFIX}/python") - if (EXEC_INSTALL_PREFIX) - set (BINDIR "${EXEC_INSTALL_PREFIX}/bin") -- set (LIBDIR "${EXEC_INSTALL_PREFIX}/lib") -+ set (LIBDIR "${EXEC_INSTALL_PREFIX}/lib${LIB_SUFFIX}") - set (PYLIBDIR "${EXEC_INSTALL_PREFIX}/python") - endif () - diff --git a/media-libs/openimageio/files/openimageio-0.10.5+boost-1.50.patch b/media-libs/openimageio/files/openimageio-0.10.5+boost-1.50.patch deleted file mode 100644 index 94ae0ddc8784..000000000000 --- a/media-libs/openimageio/files/openimageio-0.10.5+boost-1.50.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- src/iv/imageviewer.cpp.old 2012-07-01 12:17:57.138829803 +0200 -+++ src/iv/imageviewer.cpp 2012-07-01 12:21:31.543823577 +0200 -@@ -1352,8 +1352,8 @@ - compName (IvImage *first, IvImage *second) - { - #if BOOST_FILESYSTEM_VERSION == 3 -- std::string firstFile = boost::filesystem3::path(first->name()).leaf().string(); -- std::string secondFile = boost::filesystem3::path(second->name()).leaf().string(); -+ std::string firstFile = boost::filesystem::path(first->name()).leaf().string(); -+ std::string secondFile = boost::filesystem::path(second->name()).leaf().string(); - #else - std::string firstFile = boost::filesystem::path(first->name()).leaf(); - std::string secondFile = boost::filesystem::path(second->name()).leaf(); diff --git a/media-libs/openimageio/metadata.xml b/media-libs/openimageio/metadata.xml index 31f8bdb7ccf8..6fd0761f8740 100644 --- a/media-libs/openimageio/metadata.xml +++ b/media-libs/openimageio/metadata.xml @@ -1,14 +1,8 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> - <herd>graphics</herd> - <use> - <flag name="tbb"> - Use <pkg>dev-cpp/tbb</pkg> for threading. - </flag> - - <flag name="opencv"> - Add support for <pkg>media-libs/opencv</pkg> based algorithms. - </flag> - </use> + <herd>graphics</herd> + <use> + <flag name='tbb'>Use <pkg>dev-cpp/tbb</pkg> for threading.</flag> + </use> </pkgmetadata> diff --git a/media-libs/openimageio/openimageio-0.10.2.ebuild b/media-libs/openimageio/openimageio-0.10.2.ebuild deleted file mode 100644 index 8450c449b34d..000000000000 --- a/media-libs/openimageio/openimageio-0.10.2.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/openimageio/openimageio-0.10.2.ebuild,v 1.1 2011/10/15 22:18:46 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}"/${P}-libpng15.patch \ - "${FILESDIR}"/${P}-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 -} diff --git a/media-libs/openimageio/openimageio-0.10.5.ebuild b/media-libs/openimageio/openimageio-0.10.5.ebuild deleted file mode 100644 index 4550bd615a98..000000000000 --- a/media-libs/openimageio/openimageio-0.10.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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 -} diff --git a/media-libs/openimageio/openimageio-1.0.7-r1.ebuild b/media-libs/openimageio/openimageio-1.0.7-r1.ebuild deleted file mode 100644 index 36d2af97d760..000000000000 --- a/media-libs/openimageio/openimageio-1.0.7-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# 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-1.0.7-r1.ebuild,v 1.1 2012/07/21 14:22:43 flameeyes Exp $ - -EAPI=4 - -PYTHON_DEPEND="python? 2:2.7" - -inherit cmake-utils eutils python multilib - -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="python opengl qt4 tbb jpeg2k opencv" - -RDEPEND="dev-libs/boost[python?] - media-libs/glew - media-libs/ilmbase - media-libs/libpng - media-libs/openexr - media-libs/tiff - sci-libs/hdf5 - sys-libs/zlib - virtual/jpeg - opengl? ( - virtual/glu - virtual/opengl - ) - qt4? ( - x11-libs/qt-core:4 - x11-libs/qt-gui:4 - x11-libs/qt-opengl:4 - ) - tbb? ( dev-cpp/tbb ) - jpeg2k? ( media-libs/openjpeg ) - opencv? ( media-libs/opencv ) - dev-libs/pugixml" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${P}/src - -hpkg_setup() { - if use python; then - python_set_active_version 2 - python_pkg_setup - fi -} - -src_unpack() { - unpack ${A} - mv OpenImageIO-* "${WORKDIR}"/${P} -} - -src_prepare() { - epatch \ - "${FILESDIR}"/${PN}-0.10.2-libpng15.patch - - # remove bundled code to make it build - # https://github.com/OpenImageIO/oiio/issues/403 - rm */pugixml* || die - - # fix man page building - # https://github.com/OpenImageIO/oiio/issues/404 - use qt4 || sed -i -e '/cli_tools/s:iv ::' doc/CMakeLists.txt -} - -src_configure() { - local mycmakeargs=( - -DLIB_INSTALL_DIR=/usr/$(get_libdir) - -DBUILDSTATIC=OFF - -DLINKSTATIC=OFF - $(cmake-utils_use_use opengl) - $(cmake-utils_use_use qt4 QT) - $(cmake-utils_use_use tbb) - $(cmake-utils_use_use python) - $(use python && echo -DPYLIB_INSTALL_DIR=$(python_get_sitedir)) - -DUSE_FIELD3D=OFF # missing in Portage - $(cmake-utils_use_use jpeg2k OPENJPEG) - -DUSE_OCIO=OFF # missing in portage - $(cmake-utils_use_use opencv) - -DUSE_EXTERNAL_PUGIXML=ON - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - - dodoc ../{CHANGES,CREDITS,README} doc/CLA-{CORPORATE,INDIVIDUAL} - - insinto /usr/share/doc/${PF}/pdf - doins doc/openimageio.pdf -} |