1SUMMARY="A Cloud Rendering Tool for Animation Production" 2DESCRIPTION="KumoWorks is a software for making cloud scenery. \ 3It generates cloud image according to a silhouette you draw. \ 4We aim to develop a useful tool for creating background art or \ 5color script for animation production." 6HOMEPAGE="https://opentoonz.github.io/e/download/kumoworks.html" 7COPYRIGHT="Takumi Tanji" 8LICENSE="BSD (3-clause)" 9REVISION="1" 10srcGitRev="2f9019afb85dd9709ad1bd42e49c1d9be3cc4b9d" 11SOURCE_URI="https://github.com/opentoonz/kumoworks/archive/$srcGitRev.tar.gz" 12CHECKSUM_SHA256="306096728b5c37db40620c734942e2f24d6699a4ef496a00134c76691032dbae" 13SOURCE_DIR="kumoworks-$srcGitRev" 14PATCHES="kumoworks-$portVersion.patchset" 15ADDITIONAL_FILES="kumoworks.rdef.in" 16 17ARCHITECTURES="all !x86_gcc2" 18SECONDARY_ARCHITECTURES="x86" 19 20PROVIDES=" 21 kumoworks$secondaryArchSuffix = $portVersion 22 app:KumoWorks$secondaryArchSuffix = $portVersion 23 " 24REQUIRES=" 25 haiku$secondaryArchSuffix 26 lib:libGL$secondaryArchSuffix 27 lib:libQt5Core$secondaryArchSuffix 28 lib:libQt5Gui$secondaryArchSuffix 29 lib:libQt5Widgets$secondaryArchSuffix 30 " 31 32BUILD_REQUIRES=" 33 haiku${secondaryArchSuffix}_devel 34 devel:libfreetype$secondaryArchSuffix 35 devel:libGL$secondaryArchSuffix 36 devel:libQt5Core$secondaryArchSuffix 37 devel:libQt5Gui$secondaryArchSuffix 38 devel:libQt5Widgets$secondaryArchSuffix 39 " 40BUILD_PREREQUIRES=" 41 cmd:g++$secondaryArchSuffix 42 cmd:cmake 43 cmd:make 44 cmd:pkg_config$secondaryArchSuffix 45 cmd:lrelease$secondaryArchSuffix >= 5 46 " 47 48BUILD() 49{ 50 mkdir -p build 51 cd build 52 cmake ../sources -DCMAKE_INSTALL_PREFIX=$appsDir/KumoWorks 53 make $jobArgs 54} 55 56INSTALL() 57{ 58 mkdir -p $appsDir/KumoWorks/{config/ini,config/loc,licenses} 59 cp build/KumoWorks $appsDir/KumoWorks 60 cp misc/ini/cloudpreset.ini $appsDir/KumoWorks/config/ini 61 cp misc/licenses/* $appsDir/KumoWorks/licenses 62 cp sources/loc/* $appsDir/KumoWorks/config/loc 63 64 local APP_SIGNATURE="application/x-vnd.kumoworks" 65 local MAJOR="`echo "$portVersion" | cut -d. -f1`" 66 local MIDDLE="`echo "$portVersion" | cut -d. -f2`" 67 local MINOR="`echo "$portVersion" | cut -d. -f3 | cut -d~ -f1`" 68 local LONG_INFO="$SUMMARY" 69 sed \ 70 -e "s|@APP_SIGNATURE@|$APP_SIGNATURE|" \ 71 -e "s|@MAJOR@|$MAJOR|" \ 72 -e "s|@MIDDLE@|$MIDDLE|" \ 73 -e "s|@MINOR@|$MINOR|" \ 74 -e "s|@LONG_INFO@|$LONG_INFO|" \ 75 $portDir/additional-files/kumoworks.rdef.in > kumoworks.rdef 76 77 addResourcesToBinaries kumoworks.rdef $appsDir/KumoWorks/KumoWorks 78 79 addAppDeskbarSymlink $appsDir/KumoWorks/KumoWorks 80} 81