mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
56 lines
1.5 KiB
Bash
56 lines
1.5 KiB
Bash
SUMMARY="A 3D voxel editor for Linux, Haiku and Windows"
|
|
DESCRIPTION="Create fantastic models without knowledge. Just fill the grid \
|
|
with your colors! Save your models in Kovel file (*.kvl) or in COLLADA DAE \
|
|
(only export). See changes in your models in realtime, rotate and scale. \
|
|
Kovel also has infinite undo history (in a same file). Kovel has a command \
|
|
line tool (kovelcli) to automate your work pipeline. Convert all your Kovel \
|
|
files into Collada DAE in a few commands."
|
|
HOMEPAGE="https://github.com/aarroyoc/kovel"
|
|
COPYRIGHT="2015-2016 Adrián Arroyo Calle"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="4"
|
|
SOURCE_URI="$HOMEPAGE/archive/haiku-2016.tar.gz"
|
|
CHECKSUM_SHA256="db2b08d9874b30f5d4b5b4310ddb9f6e7fd1d5689344ad629b3b9b93489c0de4"
|
|
SOURCE_DIR="kovel-haiku-2016"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kovel$secondaryArchSuffix = $portVersion
|
|
app:Kovel$secondaryArchSuffix = $portVersion
|
|
cmd:kovelcli$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbson$secondaryArchSuffix
|
|
lib:libGL$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbson$secondaryArchSuffix
|
|
devel:libGL$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:cmake
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
cmake . -DHAIKU_UI=ON -DLIBBSON_BUILTIN=OFF
|
|
make
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
mkdir -p $binDir
|
|
cp Kovel $appsDir
|
|
cp kovelcli $binDir
|
|
addAppDeskbarSymlink $appsDir/Kovel
|
|
}
|