diff --git a/media-libs/ilmbase/ilmbase-2.2.0.recipe b/media-libs/ilmbase/ilmbase-2.2.1.recipe similarity index 50% rename from media-libs/ilmbase/ilmbase-2.2.0.recipe rename to media-libs/ilmbase/ilmbase-2.2.1.recipe index 11f2f3a10..00b1c8a53 100644 --- a/media-libs/ilmbase/ilmbase-2.2.0.recipe +++ b/media-libs/ilmbase/ilmbase-2.2.1.recipe @@ -5,31 +5,34 @@ abstraction library which currently supports pthreads and Windows threads. \ Imath implements 2D and 3D vectors, 3x3 and 4x4 matrices, quaternions and \ other useful math functions. Iex is an exception-handling library. There is \ also IexMath module." -HOMEPAGE="http://www.openexr.com/" +HOMEPAGE="https://www.openexr.com/" +COPYRIGHT="2002-2017 Industrial Light & Magic" LICENSE="BSD (3-clause)" -COPYRIGHT="2002-2014 Industrial Light & Magic" -SOURCE_URI="http://download.savannah.nongnu.org/releases/openexr/ilmbase-$portVersion.tar.gz" -CHECKSUM_SHA256="ecf815b60695555c1fbc73679e84c7c9902f4e8faa6e8000d2f905b8b86cedc7" -REVISION="6" +REVISION="1" +SOURCE_URI="https://download.savannah.nongnu.org/releases/openexr/ilmbase-$portVersion.tar.gz" +CHECKSUM_SHA256="cac206e63be68136ef556c2b555df659f45098c159ce24804e9d5e9e0286609e" + +if [ "$effectiveTargetArchitecture" = x86_gcc2 ]; then + PATCHES="ilmbase-$portVersion.patchset" +fi ARCHITECTURES="x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" -if [ $effectiveTargetArchitecture = "x86_gcc2" ]; then - PATCHES="ilmbase-2.2.0.patchset" -fi +libVersion="23.0.0" +libVersionCompat="$libVersion compat >= ${libVersion%%.*}" PROVIDES=" ilmbase$secondaryArchSuffix = $portVersion - lib:libhalf$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libiex$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libiex_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libiexmath$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libiexmath_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libilmthread$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libilmthread_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libimath$secondaryArchSuffix = 12.0.0 compat >= 12 - lib:libimath_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 + lib:libhalf$secondaryArchSuffix = $libVersionCompat + lib:libiex$secondaryArchSuffix = $libVersionCompat + lib:libiex_2_2$secondaryArchSuffix = $libVersionCompat + lib:libiexmath$secondaryArchSuffix = $libVersionCompat + lib:libiexmath_2_2$secondaryArchSuffix = $libVersionCompat + lib:libilmthread$secondaryArchSuffix = $libVersionCompat + lib:libilmthread_2_2$secondaryArchSuffix = $libVersionCompat + lib:libimath$secondaryArchSuffix = $libVersionCompat + lib:libimath_2_2$secondaryArchSuffix = $libVersionCompat " REQUIRES=" haiku$secondaryArchSuffix @@ -37,15 +40,15 @@ REQUIRES=" PROVIDES_devel=" ilmbase${secondaryArchSuffix}_devel = $portVersion - devel:libhalf$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libiex_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libiexmath_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libilmthread_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libimath_2_2$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libiex$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libiexmath$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libilmthread$secondaryArchSuffix = 12.0.0 compat >= 12 - devel:libimath$secondaryArchSuffix = 12.0.0 compat >= 12 + devel:libhalf$secondaryArchSuffix = $libVersionCompat + devel:libiex_2_2$secondaryArchSuffix = $libVersionCompat + devel:libiexmath_2_2$secondaryArchSuffix = $libVersionCompat + devel:libilmthread_2_2$secondaryArchSuffix = $libVersionCompat + devel:libimath_2_2$secondaryArchSuffix = $libVersionCompat + devel:libiex$secondaryArchSuffix = $libVersionCompat + devel:libiexmath$secondaryArchSuffix = $libVersionCompat + devel:libilmthread$secondaryArchSuffix = $libVersionCompat + devel:libimath$secondaryArchSuffix = $libVersionCompat " REQUIRES_devel=" ilmbase$secondaryArchSuffix == $portVersion base @@ -55,13 +58,13 @@ BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel " BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix + cmd:libtoolize$secondaryArchSuffix cmd:make cmd:which - cmd:autoconf - cmd:aclocal - cmd:libtoolize$secondaryArchSuffix " BUILD() diff --git a/media-libs/ilmbase/patches/ilmbase-2.2.0.patchset b/media-libs/ilmbase/patches/ilmbase-2.2.1.patchset similarity index 100% rename from media-libs/ilmbase/patches/ilmbase-2.2.0.patchset rename to media-libs/ilmbase/patches/ilmbase-2.2.1.patchset