SUMMARY="A well featured audio editor"
DESCRIPTION="BeAE is an audio editor with features like silencing, fading \
in/out, analyzing, etc."
HOMEPAGE="https://github.com/HaikuArchives/BeAE" 
SOURCE_URI="git+https://github.com/HaikuArchives/BeAE.git#a90a987"
REVISION="3"
COPYRIGHT="2003 Xentronix"
LICENSE="BSD (3-clause)"
ARCHITECTURES="x86_gcc2 !x86 ?x86_64"
SECONDARY_ARCHITECTURES="!x86"

PROVIDES="
	beae = $portVersion
	app:BeAE = $portVersion
	"
REQUIRES="
	haiku$secondaryArchSuffix
	"
BUILD_REQUIRES="
	haiku${secondaryArchSuffix}_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:make
	cmd:cmake
	cmd:gcc$secondaryArchSuffix
	cmd:ld$secondaryArchSuffix
	"
SOURCE_DIR=beae-1.2

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

INSTALL()
{
	mkdir -p $appsDir/BeAE
	cp -r BeAE $appsDir
	rm -rf $appsDir/BeAE/license.txt $appsDir/BeAE/Samples
	addAppDeskbarSymlink $appsDir/BeAE/BeAE
}
