0
0
Fork 0
haikuports/x11-misc/xaos/xaos-4.2.1.recipe

80 lines
2.6 KiB
Bash
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

SUMMARY="Real-time interactive fractal zoomer"
DESCRIPTION="XaoS is an interactive fractal zoomer. It allows the user to \
continuously zoom in or out of a fractal in a fluid, continuous motion. This \
capability makes XaoS great for exploring fractals, and its fun!
If you dont know what fractals are, dont worry. \
XaoS includes many animated tutorials that make learning about fractals fun \
and easy. These tutorials are also a great introduction to all of XaoSs \
features.
XaoS can display many different fractal types, including Mandelbrot, \
Barnsley, Newton, Phoenix, and many more. Fractals can be rendered using \
various coloring methods and planes for an almost endless variety of images. \
XaoS also supports switching between Julia and Mandelbrot sets for each formula.
XaoS currently runs on Windows, Mac OS X, Linux, and other Unix-like systems. \
Older versions are available for DOS, BeoS, and more. Download a copy for your \
operating system today.
XaoS is free software, licensed under the GPL. It was originally written by \
Thomas Marsh and Jan Hubicka, and it is currently maintained by Zoltan Kovacs \
and J.B. Langston. Countless other improvements have been contributed by \
volunteers around the world. You can help improve XaoS, too."
HOMEPAGE="http://xaos.sourceforge.net/"
COPYRIGHT="1996-2020 GNU XaoS Contributors"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://github.com/xaos-project/XaoS/archive/release-$portVersion.zip"
CHECKSUM_SHA256="ac96eeac990da3a7377d7a209c49a5a794c7be5d45ae4b1fe97ad2d7aa00af51"
SOURCE_FILENAME="xaos-release-$portVersion.zip"
SOURCE_DIR="XaoS-release-$portVersion"
PATCHES="xaos-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
xaos$secondaryArchSuffix = $portVersion
app:XaoS = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:lrelease$secondaryArchSuffix >= 5
cmd:make
cmd:qmake$secondaryArchSuffix
qthaikuplugins$secondaryArchSuffix
"
BUILD()
{
export DEFINES='USE_OPENGL USE_FLOAT128'
qmake PREFIX=$appsDir/XaoS
make $jobArgs
}
INSTALL()
{
mkdir -p $appsDir/XaoS/{bin,catalogs} $manDir/man6
cp bin/xaos $appsDir/XaoS/bin
cp catalogs/*.cat $appsDir/XaoS/catalogs
cp -rf tutorial $appsDir/XaoS/
cp doc/*.6 $manDir/man6
addAppDeskbarSymlink $appsDir/XaoS/bin/xaos XaoS
}