From 96cc989f4b7badedcc621ab19dc79a015dbd199c Mon Sep 17 00:00:00 2001 From: David Seifert Date: Sun, 15 Oct 2017 19:28:15 -0700 Subject: media-libs/openimageio: [QA] Add cmake-utils_src_prepare Package-Manager: Portage-2.3.11, Repoman-2.3.3 --- media-libs/openimageio/openimageio-1.3.5.ebuild | 3 ++- media-libs/openimageio/openimageio-1.6.13.ebuild | 2 +- 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 . } -- cgit v1.2.3-65-gdbad