SUMMARY="A basic video editing software"
DESCRIPTION="VirtualBeLive is a software for video editing. It supports basic \
transitions, cutting and a few effects."
HOMEPAGE="https://github.com/HaikuArchives/VirtualBeLive"
COPYRIGHT="Public Domain"
LICENSE="Public Domain"
REVISION="1"
srcGitRev="23bea51c5848d3c4a4e65b316eb016ed839151f3"
SOURCE_URI="https://github.com/HaikuArchives/VirtualBeLive/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="e4e853816b66f76d60deaa801a65ce7440f5c3e47eaef0fcfc5d3c2bb393a400"
SOURCE_DIR="VirtualBeLive-$srcGitRev"

ARCHITECTURES="x86_gcc2"

PROVIDES="
	virtualbelive = $portVersion
	app:VirtualBeLive = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

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