summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Zander <negril.nx+gentoo@gmail.com>2023-10-28 14:12:05 +0200
committerSam James <sam@gentoo.org>2023-10-28 22:43:57 +0100
commitd811434cb7379d200e79c94cac17921e6dd3e0df (patch)
tree99968e574930dd5c26fab8e6fa5b079599795e15 /media-libs
parentmedia-libs/opencolorio: 2.3.0 support SIMD, drop old cmake option (diff)
downloadgentoo-d811434cb7379d200e79c94cac17921e6dd3e0df.tar.gz
gentoo-d811434cb7379d200e79c94cac17921e6dd3e0df.tar.bz2
gentoo-d811434cb7379d200e79c94cac17921e6dd3e0df.zip
media-libs/opencolorio: fix docs install directory
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com> Closes: https://github.com/gentoo/gentoo/pull/33563 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/opencolorio/opencolorio-2.2.1.ebuild8
-rw-r--r--media-libs/opencolorio/opencolorio-2.3.0.ebuild8
2 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/opencolorio/opencolorio-2.2.1.ebuild b/media-libs/opencolorio/opencolorio-2.2.1.ebuild
index ff0cf7ca4a81..638a4d840676 100644
--- a/media-libs/opencolorio/opencolorio-2.2.1.ebuild
+++ b/media-libs/opencolorio/opencolorio-2.2.1.ebuild
@@ -126,6 +126,14 @@ src_configure() {
cmake_src_configure
}
+src_install() {
+ cmake_src_install
+
+ # there are already files in ${ED}/usr/share/doc/${PF}
+ mv "${ED}/usr/share/doc/OpenColorIO/"* "${ED}/usr/share/doc/${PF}" || die
+ rmdir "${ED}/usr/share/doc/OpenColorIO" || die
+}
+
src_test() {
virtx cmake_src_test
}
diff --git a/media-libs/opencolorio/opencolorio-2.3.0.ebuild b/media-libs/opencolorio/opencolorio-2.3.0.ebuild
index f86fc7933d70..0ea5f92ccd4a 100644
--- a/media-libs/opencolorio/opencolorio-2.3.0.ebuild
+++ b/media-libs/opencolorio/opencolorio-2.3.0.ebuild
@@ -155,6 +155,14 @@ src_configure() {
cmake_src_configure
}
+src_install() {
+ cmake_src_install
+
+ # there are already files in ${ED}/usr/share/doc/${PF}
+ mv "${ED}/usr/share/doc/OpenColorIO/"* "${ED}/usr/share/doc/${PF}" || die
+ rmdir "${ED}/usr/share/doc/OpenColorIO" || die
+}
+
src_test() {
virtx cmake_src_test
}