media-libs/opencolorio: remove, is in ::gentoo

Signed-off-by: Alfred Wingate <parona@protonmail.com>
This commit is contained in:
Alfred Wingate 2021-06-27 20:55:42 +03:00
parent 501f30f729
commit 4ae9cbeb16
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
5 changed files with 0 additions and 309 deletions

View File

@ -1 +0,0 @@
DIST opencolorio-2.0.0.tar.gz 9892414 BLAKE2B fdff2e144eadb444624f059f7582ea99d4e2dbd53cad5b89f92d19c7ca9dda2ff9ec4f8c8d00e6ac083da21134f9bc783b297c553a8e7d11936c936e5c41a2f3 SHA512 7110a1a30a5fa64b81d7fc5e33234673aaddbad5e19ce7f21436c590edd7d2ce767650c9a934011a96e53132c030bd0b654fcf93ad79c1bfc8c050762c57f6d0

View File

@ -1,15 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>parona@protonmail.com</email>
<name>Alfred Wingate</name>
</maintainer>
<longdescription lang="en">OpenColorIO (OCIO) is a complete color management solution geared towards motion picture production with an emphasis on visual effects and computer animation.</longdescription>
<upstream>
<remote-id type="github">AcademySoftwareFoundation/OpenColorIO</remote-id>
</upstream>
<use>
<flag name="apps">Build helper programs</flag>
</use>
</pkgmetadata>

View File

@ -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
}

View File

@ -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
}

View File

@ -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
}