mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
OIIO: bump version (#1459)
This commit is contained in:
112
media-libs/openimageio/openimageio-1.7.15.recipe
Normal file
112
media-libs/openimageio/openimageio-1.7.15.recipe
Normal file
@@ -0,0 +1,112 @@
|
||||
SUMMARY="A library to read and write images"
|
||||
DESCRIPTION="OpenImageIO is a library for reading and writing images, and a \
|
||||
bunch of related classes, utilities, and applications. There is a particular \
|
||||
emphasis on formats and functionality used in professional, large-scale \
|
||||
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="http://github.com/OpenImageIO/"
|
||||
COPYRIGHT="2008-2017 Larry Gritz et al."
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/oiio/archive/Release-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5db80981a3f87ad4a2a0c684884ad28f8c879570318dc79ba485b69e6fe77e73"
|
||||
SOURCE_FILENAME="openimageio-$portVersion.tar.gz"
|
||||
SOURCE_DIR="oiio-Release-$portVersion"
|
||||
PATCHES="openimageio-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="!x86_gcc2 x86"
|
||||
|
||||
PROVIDES="
|
||||
openimageio$secondaryArchSuffix = $portVersion
|
||||
cmd:iconvert
|
||||
cmd:idiff
|
||||
cmd:igrep
|
||||
cmd:iinfo
|
||||
cmd:maketx
|
||||
cmd:oiiotool
|
||||
lib:libopenimageio$secondaryArchSuffix = $portVersion compat >= 1.7
|
||||
lib:libopenimageio_util$secondaryArchSuffix = $portVersion compat >= 1.7
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libboost_atomic$secondaryArchSuffix
|
||||
lib:libboost_chrono$secondaryArchSuffix
|
||||
lib:libboost_date_time$secondaryArchSuffix
|
||||
lib:libboost_filesystem$secondaryArchSuffix
|
||||
lib:libboost_regex$secondaryArchSuffix
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:libboost_thread$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libfreetype$secondaryArchSuffix
|
||||
lib:libgif$secondaryArchSuffix
|
||||
lib:libglew$secondaryArchSuffix
|
||||
lib:libhalf$secondaryArchSuffix
|
||||
lib:libilmimf$secondaryArchSuffix
|
||||
lib:libjpeg$secondaryArchSuffix
|
||||
lib:libopencolorio$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix #yeah, really
|
||||
lib:libtiff$secondaryArchSuffix
|
||||
lib:libwebp$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
openimageio${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libopenimageio$secondaryArchSuffix = $portVersion compat >= 1.7
|
||||
devel:libopenimageio_util$secondaryArchSuffix = $portVersion compat >= 1.7
|
||||
"
|
||||
REQUIRES_devel="
|
||||
openimageio$secondaryArchSuffix == $portVersion base
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libfreetype$secondaryArchSuffix
|
||||
devel:libgif$secondaryArchSuffix
|
||||
devel:libglew$secondaryArchSuffix
|
||||
devel:libhalf$secondaryArchSuffix
|
||||
devel:libilmimf$secondaryArchSuffix
|
||||
devel:libjpeg$secondaryArchSuffix
|
||||
devel:libopencolorio$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
devel:libtiff$secondaryArchSuffix
|
||||
devel:libwebp$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:cmake
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
export CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR"
|
||||
make USE_OPENSSL=1 $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir $libDir $includeDir $docDir
|
||||
cp -R dist/haiku*/bin/* $binDir/
|
||||
cp -R dist/haiku*/lib/* $libDir/
|
||||
cp -R dist/haiku*/include/* $includeDir/
|
||||
cp -R dist/haiku*/doc/* $docDir/
|
||||
|
||||
prepareInstalledDevelLibs libOpenImageIO libOpenImageIO_Util
|
||||
fixPkgconfig
|
||||
|
||||
# devel package
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user