diff options
-rw-r--r-- | media-libs/openimageio/Manifest | 1 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-1.6.13.ebuild | 97 | ||||
-rw-r--r-- | media-libs/openimageio/openimageio-1.8.17.ebuild | 116 |
3 files changed, 0 insertions, 214 deletions
diff --git a/media-libs/openimageio/Manifest b/media-libs/openimageio/Manifest index d820d5faf3f5..217a10ddff03 100644 --- a/media-libs/openimageio/Manifest +++ b/media-libs/openimageio/Manifest @@ -1,2 +1 @@ -DIST openimageio-1.6.13.tar.gz 24846132 BLAKE2B a72b7756257d4ffd1567efd73c24bf65fc2bffff82c96c18a77211e918323e65e1c99076e272b3b77115ca30910ea4cfced222892b062e339d8e4e85bd2221f7 SHA512 8cd490b6d6a3c0b542c4bcab709897c5f35ce6844ce7465e0158ac52a1b108603ccc76439f7f2e46af2ec08be4293bda6a76ec68a959026af70a444cbbdc21d6 DIST openimageio-1.8.17.tar.gz 27835527 BLAKE2B e524d171bb918a46aed3c5f329bc8d10853d8b170c1e9b4a6edad72db66b3a03ea32eba4338577a667254e884daebf6b5b33a70090b953a5b5e269d874c91852 SHA512 e58cad9458d71a845c3214675a41e0cffe0509fd52a95ef5a44af0015ef25a1145f9ebb50ff1f5e7200ae0a46efb40e851855f53c55d058c0bc5654a072bdbf7 diff --git a/media-libs/openimageio/openimageio-1.6.13.ebuild b/media-libs/openimageio/openimageio-1.6.13.ebuild deleted file mode 100644 index 09f2d8e5ed0d..000000000000 --- a/media-libs/openimageio/openimageio-1.6.13.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python{2_7,3_5} ) -inherit cmake-utils python-single-r1 vcs-snapshot - -DESCRIPTION="A library for reading and writing images" -HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO" -SRC_URI="https://github.com/OpenImageIO/oiio/archive/Release-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~ppc64 x86" -IUSE="color-management ffmpeg gif jpeg2k opencv opengl python raw ssl +truetype" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="test" #431412 - -RDEPEND=" - dev-libs/boost:= - dev-libs/pugixml:= - media-libs/ilmbase:= - media-libs/libpng:0= - >=media-libs/libwebp-0.2.1:= - media-libs/openexr:= - media-libs/tiff:0= - sys-libs/zlib:= - virtual/jpeg:0 - color-management? ( >=media-libs/opencolorio-1.0.7:= ) - ffmpeg? ( media-video/ffmpeg:= ) - gif? ( media-libs/giflib:0= ) - jpeg2k? ( >=media-libs/openjpeg-1.5:0= ) - opencv? ( - >=media-libs/opencv-2.3:= - python? ( >=media-libs/opencv-2.4.8[python,${PYTHON_USEDEP}] ) - ) - opengl? ( - virtual/glu - virtual/opengl - ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - raw? ( media-libs/libraw:= ) - ssl? ( dev-libs/openssl:0 ) - truetype? ( media-libs/freetype:2= )" -DEPEND="${RDEPEND}" - -#S=${WORKDIR}/${P}/src - -DOCS=( CHANGES CREDITS README.rst src/doc/${PN}.pdf ) - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_prepare() { - cmake-utils_src_prepare - - use python && python_fix_shebang . -} - -src_configure() { - local mycmakeargs=( - -DLIB_INSTALL_DIR="/usr/$(get_libdir)" - -DBUILDSTATIC=OFF - -DLINKSTATIC=OFF - -DINSTALL_DOCS=OFF - -DOIIO_BUILD_TESTS=OFF # as they are RESTRICTed - $(use python && echo -DPYLIB_INSTALL_DIR="$(python_get_sitedir)") - -DSTOP_ON_WARNING=OFF - -DUSE_EXTERNAL_PUGIXML=ON - -DUSE_FIELD3D=OFF # missing in Portage - -DUSE_FREETYPE=$(usex truetype) - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_GIF=$(usex gif) - -DUSE_OCIO=$(usex color-management) - -DUSE_OPENCV=$(usex opencv) - -DUSE_OPENGL=$(usex opengl) - -DUSE_OPENJPEG=$(usex jpeg2k) - -DUSE_OPENSSL=$(usex ssl) - -DUSE_PYTHON=$(usex python) - -DUSE_LIBRAW=$(usex raw) - -DUSE_QT=OFF # Deprecated - ) - - if [[ ${EPYTHON} == python3* ]]; then - mycmakeargs+=( -DUSE_PYTHON3=ON ) - else - mycmakeargs+=( -DUSE_PYTHON3=OFF ) - fi - - cmake-utils_src_configure -} diff --git a/media-libs/openimageio/openimageio-1.8.17.ebuild b/media-libs/openimageio/openimageio-1.8.17.ebuild deleted file mode 100644 index a9d0a063b8e7..000000000000 --- a/media-libs/openimageio/openimageio-1.8.17.ebuild +++ /dev/null @@ -1,116 +0,0 @@ -# Copyright 1999-2019 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python{2_7,3_{5,6}} ) -inherit cmake-utils python-single-r1 - -DESCRIPTION="A library for reading and writing images" -HOMEPAGE="https://sites.google.com/site/openimageio/ https://github.com/OpenImageIO" -SRC_URI="https://github.com/OpenImageIO/oiio/archive/Release-${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~ppc64 ~x86" - -X86_CPU_FEATURES=( - sse2:sse2 sse3:sse3 ssse3:ssse3 sse4_1:sse4.1 sse4_2:sse4.2 - avx:avx avx2:avx2 avx512f:avx512f f16c:f16c -) -CPU_FEATURES=( ${X86_CPU_FEATURES[@]/#/cpu_flags_x86_} ) - -IUSE="color-management doc ffmpeg field3d gif jpeg2k libressl opencv opengl ptex python qt5 raw ssl +truetype ${CPU_FEATURES[@]%:*}" -REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" - -RESTRICT="test" #431412 - -BDEPEND=" - doc? ( app-doc/doxygen[latex] ) -" -RDEPEND=" - >=dev-libs/boost-1.62:= - dev-libs/pugixml:= - >=media-libs/ilmbase-2.2.0-r1:= - media-libs/libpng:0= - >=media-libs/libwebp-0.2.1:= - >=media-libs/openexr-2.2.0-r2:= - media-libs/tiff:0= - sys-libs/zlib:= - virtual/jpeg:0 - color-management? ( media-libs/opencolorio:= ) - ffmpeg? ( media-video/ffmpeg:= ) - field3d? ( media-libs/Field3D:= ) - gif? ( media-libs/giflib:0= ) - jpeg2k? ( >=media-libs/openjpeg-1.5:0= ) - opencv? ( media-libs/opencv:= ) - opengl? ( - media-libs/glew:= - virtual/glu - virtual/opengl - ) - ptex? ( media-libs/ptex:= ) - python? ( - ${PYTHON_DEPS} - dev-libs/boost:=[python,${PYTHON_USEDEP}] - ) - qt5? ( - dev-qt/qtcore:5 - dev-qt/qtgui:5 - dev-qt/qtwidgets:5 - opengl? ( dev-qt/qtopengl:5 ) - ) - raw? ( media-libs/libraw:= ) - ssl? ( - !libressl? ( dev-libs/openssl:0= ) - libressl? ( dev-libs/libressl:0= ) - ) - truetype? ( media-libs/freetype:2= ) -" -DEPEND="${RDEPEND}" - -DOCS=( CHANGES.md CREDITS.md README.md src/doc/${PN}.pdf ) - -S="${WORKDIR}/oiio-Release-${PV}" - -pkg_setup() { - use python && python-single-r1_pkg_setup -} - -src_configure() { - # Build with SIMD support - local cpufeature - local mysimd=() - for cpufeature in "${CPU_FEATURES[@]}"; do - use "${cpufeature%:*}" && mysimd+=("${cpufeature#*:}") - done - - # If no CPU SIMDs were used, completely disable them - [[ -z ${mysimd} ]] && mysimd=("0") - - local mycmakeargs=( - -DINSTALL_DOCS=$(usex doc) - -DOIIO_BUILD_TESTS=OFF # as they are RESTRICTed - -DSTOP_ON_WARNING=OFF - -DUSE_EXTERNAL_PUGIXML=ON - -DUSE_JPEGTURBO=ON - -DUSE_NUKE=NO # Missing in Gentoo - -DUSE_NUKE=OFF - -DUSE_OCIO=$(usex color-management) - -DUSE_FFMPEG=$(usex ffmpeg) - -DUSE_FIELD3D=$(usex field3d) - -DUSE_GIF=$(usex gif) - -DUSE_OPENJPEG=$(usex jpeg2k) - -DUSE_OPENCV=$(usex opencv) - -DUSE_OPENGL=$(usex opengl) - -DUSE_PTEX=$(usex ptex) - -DUSE_PYTHON=$(usex python) - -DUSE_QT=$(usex qt5) - -DUSE_LIBRAW=$(usex raw) - -DUSE_OPENSSL=$(usex ssl) - -DUSE_FREETYPE=$(usex truetype) - -DUSE_SIMD=$(local IFS=','; echo "${mysimd[*]}") - ) - - cmake-utils_src_configure -} |