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"
|
SUMMARY="The Persistence of Vision Raytracer"
|
||||||
DESCRIPTION="The Persistence of Vision Ray Tracer, or POV-Ray, is a ray \
|
DESCRIPTION="Persistence of Vision Ray Tracer, or POV-Ray, is a ray \
|
||||||
tracing program which generates images from a text-based scene description, \
|
tracing program using techniques for generating images from text-based \
|
||||||
and is available for a variety of computer platforms. It was originally based \
|
scene descriptions by tracing the path of light through pixels in an image plane \
|
||||||
on DKBTrace, written by David Kirk Buck and Aaron A. Collins for the Amiga \
|
and simulating the effects of its encounters with virtual objects. \
|
||||||
computers."
|
Based on DKBTrace, written by David Kirk Buck and Aaron Collins for \
|
||||||
|
Commodore Amiga computers."
|
||||||
HOMEPAGE="http://www.povray.org/"
|
HOMEPAGE="http://www.povray.org/"
|
||||||
COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd."
|
COPYRIGHT="1991-2013 Persistence of Vision Raytracer Pty. Ltd."
|
||||||
LICENSE="GNU GPL v3"
|
LICENSE="GNU GPL v3"
|
||||||
REVISION="2"
|
REVISION="1"
|
||||||
SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz"
|
SOURCE_URI="https://github.com/POV-Ray/povray/archive/v$portVersion.tar.gz"
|
||||||
CHECKSUM_SHA256="408bb2f16eaad316be7ff6b4c867be04d8d57eb6e2642e168e992a51b82bb487"
|
CHECKSUM_SHA256="53d11ebd2972fc452af168a00eb83aefb61387662c10784e81b63e44aa575de4"
|
||||||
PATCHES="povray-$portVersion.patchset"
|
PATCHES="povray-$portVersion.patchset"
|
||||||
|
|
||||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||||
@@ -58,10 +59,9 @@ BUILD_REQUIRES="
|
|||||||
devel:libz$secondaryArchSuffix
|
devel:libz$secondaryArchSuffix
|
||||||
"
|
"
|
||||||
BUILD_PREREQUIRES="
|
BUILD_PREREQUIRES="
|
||||||
cmd:aclocal
|
|
||||||
cmd:autoconf
|
cmd:autoconf
|
||||||
cmd:autoheader
|
|
||||||
cmd:automake
|
cmd:automake
|
||||||
|
cmd:autoupdate
|
||||||
cmd:awk
|
cmd:awk
|
||||||
cmd:find
|
cmd:find
|
||||||
cmd:gcc$secondaryArchSuffix
|
cmd:gcc$secondaryArchSuffix
|
||||||
@@ -77,14 +77,22 @@ BUILD()
|
|||||||
{
|
{
|
||||||
cd unix
|
cd unix
|
||||||
./prebuild.sh
|
./prebuild.sh
|
||||||
|
autoupdate
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
export CXXFLAGS="-std=c++11 -DBOOST_NO_CXX11_CONSTEXPR -D_BSD_SOURCE"
|
|
||||||
export LDFLAGS="-lbsd -lnetwork"
|
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 \
|
runConfigure ./configure \
|
||||||
COMPILED_BY="HaikuPorts" \
|
COMPILED_BY="HaikuPorts" \
|
||||||
--with-boost-libdir=`finddir B_SYSTEM_LIB_DIRECTORY`
|
--disable-optimiz \
|
||||||
|
--with-boost-libdir="$libDir/${secondaryArchSubDir}" \
|
||||||
|
$KeepEXR
|
||||||
|
|
||||||
make $jobArgs
|
make $jobArgs
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user