SUMMARY="A screen recorder utility"
DESCRIPTION="
BeScreenCapture, created by Stefano Ceccherini, is a screen recorder utility \
for Haiku. It allows you to record what happens on your screen, then save it \
to any media format that Haiku supports.
BeScreenCapture can record either the entire screen, or just a section you \
select.
"
HOMEPAGE="https://github.com/jackburton79/bescreencapture"
SOURCE_URI="https://github.com/jackburton79/bescreencapture/archive/v1.9.3.tar.gz"
CHECKSUM_SHA256="02e0a4657161e1cf4c9470d0693b3bd4521b7e001ea7d493c9730ec7315a1a79"
SOURCE_FILENAME="bescreencapture-1.9.3.tar.gz"
LICENSE="
	BSD (3-clause)
	MIT
	"
COPYRIGHT="2013 Stefano Ceccherini"
REVISION="1"
ARCHITECTURES="x86_gcc2 x86 ?x86_64"

PROVIDES="
	bescreencapture = $portVersion
	app:bescreencapture = $portVersion
	"

REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:gcc
	"

BUILD()
{
	make OBJ_DIR=objects \
		BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY`
}

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