SUMMARY="Deskbar shelf helper for Qt applications"
DESCRIPTION="Qt system tray tools for interaction with Deskbar shelf"
HOMEPAGE="https://github.com/threedeyes/qthaikuplugins/"
COPYRIGHT="2012-2021 Gerasim Troeglazov"
LICENSE="GNU LGPL v2.1
	GNU LGPL v3"
REVISION="1"
SOURCE_URI="https://github.com/threedeyes/qthaikuplugins/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="6156338b7b523c4045b54e3a2e5af99d07def72842083a01758bbdf5799cba27"
SOURCE_DIR="qthaikuplugins-$portVersion"

ARCHITECTURES="all"

PROVIDES="
	qsystray = $portVersion
	cmd:qsystray = $portVersion
	cmd:qnotify = $portVersion
	"
REQUIRES="
	haiku
	"

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	cmd:g++
	cmd:gcc
	cmd:ld
	cmd:make
	"

BUILD()
{
	cd $sourceDir/tools/qsystray
	make $jobArgs

	cd $sourceDir/tools/qnotify
	make $jobArgs
}

INSTALL()
{
	mkdir -p $binDir
	cp tools/qsystray/qsystray $binDir
	cp tools/qnotify/qnotify $binDir
}
