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."
HOMEPAGE="https://github.com/HaikuArchives/MeV"
COPYRIGHT="2000-2001 The MeV Team"
LICENSE="MPL v1.1"
REVISION="4"
SOURCE_URI="https://github.com/HaikuArchives/MeV/archive/4920827.zip"
CHECKSUM_SHA256="48e5075f493b476f49c0264dff27bc5408af316bce850004ae5bca721e913c5f"
SOURCE_DIR="MeV-4920827b65291d12155bbfa5d0e6487f2a1cd600"

ARCHITECTURES="?x86 x86_gcc2"

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

BUILD_REQUIRES="
	haiku_devel
	"
BUILD_PREREQUIRES="
	makefile_engine
	cmd:gcc
	cmd:make
	"

BUILD()
{
	sh -e 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
}
