From 4ae9cbeb16b7da83f58e02f92b0a31e744954890 Mon Sep 17 00:00:00 2001 From: Alfred Wingate Date: Sun, 27 Jun 2021 20:55:42 +0300 Subject: [PATCH] media-libs/opencolorio: remove, is in ::gentoo Signed-off-by: Alfred Wingate --- media-libs/opencolorio/Manifest | 1 - media-libs/opencolorio/metadata.xml | 15 --- .../opencolorio/opencolorio-2.0.0-r1.ebuild | 95 ---------------- .../opencolorio/opencolorio-2.0.0-r2.ebuild | 103 ------------------ .../opencolorio/opencolorio-9999.ebuild | 95 ---------------- 5 files changed, 309 deletions(-) delete mode 100644 media-libs/opencolorio/Manifest delete mode 100644 media-libs/opencolorio/metadata.xml delete mode 100644 media-libs/opencolorio/opencolorio-2.0.0-r1.ebuild delete mode 100644 media-libs/opencolorio/opencolorio-2.0.0-r2.ebuild delete mode 100644 media-libs/opencolorio/opencolorio-9999.ebuild diff --git a/media-libs/opencolorio/Manifest b/media-libs/opencolorio/Manifest deleted file mode 100644 index 48fc1ba..0000000 --- a/media-libs/opencolorio/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST opencolorio-2.0.0.tar.gz 9892414 BLAKE2B fdff2e144eadb444624f059f7582ea99d4e2dbd53cad5b89f92d19c7ca9dda2ff9ec4f8c8d00e6ac083da21134f9bc783b297c553a8e7d11936c936e5c41a2f3 SHA512 7110a1a30a5fa64b81d7fc5e33234673aaddbad5e19ce7f21436c590edd7d2ce767650c9a934011a96e53132c030bd0b654fcf93ad79c1bfc8c050762c57f6d0 diff --git a/media-libs/opencolorio/metadata.xml b/media-libs/opencolorio/metadata.xml deleted file mode 100644 index 77fc942..0000000 --- a/media-libs/opencolorio/metadata.xml +++ /dev/null @@ -1,15 +0,0 @@ - - - - - parona@protonmail.com - Alfred Wingate - - OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation. - - AcademySoftwareFoundation/OpenColorIO - - - Build helper programs - - diff --git a/media-libs/opencolorio/opencolorio-2.0.0-r1.ebuild b/media-libs/opencolorio/opencolorio-2.0.0-r1.ebuild deleted file mode 100644 index 1003cd0..0000000 --- a/media-libs/opencolorio/opencolorio-2.0.0-r1.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit python-single-r1 multilib cmake - -DESCRIPTION="A color management framework for visual effects and animation" -HOMEPAGE="https://opencolorio.org/" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/AcademySoftwareFoundation/OpenColorIO.git" -else - SRC_URI=" - https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v"${PV}".tar.gz -> "${P}".tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/OpenColorIO-"${PV}"" -fi - -#Missing: -# Java bindings - -LICENSE="BSD" -SLOT="0" -IUSE="cpu_flags_x86_sse2 doc opengl python test" -REQUIRED_USE=" - doc? ( python ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - >=dev-cpp/pystring-1.1.3 - >=dev-cpp/yaml-cpp-0.6.3 - >=dev-libs/expat-2.2.5 - >=media-libs/ilmbase-2.3.0 - opengl? ( - >=media-libs/lcms-2.2 - >=media-libs/openimageio-2.1.9:= - ) - python? ( - $(python_gen_cond_dep ' - >=dev-python/pybind11-2.4.3[${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen - $(python_gen_cond_dep ' - dev-python/six[${PYTHON_USEDEP}] - dev-python/testresources[${PYTHON_USEDEP}] - dev-python/recommonmark[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_press_theme[${PYTHON_USEDEP}] - dev-python/sphinx-tabs[${PYTHON_USEDEP}] - dev-python/breathe[${PYTHON_USEDEP}] - ') - ) - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -BDEPEND=" - virtual/pkgconfig -" - -CMAKE_BUILD_TYPE="Release" - -src_prepare() { - sed -i "s/DESTINATION lib/DESTINATION $(get_libdir)/" "${S}"/src/OpenColorIO/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DLIB_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DOCIO_BUILD_APPS=$(usex opengl) - -DOCIO_BUILD_DOCS=$(usex doc) - -DOCIO_BUILD_PYTHON=$(usex python) - -DOCIO_BUILD_JAVA=OFF - -DOCIO_BUILD_TESTS=$(usex test) - -DOCIO_BUILD_GPU_TESTS=$(usex test) - -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2) - -DOCIO_INSTALL_EXT_PACKAGES=NONE - - ) - cmake_src_configure -} diff --git a/media-libs/opencolorio/opencolorio-2.0.0-r2.ebuild b/media-libs/opencolorio/opencolorio-2.0.0-r2.ebuild deleted file mode 100644 index 58b17a2..0000000 --- a/media-libs/opencolorio/opencolorio-2.0.0-r2.ebuild +++ /dev/null @@ -1,103 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit flag-o-matic python-single-r1 multilib cmake - -DESCRIPTION="A color management framework for visual effects and animation" -HOMEPAGE="https://opencolorio.org/" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/AcademySoftwareFoundation/OpenColorIO.git" -else - SRC_URI=" - https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v"${PV}".tar.gz -> "${P}".tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/OpenColorIO-"${PV}"" -fi - -#Missing: -# Java bindings -# GPU tests, do not work in sandbox - -LICENSE="BSD" -SLOT="0/2" -IUSE="apps cpu_flags_x86_sse2 doc python test" -REQUIRED_USE=" - doc? ( python ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - >=dev-cpp/pystring-1.1.3 - >=dev-cpp/yaml-cpp-0.6.3 - >=dev-libs/expat-2.2.5 - >=media-libs/ilmbase-2.3.0 - apps? ( - >=media-libs/lcms-2.2 - >=media-libs/openimageio-2.1.9:= - ) - python? ( - ${PYTHON_DEPS} - ) -" -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen - $(python_gen_cond_dep ' - dev-python/six[${PYTHON_USEDEP}] - dev-python/testresources[${PYTHON_USEDEP}] - dev-python/recommonmark[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_press_theme[${PYTHON_USEDEP}] - dev-python/sphinx-tabs[${PYTHON_USEDEP}] - dev-python/breathe[${PYTHON_USEDEP}] - ') - ) - python? ( - $(python_gen_cond_dep ' - >=dev-python/pybind11-2.4.3[${PYTHON_USEDEP}] - test? ( dev-python/numpy[${PYTHON_USEDEP}] ) - ') - ) -" -BDEPEND=" - virtual/pkgconfig -" - -CMAKE_BUILD_TYPE="Release" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - sed -i "s/DESTINATION lib/DESTINATION $(get_libdir)/" "${S}"/src/OpenColorIO/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - # Filter -ffp-contract=fast - # https://github.com/AcademySoftwareFoundation/OpenColorIO/issues/1361 - filter-flags -ffp-contract=fast && append-flags -ffp-contract=on - - local mycmakeargs=( - -DLIB_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DOCIO_BUILD_APPS=$(usex apps) - -DOCIO_BUILD_DOCS=$(usex doc) - -DOCIO_BUILD_PYTHON=$(usex python) - -DOCIO_BUILD_JAVA=OFF - -DOCIO_BUILD_TESTS=$(usex test) - -DOCIO_BUILD_GPU_TESTS=OFF - -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2) - -DOCIO_INSTALL_EXT_PACKAGES=NONE - - ) - cmake_src_configure -} diff --git a/media-libs/opencolorio/opencolorio-9999.ebuild b/media-libs/opencolorio/opencolorio-9999.ebuild deleted file mode 100644 index 1003cd0..0000000 --- a/media-libs/opencolorio/opencolorio-9999.ebuild +++ /dev/null @@ -1,95 +0,0 @@ -# Copyright 2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7..9} ) - -inherit python-single-r1 multilib cmake - -DESCRIPTION="A color management framework for visual effects and animation" -HOMEPAGE="https://opencolorio.org/" - -if [[ "${PV}" == "9999" ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/AcademySoftwareFoundation/OpenColorIO.git" -else - SRC_URI=" - https://github.com/AcademySoftwareFoundation/OpenColorIO/archive/v"${PV}".tar.gz -> "${P}".tar.gz - " - KEYWORDS="~amd64" - S="${WORKDIR}/OpenColorIO-"${PV}"" -fi - -#Missing: -# Java bindings - -LICENSE="BSD" -SLOT="0" -IUSE="cpu_flags_x86_sse2 doc opengl python test" -REQUIRED_USE=" - doc? ( python ) - python? ( ${PYTHON_REQUIRED_USE} ) -" - -RDEPEND=" - >=dev-cpp/pystring-1.1.3 - >=dev-cpp/yaml-cpp-0.6.3 - >=dev-libs/expat-2.2.5 - >=media-libs/ilmbase-2.3.0 - opengl? ( - >=media-libs/lcms-2.2 - >=media-libs/openimageio-2.1.9:= - ) - python? ( - $(python_gen_cond_dep ' - >=dev-python/pybind11-2.4.3[${PYTHON_USEDEP}] - ') - ) -" -DEPEND="${RDEPEND} - doc? ( - app-doc/doxygen - $(python_gen_cond_dep ' - dev-python/six[${PYTHON_USEDEP}] - dev-python/testresources[${PYTHON_USEDEP}] - dev-python/recommonmark[${PYTHON_USEDEP}] - dev-python/sphinx[${PYTHON_USEDEP}] - dev-python/sphinx_press_theme[${PYTHON_USEDEP}] - dev-python/sphinx-tabs[${PYTHON_USEDEP}] - dev-python/breathe[${PYTHON_USEDEP}] - ') - ) - test? ( - $(python_gen_cond_dep ' - dev-python/numpy[${PYTHON_USEDEP}] - ') - ) -" -BDEPEND=" - virtual/pkgconfig -" - -CMAKE_BUILD_TYPE="Release" - -src_prepare() { - sed -i "s/DESTINATION lib/DESTINATION $(get_libdir)/" "${S}"/src/OpenColorIO/CMakeLists.txt || die - cmake_src_prepare -} - -src_configure() { - local mycmakeargs=( - -DLIB_SUFFIX="" - -DBUILD_SHARED_LIBS=ON - -DOCIO_BUILD_APPS=$(usex opengl) - -DOCIO_BUILD_DOCS=$(usex doc) - -DOCIO_BUILD_PYTHON=$(usex python) - -DOCIO_BUILD_JAVA=OFF - -DOCIO_BUILD_TESTS=$(usex test) - -DOCIO_BUILD_GPU_TESTS=$(usex test) - -DOCIO_USE_SSE=$(usex cpu_flags_x86_sse2) - -DOCIO_INSTALL_EXT_PACKAGES=NONE - - ) - cmake_src_configure -}