mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-29 11:38:52 +02:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user