Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: d0c7d3d63c73
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: bf433d027633
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Jul 25, 2021

  1. OIIO, bump version (#6088)

    Begasus authored Jul 25, 2021

    Verified

    This commit was signed with the committer’s verified signature.
    archen Kevin Glavin
    Copy the full SHA
    bf433d0 View commit details
Original file line number Diff line number Diff line change
@@ -6,18 +6,21 @@ animation and visual effects work for film.
OpenImageIO is used extensively in animation and VFX studios all over the \
world, and is also incorporated into several commercial products."
HOMEPAGE="https://github.com/OpenImageIO/"
COPYRIGHT="2008-2019 Larry Gritz et al."
COPYRIGHT="2008-present Contributors to the OpenImageIO project."
LICENSE="BSD (3-clause)"
REVISION="4"
REVISION="1"
SOURCE_URI="$HOMEPAGE/oiio/archive/Release-$portVersion.tar.gz"
CHECKSUM_SHA256="930a142c9cabbbc3b249577083c97e9f0407cc8cbf933144f3a3ed0f3ec9cfe0"
CHECKSUM_SHA256="d1a59f32dbba3ba71ad2e62e107034d1c5287bca1b0696474e927d504cd05ef4"
SOURCE_FILENAME="openimageio-$portVersion.tar.gz"
SOURCE_DIR="oiio-Release-$portVersion"
PATCHES="openimageio-$portVersion.patchset"

ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"

libVersion="2.2.16"
libVersionCompat="$libVersion compat >= ${libVersion%%.*}"

PROVIDES="
openimageio$secondaryArchSuffix = $portVersion
cmd:iconvert$secondaryArchSuffix
@@ -26,8 +29,8 @@ PROVIDES="
cmd:iinfo$secondaryArchSuffix
cmd:maketx$secondaryArchSuffix
cmd:oiiotool$secondaryArchSuffix
lib:libopenimageio$secondaryArchSuffix = $portVersion compat >= 2.0
lib:libopenimageio_util$secondaryArchSuffix = $portVersion compat >= 2.0
lib:libOpenImageIO$secondaryArchSuffix = $libVersionCompat
lib:libOpenImageIO_Util$secondaryArchSuffix = $libVersionCompat
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -40,14 +43,17 @@ REQUIRES="
lib:libbz2$secondaryArchSuffix
lib:libcrypto$secondaryArchSuffix
lib:libfreetype$secondaryArchSuffix
lib:libfmt$secondaryArchSuffix
lib:libgif$secondaryArchSuffix
lib:libglew$secondaryArchSuffix
lib:libhalf_2_4$secondaryArchSuffix
lib:libiex_2_4$secondaryArchSuffix
lib:libimath_2_4$secondaryArchSuffix
lib:libilmthread_2_4$secondaryArchSuffix
lib:libheif$secondaryArchSuffix
lib:libIex_3_0$secondaryArchSuffix
lib:libIlmThread_3_0$secondaryArchSuffix
lib:libImath_3_0$secondaryArchSuffix
lib:libjpeg$secondaryArchSuffix
lib:libopencolorio$secondaryArchSuffix
lib:libOpenColorIO$secondaryArchSuffix
lib:libOpenEXR_3_0$secondaryArchSuffix
lib:libOpenEXRUtil_3_0$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libpugixml$secondaryArchSuffix
lib:libraw$secondaryArchSuffix
@@ -59,8 +65,8 @@ REQUIRES="

PROVIDES_devel="
openimageio${secondaryArchSuffix}_devel = $portVersion
devel:libopenimageio$secondaryArchSuffix = $portVersion compat >= 2.0
devel:libopenimageio_util$secondaryArchSuffix = $portVersion compat >= 2.0
devel:libOpenImageIO$secondaryArchSuffix = $libVersionCompat
devel:libOpenImageIO_Util$secondaryArchSuffix = $libVersionCompat
"
REQUIRES_devel="
openimageio$secondaryArchSuffix == $portVersion base
@@ -69,16 +75,21 @@ REQUIRES_devel="

BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix >= 1.69
devel:libboost_system$secondaryArchSuffix >= 1.70.0
devel:libbz2$secondaryArchSuffix
devel:libcrypto$secondaryArchSuffix
devel:libfreetype$secondaryArchSuffix
devel:libfmt$secondaryArchSuffix
devel:libgif$secondaryArchSuffix
devel:libglew$secondaryArchSuffix
devel:libhalf_2_4$secondaryArchSuffix
devel:libilmimf_2_4$secondaryArchSuffix
devel:libheif$secondaryArchSuffix
devel:libIex_3_0$secondaryArchSuffix
devel:libIlmThread_3_0$secondaryArchSuffix
devel:libImath_3_0$secondaryArchSuffix
devel:libjpeg$secondaryArchSuffix
devel:libopencolorio$secondaryArchSuffix
devel:libOpenColorIO$secondaryArchSuffix
devel:libOpenEXR_3_0$secondaryArchSuffix
devel:libOpenEXRUtil_3_0$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libpugixml$secondaryArchSuffix
devel:libraw$secondaryArchSuffix
@@ -104,35 +115,36 @@ defineDebugInfoPackage openimageio$secondaryArchSuffix \
$binDir/iinfo \
$binDir/maketx \
$binDir/oiiotool \
$libDir/libOpenImageIO.so.$portVersion \
$libDir/libOpenImageIO_Util.so.$portVersion
$libDir/libOpenImageIO.so.$libVersion \
$libDir/libOpenImageIO_Util.so.$libVersion

BUILD()
{
mkdir -p build
cd build
cmake .. \
cmake -B build -S . \
$cmakeDirArgs \
-DUSE_PYTHON=OFF \
-DUSE_EXTERNAL_PUGIXML=ON \
$cmakeDirArgs
make $jobArgs
-DOIIO_BUILD_TESTS=OFF \
-DBUILD_TESTING=OFF
make -C build $jobArgs
}

INSTALL()
{
cd build
make install
make -C build install

prepareInstalledDevelLibs libOpenImageIO libOpenImageIO_Util
fixPkgconfig

# devel package
packageEntries devel \
$developDir
$developDir \
$libDir/cmake
}

TEST()
{
cd build
make test
# tests fail (also previous version)
# enable TESTS in BUILD to check this
make -C build test
}
197 changes: 0 additions & 197 deletions media-libs/openimageio/patches/openimageio-2.0.12.patchset

This file was deleted.

Loading