SUMMARY="A small stop-motion tool"
DESCRIPTION="Animator is a small and simple stop-motion animation demo where \
users can drag images into the window to add animation frames, set their \
preferred delay times and loop count, and enjoy their little creation!"
HOMEPAGE="https://github.com/HaikuArchives/Animator"
COPYRIGHT="2000 Jonathan Villemure"
LICENSE="Unknown"
REVISION="1"
srcGitRev="9df1808714268c76c2cc917db5a5fd0abbb1b076"
SOURCE_URI="https://github.com/HaikuArchives/Animator/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="c6a3b58dd7259c25c87a8a6ec3a4a53f28e903f3ee3966750b18d7b5e1a3d83e"
SOURCE_FILENAME="Animator-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="Animator-$srcGitRev"
PATCHES="animator-$portVersion.patchset"

ARCHITECTURES="!all"

PROVIDES="
	animator = $portVersion
	app:Animator = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:g++
	cmd:make
	"

BUILD()
{
	make -C source OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $appsDir
	cp source/objects/Animator $appsDir
	addAppDeskbarSymlink $appsDir/Animator
}
