From 1bd3333505983ff0d8cecb2693aaeb1c61dc4508 Mon Sep 17 00:00:00 2001 From: kenmays Date: Thu, 6 Jun 2019 10:52:07 -0700 Subject: [PATCH] povray: Bump to 3.7.0.8 (#3877) * Update and rename povray-3.7.0.4.recipe to povray-3.7.0.8.recipe * Rename povray-3.7.0.4.patchset to povray-3.7.0.8.patchset * Update description * Simplify Boost Lib lookup for x86 2nd arch. --- ...7.0.4.patchset => povray-3.7.0.8.patchset} | 0 ...y-3.7.0.4.recipe => povray-3.7.0.8.recipe} | 30 ++++++++++++------- 2 files changed, 19 insertions(+), 11 deletions(-) rename media-gfx/povray/patches/{povray-3.7.0.4.patchset => povray-3.7.0.8.patchset} (100%) rename media-gfx/povray/{povray-3.7.0.4.recipe => povray-3.7.0.8.recipe} (74%) diff --git a/media-gfx/povray/patches/povray-3.7.0.4.patchset b/media-gfx/povray/patches/povray-3.7.0.8.patchset similarity index 100% rename from media-gfx/povray/patches/povray-3.7.0.4.patchset rename to media-gfx/povray/patches/povray-3.7.0.8.patchset diff --git a/media-gfx/povray/povray-3.7.0.4.recipe b/media-gfx/povray/povray-3.7.0.8.recipe similarity index 74% rename from media-gfx/povray/povray-3.7.0.4.recipe rename to media-gfx/povray/povray-3.7.0.8.recipe index 61454ebf9..9c084a62b 100644 --- a/media-gfx/povray/povray-3.7.0.4.recipe +++ b/media-gfx/povray/povray-3.7.0.8.recipe @@ -1,15 +1,16 @@ SUMMARY="The Persistence of Vision Raytracer" -DESCRIPTION="The Persistence of Vision Ray Tracer, or POV-Ray, is a ray \ -tracing program which generates images from a text-based scene description, \ -and is available for a variety of computer platforms. It was originally based \ -on DKBTrace, written by David Kirk Buck and Aaron A. Collins for the Amiga \ -computers." +DESCRIPTION="Persistence of Vision Ray Tracer, or POV-Ray, is a ray \ +tracing program using techniques for generating images from text-based \ +scene descriptions by tracing the path of light through pixels in an image plane \ +and simulating the effects of its encounters with virtual objects. \ +Based on DKBTrace, written by David Kirk Buck and Aaron Collins for \ +Commodore Amiga computers." HOMEPAGE="http://www.povray.org/" COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd." LICENSE="GNU GPL v3" -REVISION="2" +REVISION="1" SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="408bb2f16eaad316be7ff6b4c867be04d8d57eb6e2642e168e992a51b82bb487" +CHECKSUM_SHA256="53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4" PATCHES="povray-$portVersion.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" @@ -58,10 +59,9 @@ BUILD_REQUIRES=" devel:libz$secondaryArchSuffix " BUILD_PREREQUIRES=" - cmd:aclocal cmd:autoconf - cmd:autoheader cmd:automake + cmd:autoupdate cmd:awk cmd:find cmd:gcc$secondaryArchSuffix @@ -77,14 +77,22 @@ BUILD() { cd unix ./prebuild.sh + autoupdate cd .. - export CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR -D_BSD_SOURCE" export LDFLAGS="-lbsd -lnetwork" + export CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR -D_BSD_SOURCE" + KeepEXR="" + + if [ $effectiveTargetArchitecture = x86_gcc2 ]; then + KeepEXR="--without-openexr" + fi runConfigure ./configure \ COMPILED_BY="HaikuPorts" \ - --with-boost-libdir=`finddir B_SYSTEM_LIB_DIRECTORY` + --disable-optimiz \ + --with-boost-libdir="$libDir/${secondaryArchSubDir}" \ + $KeepEXR make $jobArgs }