SUMMARY="A MIDI/music sequencer"
DESCRIPTION="MeV is based on a MIDI sequencer developed by Talin. \
The long term goal is to completely separate the sequencer \
framework & engine from the handling of specific media types."
LICENSE="MPL v1.1"
COPYRIGHT="2000-2001 The MeV Team"
HOMEPAGE="https://github.com/HaikuArchives/MeV" 
SOURCE_URI="git+https://github.com/HaikuArchives/MeV.git#0e14d24"
REVISION="2"
ARCHITECTURES="?x86 x86_gcc2"

PROVIDES="
	mev = $portVersion
	app:MeV = $portVersion
	"

BUILD_REQUIRES="
	haiku_devel
	"

BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	build.sh
	addattr -t mime BEOS:TYPE application/x-vnd.BeUnited.MeV-Document app/songs/*
}

INSTALL()
{
	mkdir -p $appsDir/MeV
	cp -r app/* $appsDir/MeV
	addAppDeskbarSymlink $appsDir/MeV/MeV
}
