diff --git a/haiku-apps/kovel/kovel-1.0.0.recipe b/haiku-apps/kovel/kovel-1.0.0.recipe new file mode 100644 index 000000000..969988a67 --- /dev/null +++ b/haiku-apps/kovel/kovel-1.0.0.recipe @@ -0,0 +1,55 @@ +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="http://adrianarroyocalle.github.io/kovel/" +COPYRIGHT="2015-2016 Adrián Arroyo Calle" +LICENSE="GNU GPL v2" +REVISION="1" +SOURCE_URI="https://github.com/AdrianArroyoCalle/kovel/archive/haiku-2016.tar.gz" +CHECKSUM_SHA256="db2b08d9874b30f5d4b5b4310ddb9f6e7fd1d5689344ad629b3b9b93489c0de4" +SOURCE_DIR="kovel-haiku-2016" + +ARCHITECTURES="x86 x86_64 !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:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:cmake + 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 +}