SUMMARY="An onscreen virtual keyboard"
DESCRIPTION="Onscreen virtual keyboard implemented as input_server device addon"
HOMEPAGE="https://github.com/HaikuArchives/ScreenKeyboard"
COPYRIGHT="2013-2014 X512"
LICENSE="MIT"
REVISION="2"
srcGitRev="7b511322bc218879e6380593859ac75412924e52"
SOURCE_URI="https://github.com/diversys/ScreenKeyboard/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="0fc560e84cb442f04c0b074acf3d5698877817a86dbc4a48f7a7ffa9789c25b8"
SOURCE_DIR="ScreenKeyboard-$srcGitRev"

ARCHITECTURES="all"


PROVIDES="
	screenkeyboard = $portVersion
	addon:screen_keyboard
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make $jobArgs OBJ_DIR=objects
}

INSTALL()
{
	mkdir -p $addOnsDir/input_server/devices
	cp objects/screen_keyboard $addOnsDir/input_server/devices
}
