summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-10-15 19:28:15 -0700
committerDavid Seifert <soap@gentoo.org>2017-10-15 19:47:03 -0700
commit96cc989f4b7badedcc621ab19dc79a015dbd199c (patch)
tree7c56bd48f7bb98f6673fb5a57795dd5aaed13092
parentmedia-libs/libsfml: [QA] Add cmake-utils_src_prepare (diff)
downloadgentoo-96cc989f4b7badedcc621ab19dc79a015dbd199c.tar.gz
gentoo-96cc989f4b7badedcc621ab19dc79a015dbd199c.tar.bz2
gentoo-96cc989f4b7badedcc621ab19dc79a015dbd199c.zip
media-libs/openimageio: [QA] Add cmake-utils_src_prepare
Package-Manager: Portage-2.3.11, Repoman-2.3.3
-rw-r--r--media-libs/openimageio/openimageio-1.3.5.ebuild3
-rw-r--r--media-libs/openimageio/openimageio-1.6.13.ebuild2
2 files changed, 3 insertions, 2 deletions
diff --git a/media-libs/openimageio/openimageio-1.3.5.ebuild b/media-libs/openimageio/openimageio-1.3.5.ebuild
index 3345e91ee5bf..db5c150d4757 100644
--- a/media-libs/openimageio/openimageio-1.3.5.ebuild
+++ b/media-libs/openimageio/openimageio-1.3.5.ebuild
@@ -57,13 +57,14 @@ RDEPEND="
DEPEND="${RDEPEND}"
S=${WORKDIR}/${P}/src
+PATCHES=( "${FILESDIR}"/${P}-openexr-2.x.patch )
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_prepare() {
- epatch "${FILESDIR}"/${P}-openexr-2.x.patch
+ cmake-utils_src_prepare
# remove bundled code to make it build
# https://github.com/OpenImageIO/oiio/issues/403
diff --git a/media-libs/openimageio/openimageio-1.6.13.ebuild b/media-libs/openimageio/openimageio-1.6.13.ebuild
index 79e741306159..d1f065679aee 100644
--- a/media-libs/openimageio/openimageio-1.6.13.ebuild
+++ b/media-libs/openimageio/openimageio-1.6.13.ebuild
@@ -65,7 +65,7 @@ pkg_setup() {
}
src_prepare() {
- default
+ cmake-utils_src_prepare
use python && python_fix_shebang .
}