SUMMARY="A triggered oscilloscope application"
DESCRIPTION="QScope, a digital oscilloscope for the ADC and DAC sound streams."
APP="QScope"
HOMEPAGE="https://github.com/HaikuArchives/$APP"
COPYRIGHT="1998 Christian Bauer"
LICENSE="MIT"
REVISION="1"
srcGitRev="27a2a7ab5c3093d15092201df8c6b7b6164d7268"
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="9ff302aa5d0eed8957c975f433de7d8b78ec4f8de576737eeea6bc0e0b43fcda"
SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz"
SOURCE_DIR="$APP-$srcGitRev"

ARCHITECTURES="!all x86_gcc2"

PROVIDES="
	qscope = $portVersion
	app:$APP = $portVersion
	"
REQUIRES="
	haiku
	"

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

BUILD()
{
	make -C src OBJ_DIR=objects $jobArgs
}

INSTALL()
{
	install -d $appsDir
	install src/objects/$APP $appsDir
	addAppDeskbarSymlink $appsDir/$APP
}
